![]() |
NAVTOR SDK
v.3.0
Software Development Kit for fast and efficient development of ECDIS, ECS and generic marine applications
|
Definition of 2D Scene backend interfaces. More...
#include <base/inc/platform.h>#include <base/inc/base_types.h>#include <base/inc/sdk_component_interface.h>#include <base/inc/sdk_ref_ptr.h>#include <base/inc/interfaces/properties/properties_interface.h>#include <base/inc/interfaces/parameters/parameters_interface.h>#include <base/inc/geometry/geometry_base_types_helpers.h>#include <base/inc/math/matrix4x4.h>#include "graphic_context_interface.h"Go to the source code of this file.
Data Structures | |
| class | IBackendInitialParameters |
| Initial settings to create an appropriate backend by factory. More... | |
| class | IBackendFactory |
| Factory for all graphic context implementations. More... | |
| class | IBackend |
| 2D Scene backend - presents scene layers to the window | widget | texture... (Platform dependent) More... | |
| class | IBackendEvents |
| Generic backend events. More... | |
Enumerations | |
| enum | BackendType { kBackendType_Window, kBackendType_Texture } |
| The backend type. More... | |
| enum | BackendPropertyIDs { kBackendProperty_BackgroundColor, kBackendProperty_Width, kBackendProperty_Height, kBackendProperty_Texture, kBackendProperty_ForceResize, kBackendProperty_UseTextureAntialiasing, kBackendProperty_UseTextureFiltering, kBackendProperty_DebugLogging } |
| The backend property ids. More... | |
| enum | BackendInitialParametersID { kBackendInitialParameter_DeviceWnd, kBackendInitialParameter_DeviceDisplay, kBackendInitialParameter_VisualInfo, kBackendInitialParameter_TextureWidth, kBackendInitialParameter_TextureHeight } |
| Initialization parameters for Window/Texture backends. More... | |
| enum | BackendEventID |
| Generic backend event IDs. | |
Variables | |
| static const float | kOpaqueLayer_Opacity = -1.0 |
| Reserved opacity value for opaque layer. | |
Definition of 2D Scene backend interfaces.
Copyright (c) 2011 The NAVTOR SDK. All Rights Reserved.
| enum BackendType |
| enum BackendPropertyIDs |
The backend property ids.
| Enumerator | |
|---|---|
| kBackendProperty_BackgroundColor | Background color (kSDKAnyType_Uint32 - ARGB) Width of the backend space. (kSDKAnyType_Uint32) |
| kBackendProperty_Width | Height of the backend space. (kSDKAnyType_Uint32) |
| kBackendProperty_Height | Returns texture with drawing results (kSDKAnyType_SDKComponentPtr with ITexture) |
| kBackendProperty_Texture | Initiates backend resizing procedures (sometimes drawing stops working w/o it) |
| kBackendProperty_ForceResize | Use texture antialiasing during combining several layers textures (kSDKAnyType_Bool) |
| kBackendProperty_UseTextureAntialiasing | Use texture filtering during combining several layers textures (kSDKAnyType_Bool) |
| kBackendProperty_UseTextureFiltering | Switch on debug logging (kSDKAnyType_Bool) |
| kBackendProperty_DebugLogging | Erase backend background on start (kSDKAnyType_Bool) |
| enum BackendInitialParametersID |
Initialization parameters for Window/Texture backends.