Advanced Strategic Command
Public Member Functions | Public Attributes | List of all members
trgbpixel Struct Reference

A class for a single pixel. More...

#include <basegfx.h>

Public Member Functions

bool isTransparent ()
 

Public Attributes

union {
   int   rgb
 
   struct {
      Uint8   r
 
      Uint8   g
 
      Uint8   b
 
      Uint8   a
 
   }   channel
 
}; 
 

Detailed Description

A class for a single pixel.

Definition at line 334 of file basegfx.h.

Member Function Documentation

bool trgbpixel::isTransparent ( )

Definition at line 1355 of file basegfx.cpp.

References channel.

Referenced by getimage().

Member Data Documentation

union { ... }
Uint8 trgbpixel::a

Definition at line 339 of file basegfx.h.

Uint8 trgbpixel::b

Definition at line 339 of file basegfx.h.

struct { ... } trgbpixel::channel
Uint8 trgbpixel::g

Definition at line 339 of file basegfx.h.

Uint8 trgbpixel::r

Definition at line 339 of file basegfx.h.

int trgbpixel::rgb

Definition at line 337 of file basegfx.h.

Referenced by getimage(), and getpixel().


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