 |
NAVTOR SDK
v.3.0
Software Development Kit for fast and efficient development of ECDIS, ECS and generic marine applications
|
|
Go to the documentation of this file. 1 #ifndef SDK_2D_RENDER_TARGET_BRUSH_INTERFACE_H_
11 #define SDK_2D_RENDER_TARGET_BRUSH_INTERFACE_H_
16 #include "2d_graphics_objects.h"
27 virtual SDKResult SDK_CALLTYPE
GetParent(sdk::gfx::RenderTargetSP& parent)
const throw() = 0;
47 #endif // SDK_2D_RENDER_TARGET_BRUSH_INTERFACE_H_
virtual SDKResult SDK_CALLTYPE GetTransform(SDKMatrix3X2 &transformation_matrix)=0
Returns current brush transformation matrix.
Brush for drawing graphics path by the render target.
Definition: 2d_render_target_brush_interface.h:23
virtual SDKResult SDK_CALLTYPE GetParent(sdk::gfx::RenderTargetSP &parent) const =0
Returns the parent render target instance, which created the given instance.
SDKInt32 SDKResult
Type of all error or return codes which SDK functions can end with.
Definition: sdk_results.h:17
Common base SDK interfaces.
virtual SDKResult SDK_CALLTYPE GetOpacity(float &opacity)=0
Returns current brush opacity value.
virtual SDKResult SDK_CALLTYPE SetTransform(const SDKMatrix3X2 &transformation_matrix)=0
Sets the transformation matrix for brush.
virtual SDKResult SDK_CALLTYPE SetOpacity(const float &opacity)=0
Sets opacity value for brush.