|
Gnash
0.8.11dev
|
Color transformation record. More...
#include <SWFCxForm.h>
Public Member Functions | |
| SWFCxForm () | |
| Construct an identity CxForm. More... | |
| void | concatenate (const SWFCxForm &c) |
| Concatenate SWFCxForm c onto ours. More... | |
| rgba | transform (const rgba &in) const |
| Transform the given color, return the result. More... | |
| void | transform (boost::uint8_t &r, boost::uint8_t &g, boost::uint8_t &b, boost::uint8_t &a) const |
| Transform the given color. More... | |
Public Attributes | |
| boost::int16_t | ra |
| boost::int16_t | ga |
| boost::int16_t | ba |
| boost::int16_t | aa |
| boost::int16_t | rb |
| boost::int16_t | gb |
| boost::int16_t | bb |
| boost::int16_t | ab |
Color transformation record.
|
inline |
Construct an identity CxForm.
Transform the given color, return the result.
References gnash::rgba::m_a, gnash::rgba::m_b, gnash::rgba::m_g, and gnash::rgba::m_r.
Referenced by gnash::Renderer_cairo::apply_line_style(), gnash::renderer::openvg::OpenVGBitmap::createLinearBitmap(), gnash::TextField::display(), gnash::SWF::TextRecord::displayRecords(), gnash::renderer::openvg::StyleHandler::operator()(), and gnash::AddStyles::operator()().
| void gnash::SWFCxForm::transform | ( | boost::uint8_t & | r, |
| boost::uint8_t & | g, | ||
| boost::uint8_t & | b, | ||
| boost::uint8_t & | a | ||
| ) | const |
Transform the given color.
References gnash::key::a, aa, ab, gnash::key::b, ba, bb, gnash::key::g, ga, gb, gnash::key::r, ra, and rb.
| boost::int16_t gnash::SWFCxForm::aa |
Referenced by concatenate(), gnash::invisible(), gnash::operator<<(), gnash::operator==(), gnash::readCxFormRGBA(), gnash::toCxForm(), and transform().
| boost::int16_t gnash::SWFCxForm::ab |
Referenced by concatenate(), gnash::invisible(), gnash::operator<<(), gnash::operator==(), gnash::readCxFormRGBA(), gnash::toCxForm(), and transform().
| boost::int16_t gnash::SWFCxForm::ba |
Referenced by concatenate(), gnash::operator<<(), gnash::operator==(), gnash::readCxFormRGB(), gnash::readCxFormRGBA(), gnash::toCxForm(), and transform().
| boost::int16_t gnash::SWFCxForm::bb |
Referenced by concatenate(), gnash::operator<<(), gnash::operator==(), gnash::readCxFormRGB(), gnash::readCxFormRGBA(), gnash::toCxForm(), and transform().
| boost::int16_t gnash::SWFCxForm::ga |
Referenced by concatenate(), gnash::operator<<(), gnash::operator==(), gnash::readCxFormRGB(), gnash::readCxFormRGBA(), gnash::toCxForm(), and transform().
| boost::int16_t gnash::SWFCxForm::gb |
Referenced by concatenate(), gnash::operator<<(), gnash::operator==(), gnash::readCxFormRGB(), gnash::readCxFormRGBA(), gnash::toCxForm(), and transform().
| boost::int16_t gnash::SWFCxForm::ra |
Referenced by concatenate(), gnash::operator<<(), gnash::operator==(), gnash::readCxFormRGB(), gnash::readCxFormRGBA(), gnash::toCxForm(), and transform().
| boost::int16_t gnash::SWFCxForm::rb |
Referenced by concatenate(), gnash::operator<<(), gnash::operator==(), gnash::readCxFormRGB(), gnash::readCxFormRGBA(), gnash::toCxForm(), and transform().
1.8.5