Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Static Public Member Functions | Data Fields
Image_ColorBGRA Struct Reference

POD structure for packed BGRA color value (4 bytes)

#include <Image_Color.hxx>

Public Member Functions

Standard_Byte r () const
 Alias to 3rd component (red intensity).
Standard_Byte g () const
 Alias to 2nd component (green intensity).
Standard_Byte b () const
 Alias to 1st component (blue intensity).
Standard_Byte a () const
 Alias to 4th component (alpha value).
Standard_Byter ()
 Alias to 3rd component (red intensity).
Standard_Byteg ()
 Alias to 2nd component (green intensity).
Standard_Byteb ()
 Alias to 1st component (blue intensity).
Standard_Bytea ()
 Alias to 4th component (alpha value).

Static Public Member Functions

static Standard_Integer Length ()
 Returns the number of components.

Data Fields

Standard_Byte v [4]

Member Function Documentation

Standard_Byte Image_ColorBGRA::a ( ) const [inline]
Standard_Byte Image_ColorBGRA::b ( ) const [inline]
Standard_Byte Image_ColorBGRA::g ( ) const [inline]
static Standard_Integer Image_ColorBGRA::Length ( void  ) [inline, static]
Standard_Byte Image_ColorBGRA::r ( ) const [inline]

Field Documentation


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