List of all members.
Detailed Description
A PdfNamedColor holds a PdfColor object and a name.
Constructor & Destructor Documentation
PoDoFo::PdfNamedColor::PdfNamedColor |
( |
const char * |
pszName, |
|
|
const PdfColor & |
rColor |
|
) |
| [inline] |
Create a PdfNamedColor object.
- Parameters:
-
pszName | the name. The string must be allocated as static memory somewhere The string data will not be copied! |
rColor | a PdfColor object |
PoDoFo::PdfNamedColor::PdfNamedColor |
( |
const PdfNamedColor & |
rhs | ) |
[inline] |
PoDoFo::PdfNamedColor::~PdfNamedColor |
( |
| ) |
[inline] |
Member Function Documentation
const PdfColor& PoDoFo::PdfNamedColor::GetColor |
( |
| ) |
const [inline] |
- Returns:
- a reference to the internal color object
const char* PoDoFo::PdfNamedColor::GetName |
( |
| ) |
const [inline] |
- Returns:
- a pointer to the name of the color
bool PoDoFo::PdfNamedColor::operator< |
( |
const PdfNamedColor & |
rhs | ) |
const [inline] |
Compare this color object to another PdfNamedColor, only checking the name The comparison is case insensitive!
- Returns:
- true if the passed string is smaller than the name of this color object.
bool PoDoFo::PdfNamedColor::operator< |
( |
const char * |
pszName | ) |
const [inline] |
Compare this color object to a name The comparison is case insensitive!
- Returns:
- true if the passed string is smaller than the name of this color object.
bool PoDoFo::PdfNamedColor::operator== |
( |
const char * |
pszName | ) |
const [inline] |
Compare this color object to a name The comparison is case insensitive!
- Returns:
- true if the passed string is the name of this color object.