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

Graphics path primitive, that can be drawn by the render target. More...

#include <2d_graphics_path_interface.h>

Inheritance diagram for I2DGraphicsPath:
ISDKProperties

Public Member Functions

virtual SDKResult SDK_CALLTYPE GetParent (sdk::gfx::RenderTargetFactorySP &parent) const =0 throw ()
 Returns the parent factory instance, which created the given instance.
 
virtual SDKResult SDK_CALLTYPE StartEdit (sdk::gfx::GraphicsPathEditorSP &editor)=0 throw ()
 Returns the path editor, which allows to add geometric primitives to graphics path Some implementations allows to call for start edit only once! (Direct2D)
 
virtual SDKResult SDK_CALLTYPE FinishEdit ()=0 throw ()
 Finishes the edit process by appending new data to existing graphics path.
 
virtual SDKResult SDK_CALLTYPE Transform (const SDKMatrix3X2 &transformation_matrix, sdk::gfx::GraphicsPathSP &transformed_path) const =0 throw ()
 Transforms the graphics path by using transformation matrix New transformed path will be generated after operation.
 
virtual SDKResult SDK_CALLTYPE Combine (const sdk::gfx::GraphicsPathSP &input_path, const SDKMatrix3X2 &input_path_transformation_matrix, const sdk::gfx::PathCombineMode &combine_mode, sdk::gfx::GraphicsPathSP &combined_path) const =0 throw ()
 Combines the given graphics path with specified and generates a new path object, which contains combined geometries of graphic paths.
 
virtual SDKResult SDK_CALLTYPE Compare (const sdk::gfx::GraphicsPathSP &input_path, const SDKMatrix3X2 &input_path_transformation_matrix, sdk::gfx::PathCompareResult &compare_result) const =0 throw ()
 Compares the given graphics path with specified.
 
virtual SDKResult SDK_CALLTYPE Simplify (const sdk::gfx::PathSimplifyMode &simplify_mode, const SDKMatrix3X2 &transformation_matrix, sdk::gfx::GraphicsPathSP &simplified_path) const =0 throw ()
 Simplifies the given graphics path by replacing all of curves, by lines and optionally cubic Bezier curves.
 
virtual SDKResult SDK_CALLTYPE CalcBounds (const SDKMatrix3X2 &transformation_matrix, SDKRectF2D &bounds) const =0 throw ()
 Calculates the path bounding rectangle.
 
virtual SDKResult SDK_CALLTYPE FastCalcBounds (const SDKMatrix3X2 &transformation_matrix, SDKRectF2D &bounds) const =0 throw ()
 Calculates the graphics path bounding rectangle Inaccurate, but fast algorithm, for exact bounds use CalcBounds method.
 
- 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

Graphics path primitive, that can be drawn by the render target.


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