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