NAVTOR SDK  v.3.0
Software Development Kit for fast and efficient development of ECDIS, ECS and generic marine applications
2d_geometry_path_editor_interface.h File Reference

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

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.
 

Detailed Description

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

Copyright (c) 2011 The NAVTOR SDK. All Rights Reserved.

Author
The NAVTOR SDK authors.
Date
01/2012
Maintenance:
The NAVTOR SDK authors.