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

ColorF. More...

#include <color_base_types_helpers.h>

Inheritance diagram for ColorF:
SDKColorF

Static Public Member Functions

static SDKUInt32 ARGB (SDKUInt8 _r, SDKUInt8 _g, SDKUInt8 _b, SDKUInt8 _a)
 Returns ARGB for a r g b.
 
static SDKUInt32 RGBA (SDKUInt8 _r, SDKUInt8 _g, SDKUInt8 _b, SDKUInt8 _a)
 Returns RGBA for a r g b.
 
static SDKUInt32 ABGR (SDKUInt8 _r, SDKUInt8 _g, SDKUInt8 _b, SDKUInt8 _a)
 Returns ABGR for a r g b.
 
static void FromABGR (SDKUInt32 argb, SDKUInt8 *_r, SDKUInt8 *_g, SDKUInt8 *_b, SDKUInt8 *_a)
 Returns ABGR for a r g b.
 
static ColorF GetInvalid ()
 Returns invalid color instance.
 

Additional Inherited Members

- Data Fields inherited from SDKColorF
float r
 Red channel (0.0 - 1.0)
 
float g
 Green channel (0.0 - 1.0)
 
float b
 Blue channel (0.0 - 1.0)
 
float a
 Alpha channel (0.0 - 1.0)
 

Detailed Description


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