Gnash  0.8.11dev
Namespaces | Macros | Typedefs | Functions
OpenVGRenderer.cpp File Reference
#include <sys/time.h>
#include <cstring>
#include <cmath>
#include <iostream>
#include <iterator>
#include <functional>
#include <boost/utility.hpp>
#include "log.h"
#include "RGBA.h"
#include "GnashImage.h"
#include "GnashNumeric.h"
#include "FillStyle.h"
#include "LineStyle.h"
#include "Transform.h"
#include "utility.h"
#include "Range2d.h"
#include "SWFCxForm.h"
#include "openvg/OpenVGRenderer.h"
#include "openvg/OpenVGBitmap.h"
#include "openvg/OpenVGStyle.h"
#include "SWFMatrix.h"
#include "swf/ShapeRecord.h"
#include "CachedBitmap.h"
#include <VG/vgu.h>
#include <VG/openvg.h>

Namespaces

 gnash
 Anonymous namespace for callbacks, local functions, event handlers etc.
 
 gnash::renderer
 
 gnash::renderer::openvg
 

Macros

#define GNASH_IMAGE_QUALITY   VG_IMAGE_QUALITY_FASTER
 
#define GNASH_RENDER_QUALITY   VG_RENDERING_QUALITY_FASTER
 
#define MAX_POINTS   (4096)
 
#define MAX_SEG   (256)
 

Typedefs

typedef std::vector< geometry::Range2d< int > > gnash::ClipBounds
 
typedef std::vector< const Path * > gnash::renderer::openvg::PathPtrVec
 

Functions

void gnash::renderer::openvg::startpath (VGPath path, const int x, const int y)
 
void gnash::renderer::openvg::closepath (VGPath path)
 
void gnash::renderer::openvg::preparepath (VGPath path, const std::vector< Edge > &edges, const float &anchor_x, const float &anchor_y)
 
template<typename C , typename T , typename R , typename A >
void gnash::renderer::openvg::for_each (C &container, R(T::*pmf)(const A &), const A &arg)
 
DSOEXPORT Renderer * gnash::renderer::openvg::create_handler (const char *)
 

Macro Definition Documentation

§ GNASH_IMAGE_QUALITY

#define GNASH_IMAGE_QUALITY   VG_IMAGE_QUALITY_FASTER

§ GNASH_RENDER_QUALITY

#define GNASH_RENDER_QUALITY   VG_RENDERING_QUALITY_FASTER

§ MAX_POINTS

#define MAX_POINTS   (4096)

§ MAX_SEG

#define MAX_SEG   (256)
Note
A VGpath is constructed from a series of appended path segments. When drawing shapes from flash, we start each path by moving to a known location. Then segments are appended, and then the path is closed. This is also used for fills.

Referenced by gnash::renderer::openvg::Renderer_ovg::draw_poly(), gnash::renderer::openvg::Renderer_ovg::drawLine(), and gnash::renderer::openvg::preparepath().