![]() |
NAVTOR SDK
v.3.0
Software Development Kit for fast and efficient development of ECDIS, ECS and generic marine applications
|
Allows to edit the geometry path by adding geometric primitives, like line, Bezier curves, etc. More...
#include <base/inc/platform.h>#include <base/inc/base_types.h>#include <base/inc/sdk_component_interface.h>#include <base/inc/interfaces/properties/properties_interface.h>#include <base/inc/geometry/geometry_base_types.h>#include "2d_geometry_objects.h"Go to the source code of this file.
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. | |
Allows to edit the geometry path by adding geometric primitives, like line, Bezier curves, etc.
Copyright (c) 2011 The NAVTOR SDK. All Rights Reserved.