#include <WPGColor.h>
Public Member Functions | |
| WPGColor () | |
| WPGColor (int r, int g, int b) | |
| WPGColor (int r, int g, int b, int a) | |
| WPGColor (const WPGColor &color) | |
| WPGColor & | operator= (const WPGColor &color) |
| const ::librevenge::RVNGString | getColorString () const |
| double | getOpacity () const |
Public Attributes | |
| int | red |
| int | green |
| int | blue |
| int | alpha |
| libwpg::WPGColor::WPGColor | ( | ) |
| libwpg::WPGColor::WPGColor | ( | int | r, |
| int | g, | ||
| int | b | ||
| ) |
| libwpg::WPGColor::WPGColor | ( | int | r, |
| int | g, | ||
| int | b, | ||
| int | a | ||
| ) |
| libwpg::WPGColor::WPGColor | ( | const WPGColor & | color | ) |
| const ::librevenge::RVNGString libwpg::WPGColor::getColorString | ( | ) | const |
Referenced by WPG2Parser::handleBrushForeColor(), WPG1Parser::handleColormap(), WPG2Parser::handleColorPalette(), WPG2Parser::handleDPBrushBackColor(), WPG2Parser::handleDPBrushForeColor(), WPG2Parser::handleDPColorPalette(), WPG2Parser::handleDPPenBackColor(), WPG1Parser::handleFillAttributes(), WPG1Parser::handleLineAttributes(), WPG2Parser::handlePenBackColor(), WPG1Parser::parse(), WPG1Parser::WPG1Parser(), and WPG2Parser::WPG2Parser().
| double libwpg::WPGColor::getOpacity | ( | ) | const |
Referenced by WPG2Parser::handleBrushForeColor(), WPG2Parser::handleDPBrushBackColor(), WPG2Parser::handleDPBrushForeColor(), WPG2Parser::handleDPPenBackColor(), WPG1Parser::handleFillAttributes(), WPG1Parser::handleLineAttributes(), WPG2Parser::handlePenBackColor(), WPG1Parser::parse(), WPG1Parser::WPG1Parser(), and WPG2Parser::WPG2Parser().
| libwpg::WPGColor & libwpg::WPGColor::operator= | ( | const WPGColor & | color | ) |
| int libwpg::WPGColor::alpha |
Referenced by libwpg::WPGBitmap::getDIB(), getOpacity(), and operator=().
| int libwpg::WPGColor::blue |
Referenced by getColorString(), libwpg::WPGBitmap::getDIB(), and operator=().
| int libwpg::WPGColor::green |
Referenced by getColorString(), libwpg::WPGBitmap::getDIB(), and operator=().
| int libwpg::WPGColor::red |
Referenced by getColorString(), libwpg::WPGBitmap::getDIB(), and operator=().