NAVTOR SDK  v.3.0
Software Development Kit for fast and efficient development of ECDIS, ECS and generic marine applications
2d_render_target_init_settings_interface.h
Go to the documentation of this file.
1 #ifndef SDK_2D_RENDER_TARGET_INIT_SETTINGS_INTERFACE_H_
11 #define SDK_2D_RENDER_TARGET_INIT_SETTINGS_INTERFACE_H_
12 
13 #include <base/inc/platform.h>
14 #include <base/inc/base_types.h>
17 #include "2d_graphics_objects.h"
18 
19 namespace sdk {
20 namespace gfx {
21 
24 // Direct2D specific
25 static const wchar_t kD2D1RenderTargetTypeProp[] = L"D2D1RenderTargetTypeProp";
26 static const wchar_t kD2D1DXGIFormatProp[] = L"D2D1DXGIFormatProp";
27 static const wchar_t kD2D1AlphaModeProp[] = L"D2D1AlphaModeProp";
28 static const wchar_t kD2D1dpiXYProp[] = L"D2D1dpiXYProp";
29 static const wchar_t kD2D1RenderTargetUsageProp[] = L"D2D1RenderTargetUsageProp";
30 static const wchar_t kD2D1FeatureLevelProp[] = L"D2D1FeatureLevelPropProp";
31 static const wchar_t kD2D1HWNDProp[] = L"D2D1HWNDProp";
32 static const wchar_t kD2D1SizeUWidthProp[] = L"D2D1SizeUWidthProp";
33 static const wchar_t kD2D1SizeUHeightProp[] = L"D2D1SizeUHeightProp";
34 static const wchar_t kD2D1PresentOptionsProp[] = L"D2D1PresentOptionsProp";
35 static const wchar_t kD2D1DXGISurfaceProp[] = L"D2D1DXGISurfaceProp";
36 
37 // Google SKIA specific
38 static const wchar_t kSKIAOsDisplayProp[] = L"SKIAOsDisplayProp";
39 static const wchar_t kSKIAOsWindowProp[] = L"SKIAOsWindowProp";
40 static const wchar_t kSKIAOsVisualInfoProp[] = L"SKIAOsVisualInfoProp";
41 static const wchar_t kSKIADeviceContextProp[] = L"SKIADeviceContextProp";
42 static const wchar_t kSKIAOpenGLContextProp[] = L"SKIAOpenGLContextProp";
43 static const wchar_t kSKIAViewportWidthProp[] = L"SKIAViewportWidthProp";
44 static const wchar_t kSKIAViewportHeightProp[] = L"SKIAViewportHeightProp";
45 static const wchar_t kSKIAPixelFormatProp[] = L"SKIAPixelFormatProp";
46 static const wchar_t kSKIASamplesCountProp[] = L"SKIASamplesCountProp";
47 static const wchar_t kSKIAStencilBitsProp[] = L"SKIAStencilBitsProp";
48 static const wchar_t kSKIAFBOIDProp[] = L"SKIAFBOIDProp";
49 static const wchar_t kSKIATextureIDProp[] = L"SKIATextureIDProp";
50 static const wchar_t kSKIATextureProp[] = L"SKIATextureProp";
51 
53 
57 {
58  public:
60  // virtual SDKResult SetProperty(const SDKString& id,
61  // const SDKAny& value) throw() = 0;
62  // virtual SDKResult GetProperty(const SDKString& id,
63  // SDKAny& value) const throw() = 0;
64 
66  SDK_IMPLEMENT_IID(I2DRenderTargetInitSettings)
67  SDK_END_INTERFACE(I2DRenderTargetInitSettings)
68 };
69 SDK_DECLARE_IID(I2DRenderTargetInitSettings)
70 } // namespace gfx
71 } // namespace sdk
72 
73 #endif // SDK_2D_RENDER_TARGET_INIT_SETTINGS_INTERFACE_H_
sdk::gfx::kD2D1DXGIFormatProp
static const wchar_t kD2D1DXGIFormatProp[]
Pre-defined named property id for initial settings.
Definition: 2d_render_target_init_settings_interface.h:26
sdk::gfx::kSKIAPixelFormatProp
static const wchar_t kSKIAPixelFormatProp[]
Pre-defined named property id for initial settings.
Definition: 2d_render_target_init_settings_interface.h:45
base_types.h
SDK base types.
sdk::gfx::kSKIAOsWindowProp
static const wchar_t kSKIAOsWindowProp[]
Pre-defined named property id for initial settings.
Definition: 2d_render_target_init_settings_interface.h:39
sdk::gfx::kSKIAStencilBitsProp
static const wchar_t kSKIAStencilBitsProp[]
Pre-defined named property id for initial settings.
Definition: 2d_render_target_init_settings_interface.h:47
sdk::gfx::kSKIATextureIDProp
static const wchar_t kSKIATextureIDProp[]
Pre-defined named property id for initial settings.
Definition: 2d_render_target_init_settings_interface.h:49
sdk::gfx::kD2D1SizeUHeightProp
static const wchar_t kD2D1SizeUHeightProp[]
Pre-defined named property id for initial settings.
Definition: 2d_render_target_init_settings_interface.h:33
sdk::gfx::kD2D1dpiXYProp
static const wchar_t kD2D1dpiXYProp[]
Pre-defined named property id for initial settings.
Definition: 2d_render_target_init_settings_interface.h:28
sdk::gfx::kSKIAOpenGLContextProp
static const wchar_t kSKIAOpenGLContextProp[]
Pre-defined named property id for initial settings.
Definition: 2d_render_target_init_settings_interface.h:42
sdk::gfx::kSKIADeviceContextProp
static const wchar_t kSKIADeviceContextProp[]
Pre-defined named property id for initial settings.
Definition: 2d_render_target_init_settings_interface.h:41
sdk::gfx::kD2D1HWNDProp
static const wchar_t kD2D1HWNDProp[]
Pre-defined named property id for initial settings.
Definition: 2d_render_target_init_settings_interface.h:31
sdk::gfx::kD2D1RenderTargetUsageProp
static const wchar_t kD2D1RenderTargetUsageProp[]
Pre-defined named property id for initial settings.
Definition: 2d_render_target_init_settings_interface.h:29
sdk::gfx::kSKIATextureProp
static const wchar_t kSKIATextureProp[]
Pre-defined named property id for initial settings.
Definition: 2d_render_target_init_settings_interface.h:50
sdk::gfx::kD2D1RenderTargetTypeProp
static const wchar_t kD2D1RenderTargetTypeProp[]
Pre-defined named property id for initial settings.
Definition: 2d_render_target_init_settings_interface.h:25
sdk::gfx::kD2D1DXGISurfaceProp
static const wchar_t kD2D1DXGISurfaceProp[]
Pre-defined named property id for initial settings.
Definition: 2d_render_target_init_settings_interface.h:35
sdk::gfx::kSKIAOsDisplayProp
static const wchar_t kSKIAOsDisplayProp[]
Pre-defined named property id for initial settings.
Definition: 2d_render_target_init_settings_interface.h:38
sdk::gfx::kSKIAFBOIDProp
static const wchar_t kSKIAFBOIDProp[]
Pre-defined named property id for initial settings.
Definition: 2d_render_target_init_settings_interface.h:48
sdk::gfx::kD2D1PresentOptionsProp
static const wchar_t kD2D1PresentOptionsProp[]
Pre-defined named property id for initial settings.
Definition: 2d_render_target_init_settings_interface.h:34
sdk_component_interface.h
Common base SDK interfaces.
sdk::ISDKNamedProperties
Provides access to members that control the named properties.
Definition: named_properties_interface.h:29
platform.h
Describes the platform constants.
sdk::gfx::kSKIASamplesCountProp
static const wchar_t kSKIASamplesCountProp[]
Pre-defined named property id for initial settings.
Definition: 2d_render_target_init_settings_interface.h:46
sdk::gfx::kD2D1AlphaModeProp
static const wchar_t kD2D1AlphaModeProp[]
Pre-defined named property id for initial settings.
Definition: 2d_render_target_init_settings_interface.h:27
sdk::gfx::kSKIAViewportHeightProp
static const wchar_t kSKIAViewportHeightProp[]
Pre-defined named property id for initial settings.
Definition: 2d_render_target_init_settings_interface.h:44
sdk::gfx::kD2D1FeatureLevelProp
static const wchar_t kD2D1FeatureLevelProp[]
Pre-defined named property id for initial settings.
Definition: 2d_render_target_init_settings_interface.h:30
named_properties_interface.h
Object generic named properties interface.
sdk::gfx::kD2D1SizeUWidthProp
static const wchar_t kD2D1SizeUWidthProp[]
Pre-defined named property id for initial settings.
Definition: 2d_render_target_init_settings_interface.h:32
sdk::gfx::I2DRenderTargetInitSettings
Base interface for initialization of new Render Target.
Definition: 2d_render_target_init_settings_interface.h:56
sdk::gfx::kSKIAOsVisualInfoProp
static const wchar_t kSKIAOsVisualInfoProp[]
Pre-defined named property id for initial settings.
Definition: 2d_render_target_init_settings_interface.h:40
sdk::gfx::kSKIAViewportWidthProp
static const wchar_t kSKIAViewportWidthProp[]
Pre-defined named property id for initial settings.
Definition: 2d_render_target_init_settings_interface.h:43