trgbpixel Struct Reference

A class for a single pixel. More...

#include <basegfx.h>

List of all members.

Public Member Functions

bool isTransparent ()

Public Attributes

union {
   int   rgb
   struct {
      char   r
      char   g
      char   b
      char   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.


Member Data Documentation

int trgbpixel::rgb

Definition at line 337 of file basegfx.h.

Referenced by getpixel().

char trgbpixel::r

Definition at line 339 of file basegfx.h.

char trgbpixel::g

Definition at line 339 of file basegfx.h.

char trgbpixel::b

Definition at line 339 of file basegfx.h.

char trgbpixel::a

Definition at line 339 of file basegfx.h.

struct { ... } trgbpixel::channel

Referenced by getpixel(), isTransparent(), TrueColorImage::setpix(), and smoothimage().

union { ... }


The documentation for this struct was generated from the following files:
Generated on Mon May 21 01:47:55 2012 for Advanced Strategic Command by  doxygen 1.5.1