Generic geometry path properties.
| Enumerator |
|---|
| kGeometryPathProp_CacheInternalPathStructures | Cache the internal path structures to speed up the operations Current implementations uses given property as:
1) Direct2D based geometry paths: no usage, property not implemented
2) SKIA based geometry paths: Each SKIA based paths can hold a region inside, which will be used for some operations, mostly for Combine method. By default this region will be cached to speed up the performance This can take some additional memory.
kSDKAnyType_Bool
|
| kGeometryPathProp_UseHigherAccuracyMethods | Try to use higher accuracy methods (performance issue) Current implementations uses given property as:
Direct2D/SKIA based geometry paths, Combine method: In case Combine called with AND operation and given path bounds exceeds some predefined limits, at first given path will be intersected with bounds of input path and only after that the result of such intersection will be intersected with input path again. This will give a more accurate result but decrease performance.
kSDKAnyType_Bool
|
| kGeometryPathProp_MaxMemoryAmountForRegionOperations | Max memory amount to use for path operations (in megabytes, 128 megabytes by default) Current implementations uses given property as:
1) Direct2D based geometry paths: no usage, property not implemented
2) SKIA based geometry paths: Some operations require to transform path into region. Given property controls the memory allocation size for region conversion operations. The smaller amount give less accuracy, but better performance, the bigger amount increases accuracy, but lowers performance.
kSDKAnyType_Uint32
|
| kGeometryPathProp_MaxAttemptsToBuildRegionFromPath | Max number of attempt to build a region for path Current implementations uses given property as:
1) Direct2D based geometry paths: no usage, property not implemented
2) SKIA based geometry paths: Some operations require to transform path into region. Given property describes max number of attempts to build region for given path according to max memory to use limit. If attempt to build region will fail, the original path data accuracy will be decreased and attempt will be repeated. If number of attempts will be more, than given property value, the operation will be failed.
kSDKAnyType_Uint32
|
| kGeometryPathProp_AdjustRegionRectanglesByOne | If value > 0: After converting a path to the region increase each of the region rectangles max corner coordinate by one to compensate a rounding shrinking; makes the region "fatter".
If value < 0: Increase each of the region rectangles min corner coordinate by one; makes the region "thinner". If value == 0: Do nothing with a region.
kSDKAnyType_Int32
|
| kGeometryPathProp_HigherAccuracyMethodThreshold | Threshold to use higher accuracy method instead of default one See kGeometryPathProp_UseHigherAccuracyMethods Given value describes max width/height of path bounding box to use normal accuracy methods, if one of dimensions exceeds given threshold - higher accuracy method will be used instead.
kSDKAnyType_UInt32
|
| kGeometryPathProp_PointsCount | Total number of points in a path Current implementations uses given property as:
1) Direct2D based geometry paths: no usage, property not implemented
2) SKIA based geometry paths: implemented.
kSDKAnyType_Uint32
|
| kGeometryPathProp_Complexity | Complexity - ie presence in a path arcs, splines, etc. Current implementations uses given property as:
1) Direct2D based geometry paths: no usage, property not implemented
2) SKIA based geometry paths: implemented.
kSDKAnyType_Uint32
|