NAVTOR SDK  v.3.0
Software Development Kit for fast and efficient development of ECDIS, ECS and generic marine applications
I2DGraphicsPathEditor Class Referenceabstract

Allows to edit the graphics path by adding geometric primitives, like line, Bezier curves, etc. More...

#include <2d_graphics_path_editor_interface.h>

Inheritance diagram for I2DGraphicsPathEditor:
ISDKProperties

Public Member Functions

virtual SDKResult SDK_CALLTYPE SetFillMode (const sdk::gfx::FillModeType &fill_mode_type)=0 throw ()
 Set ups the fill mode type.
 
virtual SDKResult SDK_CALLTYPE GetFillMode (sdk::gfx::FillModeType &fill_mode_type) const =0 throw ()
 Returns current fill mode type in use.
 
virtual SDKResult SDK_CALLTYPE StartFigure (const SDKPointF2D &start_point, const sdk::gfx::StartFigureStyle &style)=0 throw ()
 Starts a new figure.
 
virtual SDKResult SDK_CALLTYPE FinishFigure (const sdk::gfx::FinishFigureRule &rule)=0 throw ()
 Finishes previously 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.
 

Detailed Description

Allows to edit the graphics path by adding geometric primitives, like line, Bezier curves, etc.


The documentation for this class was generated from the following file: