Gnash
0.8.10
|
Classes | |
struct | oglVertex |
class | Tesselator |
class | WholeShape |
Typedefs | |
typedef std::vector< Path > | PathVec |
typedef std::vector< const Path * > | PathRefs |
typedef std::map< const Path *, std::vector< oglVertex > > | PathPointMap |
Functions | |
point | middle (const point &a, const point &b) |
void | trace_curve (const point &startP, const point &controlP, const point &endP, std::vector< oglVertex > &coords) |
std::vector< oglVertex > | interpolate (const std::vector< Edge > &edges, const float &anchor_x, const float &anchor_y) |
bool | isEven (const size_t &n) |
template<typename C , typename T , typename R , typename A > | |
void | for_each (C &container, R(T::*pmf)(const A &), const A &arg) |
Renderer * | create_handler (bool init) |
typedef std::map<const Path*, std::vector<oglVertex> > gnash::renderer::opengl::PathPointMap |
typedef std::vector<const Path*> gnash::renderer::opengl::PathRefs |
typedef std::vector<Path> gnash::renderer::opengl::PathVec |
DSOEXPORT Renderer * gnash::renderer::opengl::create_handler | ( | bool | init | ) |
void gnash::renderer::opengl::for_each | ( | C & | container, |
R(T::*)(const A &) | pmf, | ||
const A & | arg | ||
) |
References gnash::key::_1.
Referenced by gnash::abc::AbcBlock::prepare(), gnash::as_object::markReachableResources(), gnash::BitmapData_as::setReachable(), gnash::BitmapData_as::updateObjects(), gnash::Button::add_invalidated_bounds(), gnash::Button::markOwnResources(), gnash::CallFrame::markReachableResources(), gnash::abc::Class::initTraits(), gnash::ClassHierarchy::declareAll(), gnash::SWF::addDefaultLoaders(), gnash::SWF::DefineButtonTag::visitKeyCodes(), gnash::SWF::DefineVideoStreamTag::visitSlice(), gnash::FunctionArgs::setReachable(), gnash::Function::markReachableResources(), main(), gnash::foreachSecond(), gnash::abc::Method::initTraits(), gnash::movie_root::markReachableResources(), gnash::MovieClip::markOwnResources(), gnash::MovieLoader::setReachable(), gnash::NetConnection_as::markReachableResources(), gnash::PropertyList::setReachable(), gnash::Renderer_cairo::apply_matrix_to_paths(), gnash::SWF::ShapeRecord::setLerp(), gnash::SharedObjectLibrary::clear(), gnash::geometry::SnappingRanges2d< T >::add(), gnash::geometry::SnappingRanges2d< T >::growBy(), gnash::geometry::SnappingRanges2d< T >::scale(), gnash::geometry::SnappingRanges2d< T >::visitAll(), gnash::TextField::setTextColor(), gnash::VM::markReachableResources(), and gnash::XMLNode_as::setReachable().
std::vector<oglVertex> gnash::renderer::opengl::interpolate | ( | const std::vector< Edge > & | edges, |
const float & | anchor_x, | ||
const float & | anchor_y | ||
) |
bool gnash::renderer::opengl::isEven | ( | const size_t & | n | ) |
point gnash::renderer::opengl::middle | ( | const point & | a, |
const point & | b | ||
) |
A point in the middle of points a and b, that is, the middle of a line drawn from a to b.
References gnash::geometry::Point2d::x, and gnash::geometry::Point2d::y.
Referenced by trace_curve().
void gnash::renderer::opengl::trace_curve | ( | const point & | startP, |
const point & | controlP, | ||
const point & | endP, | ||
std::vector< oglVertex > & | coords | ||
) |
References middle(), gnash::key::q, and gnash::geometry::Point2d::distance().
Referenced by interpolate().