Namespaces | Functions

RGBA.cpp File Reference

#include "RGBA.h"
#include "GnashNumeric.h"
#include "log.h"
#include "SWFStream.h"
#include <sstream>
Include dependency graph for RGBA.cpp:

Namespaces

namespace  gnash
 

Anonymous namespace for callbacks, local functions, event handlers etc.


Functions

rgba gnash::readRGBA (SWFStream &in)
 Initialize from input stream (reads RGBA).
rgba gnash::readRGB (SWFStream &in)
 Can throw ParserException on premature end of input stream.
rgba gnash::colorFromHexString (const std::string &color)
 Create an RGBA value from a hex string (e.g. FF0000).
std::ostream & gnash::operator<< (std::ostream &os, const rgba &r)