![]() |
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 <2d_geometry_path_editor_interface.h>
Public Member Functions | |
| virtual SDKResult SDK_CALLTYPE | SetFillMode (const sdk::geometry::GeometryFillModeType &fill_mode_type)=0 throw () |
| Set ups the geometry fill mode type. | |
| virtual SDKResult SDK_CALLTYPE | GetFillMode (sdk::geometry::GeometryFillModeType &fill_mode_type) const =0 throw () |
| Returns current geometry fill mode type in use. | |
| virtual SDKResult SDK_CALLTYPE | StartFigure (const SDKPointF2D &start_point)=0 throw () |
| Starts a new geometric figure. | |
| virtual SDKResult SDK_CALLTYPE | FinishFigure (const sdk::geometry::GeometryFinishFigureRule &rule)=0 throw () |
| Finishes previously started figure. | |
| virtual SDKResult SDK_CALLTYPE | GetFigureLastPoint (SDKPointF2D &figure_last_point) const =0 throw () |
| Returns last(current) point for currently started figure. | |
| virtual SDKResult SDK_CALLTYPE | AddLine (const SDKPointF2D &point)=0 throw () |
| Adds new line to figure between current and specified points. | |
| virtual SDKResult SDK_CALLTYPE | AddLines (const SDKPointF2D *points, const SDKUInt32 &points_count)=0 throw () |
| Adds a set of connected lines to currently started figure. | |
| virtual SDKResult SDK_CALLTYPE | AddQuadraticBezier (const SDKQBezierSegment &segment)=0 throw () |
| Adds new quadratic Bezier curve segment to currently started figure. | |
| virtual SDKResult SDK_CALLTYPE | AddQuadraticBeziers (const SDKQBezierSegment *segments, const SDKUInt32 &segments_count)=0 throw () |
| Adds set of quadratic Bezier curves to currently started figure. | |
| virtual SDKResult SDK_CALLTYPE | AddCubicBezier (const SDKCuBezierSegment &segment)=0 throw () |
| Adds new cubic Bezier curve segment to currently started figure. | |
| virtual SDKResult SDK_CALLTYPE | AddCubicBeziers (const SDKCuBezierSegment *segments, const SDKUInt32 &segments_count)=0 throw () |
| Adds set of cubic Bezier curves to currently started figure. | |
Public Member Functions inherited from ISDKProperties | |
| virtual SDKResult SDK_CALLTYPE | SetProperty (const SDKPropertyID &id, const SDKAny &value)=0 throw () |
| Sets a property value. | |
| virtual SDKResult SDK_CALLTYPE | GetProperty (const SDKPropertyID &id, SDKAny &value) const =0 throw () |
| Retrieves a property value. | |
Allows to edit the geometry path by adding geometric primitives, like line, Bezier curves, etc.