![]() |
NAVTOR SDK
v.3.0
Software Development Kit for fast and efficient development of ECDIS, ECS and generic marine applications
|
Geometry path editor. More...
Data Structures | |
| class | I2DGeometryPathEditor |
| Allows to edit the geometry path by adding geometric primitives, like line, Bezier curves, etc. More... | |
Enumerations | |
| enum | GeometryFillModeType { GeometryFillModeType_Unknown = 0x0, GeometryFillModeType_EvenOdd = 0x1, GeometryFillModeType_Winding = 0x2 } |
| Geometry fill mode. More... | |
| enum | GeometryPathEditorProps { kGeometryPathEditorProp_ApproximateQuadraticBeziersByLines = 0, kGeometryPathEditorProp_ApproximateCubicBeziersByLines = 1, kGeometryPathEditorProp_ImplementationSpecificBase = 0x10000, kSkiaGeometryPathEditorProp_AddLinesMode = kGeometryPathEditorProp_ImplementationSpecificBase + 1, kSkiaGeometryPathEditorProp_DefaultAddLinesMode = 0, kSkiaGeometryPathEditorProp_AddClosedPolyMode = 1, kSkiaGeometryPathEditorProp_AddOpenedPolyMode = 2 } |
| Geometry path editor properties. More... | |
| enum | GeometryFinishFigureRule { GeometryFinishFigureRule_LeaveOpened = 0x0, GeometryFinishFigureRule_CloseFigure = 0x1 } |
| Figure finish rule (see I2DGeometryPathEditor::FinishFigure) More... | |
Functions | |
| static bool | Is2DCoordinateInfinite (const float &coord) |
| Checks, if given 2D coordinate value is infinite. | |
Variables | |
| static const float | k2DInfiniteCoordinate = SDK_MAX_FLOAT / 10.0f |
| Infinite value for Ox/Oy coordinate, if at least one of coordinates is equal or bigger than infinity value, the path is infinite. | |
Geometry path editor.
| enum GeometryFillModeType |
Geometry path editor properties.
Figure finish rule (see I2DGeometryPathEditor::FinishFigure)
| Enumerator | |
|---|---|
| GeometryFinishFigureRule_LeaveOpened | Figure should be opened. |
| GeometryFinishFigureRule_CloseFigure | Figure should be closed. |