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

Creates a render target for the Direct2D or SKIA backends. More...

#include <2d_render_target_factory_interface.h>

Inherits ISDKComponent.

Public Member Functions

virtual SDKResult SDK_CALLTYPE SetMultiThreadedSupport (bool is_multithreaded_usage)=0 throw ()
 Sets the flag state, which allows to use the objects from multi-threaded environment.
 
virtual SDKResult SDK_CALLTYPE GetMultiThreadedSupport (bool &is_multithreaded_usage) const =0 throw ()
 Returns the multi-threaded support state flag.
 
virtual SDKResult SDK_CALLTYPE GetCustomFontRegistrar (CustomFontRegistrarSP &font_registrar)=0 throw ()
 Returns custom font registrar.
 
virtual SDKResult SDK_CALLTYPE CreateRenderTarget2D (const sdk::gfx::RenderTarget2DType &type, const sdk::gfx::RenderTargetInitSettingsSP &settings, sdk::gfx::RenderTargetSP &render_target)=0 throw ()
 Creates a new 2D render target by using specified type and settings.
 
virtual SDKResult SDK_CALLTYPE CreateGraphicsPath (sdk::gfx::GraphicsPathSP &path)=0 throw ()
 Creates new graphics path instance.
 
virtual SDKResult SDK_CALLTYPE CreateGraphicsPathFromGeometryPath (const sdk::geometry::GeometryPathSP &geometry_path, sdk::gfx::GraphicsPathSP &new_path)=0 throw ()
 Creates new graphics path instance from geometry path.
 
virtual SDKResult SDK_CALLTYPE CreateRectGraphicsPath (const SDKRectF2D &rect, sdk::gfx::GraphicsPathSP &path)=0 throw ()
 Creates a new graphics path with rectangle geometry inside.
 
virtual SDKResult SDK_CALLTYPE CreateRoundRectGraphicsPath (const SDKRoundRectF2D &round_rect, sdk::gfx::GraphicsPathSP &path)=0 throw ()
 Creates a new graphics path with rounded rectangle geometry inside.
 
virtual SDKResult SDK_CALLTYPE CreateEllipseGraphicsPath (const SDKEllipseF2D &ellipse, sdk::gfx::GraphicsPathSP &path)=0 throw ()
 Creates a new graphics path with ellipse geometry inside.
 
virtual SDKResult SDK_CALLTYPE CreateSoftwareTexture (const sdk::vis::scene::TextureFormat &format, const SDKSize &size, sdk::vis::scene::ITextureSP &texture)=0 throw ()
 Creates software based texture.
 

Detailed Description

Creates a render target for the Direct2D or SKIA backends.


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