Changeset View
Changeset View
Standalone View
Standalone View
libs/flake/KoPathShape_p.h
Show First 20 Lines • Show All 50 Lines • ▼ Show 20 Line(s) | 28 | public: | |||
---|---|---|---|---|---|
51 | * This attribute contains of a string which has the node type of each point | 51 | * This attribute contains of a string which has the node type of each point | ||
52 | * in it. The following node types exist: | 52 | * in it. The following node types exist: | ||
53 | * | 53 | * | ||
54 | * c corner | 54 | * c corner | ||
55 | * s smooth | 55 | * s smooth | ||
56 | * z symmetric | 56 | * z symmetric | ||
57 | * | 57 | * | ||
58 | * The first point of a path is always of the type c. | 58 | * The first point of a path is always of the type c. | ||
59 | * If the path is closed the type of the first point is saved in the last elemeent | 59 | * If the path is closed the type of the first point is saved in the last element | ||
60 | * E.g. you have a closed path with 2 points in it. The first one (start/end of path) | 60 | * E.g. you have a closed path with 2 points in it. The first one (start/end of path) | ||
61 | * is symmetric and the second one is smooth that will result in the nodeType="czs" | 61 | * is symmetric and the second one is smooth that will result in the nodeType="czs" | ||
62 | * So if there is a closed sub path the nodeTypes contain one more entry then there | 62 | * So if there is a closed sub path the nodeTypes contain one more entry then there | ||
63 | * are points. That is due to the first and the last point of a closed sub path get | 63 | * are points. That is due to the first and the last point of a closed sub path get | ||
64 | * merged into one when they are on the same position. | 64 | * merged into one when they are on the same position. | ||
65 | * | 65 | * | ||
66 | * @return The node types as string | 66 | * @return The node types as string | ||
67 | */ | 67 | */ | ||
Show All 35 Lines |