|
|
|
|
Documentation |
|
Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages Search
NLMISC::CBGRA Class ReferenceClass pixel BGRA, Windows style pixel.
More...
#include <rgba.h>
List of all members.
Detailed Description
Class pixel BGRA, Windows style pixel.
-
Author:
-
Cyril Corvazier , Nevrax France
-
Date:
-
2000
Definition at line 350 of file rgba.h.
Constructor & Destructor Documentation
NLMISC::CBGRA::CBGRA |
( |
|
) |
[inline] |
|
NLMISC::CBGRA::CBGRA |
( |
CRGBA |
c |
) |
[inline] |
|
|
Constructor from a CRGBA.
-
Parameters:
-
Definition at line 361 of file rgba.h.
References A, B, G, and R. |
|
Constructor.
-
Parameters:
-
r |
Red componant. |
g |
Green componant. |
b |
Blue componant. |
a |
Alpha componant. |
Definition at line 376 of file rgba.h.
References A, B, G, R, and r. |
Member Function Documentation
void NLMISC::CBGRA::blendFromui |
( |
CBGRA & |
c0, |
|
|
CBGRA & |
c1, |
|
|
uint |
factor |
|
) |
|
|
|
Blend two colors.
-
Parameters:
-
c0 |
Color 0. |
c1 |
Color 1. |
factor |
Blend factor. 0~256. 0 return c0 and 256 return c1. |
Definition at line 596 of file rgba.cpp. |
uint NLMISC::CBGRA::getPacked |
( |
|
) |
const [inline] |
|
|
Return a packed pixel.
Definition at line 390 of file rgba.h.
References A, B, G, and R.
Referenced by operator<. |
NLMISC::CBGRA::operator CRGBA |
( |
|
) |
[inline] |
|
bool NLMISC::CBGRA::operator< |
( |
const CBGRA & |
c |
) |
const [inline] |
|
bool NLMISC::CBGRA::operator== |
( |
const CBGRA & |
c |
) |
const [inline] |
|
|
Equality operator.
Definition at line 406 of file rgba.h.
References A, B, CBGRA, G, and R. |
|
Serialisation.
-
Parameters:
-
f |
Stream used for serialisation. |
Definition at line 580 of file rgba.cpp.
References A, B, G, and R. |
|
Set colors.
-
Parameters:
-
r |
Red componant. |
g |
Green componant. |
b |
Blue componant. |
a |
Alpha componant. |
Definition at line 588 of file rgba.cpp.
References A, B, G, R, and r. |
Member Data Documentation
The documentation for this class was generated from the following files:
|
|