摘要 |
Methods of rendering graphics include defining one or more paths from a plurality of commands. The commands include corresponding coordinates and pen actions, and the commands generate sub-paths or curve segments. The methods include applying geometric transformations to map the paths from an object space to a render surface. The methods include binding the paths to a path input stage, and stroking the paths bound to the path input stage based on a stroke style. The stroke style includes stroke parameters, stroke state and dash patterns. The stroke parameters include stroke width, color, and pattern scale. |