Gnash  0.8.11dev
Public Member Functions
gnash::Renderer_agg_base Class Reference

#include <Renderer_agg.h>

Inheritance diagram for gnash::Renderer_agg_base:
gnash::Renderer

List of all members.

Public Member Functions

 Renderer_agg_base ()
virtual ~Renderer_agg_base ()
virtual void init_buffer (unsigned char *mem, int size, int x, int y, int rowstride)=0
virtual unsigned int getBytesPerPixel () const =0
unsigned int getBitsPerPixel () const
virtual bool initTestBuffer (unsigned width, unsigned height)
- Public Member Functions inherited from gnash::Renderer
 Renderer ()
virtual ~Renderer ()
virtual std::string description () const =0
 Return a description of this renderer.
virtual void set_scale (float, float)
 Sets the x/y scale for the movie.
virtual void set_translation (float, float)
void setQuality (Quality q)
virtual CachedBitmapcreateCachedBitmap (std::auto_ptr< image::GnashImage > im)=0
 Given an image, returns a pointer to a CachedBitmap class that can later be passed to FillStyleX_bitmap(), to set a bitmap fill style.
virtual void drawVideoFrame (image::GnashImage *frame, const Transform &xform, const SWFRect *bounds, bool smooth)=0
 Draws a video frame.
virtual void drawLine (const std::vector< point > &coords, const rgba &color, const SWFMatrix &mat)=0
 Draw a line-strip directly, using a thin, solid line.
virtual void draw_poly (const std::vector< point > &corners, const rgba &fill, const rgba &outline, const SWFMatrix &mat, bool masked)=0
 Draw a simple, solid filled polygon with a thin (~1 pixel) outline.
virtual void drawShape (const SWF::ShapeRecord &shape, const Transform &xform)=0
virtual void drawGlyph (const SWF::ShapeRecord &rec, const rgba &color, const SWFMatrix &mat)=0
 Draws a glyph (font character).
virtual void renderToImage (boost::shared_ptr< IOChannel >, FileType, int) const
 Draw the current rendering buffer to an image file.
virtual void set_invalidated_regions (const InvalidatedRanges &)
 Sets the update region (called prior to begin_display).
virtual geometry::Range2d< int > world_to_pixel (const SWFRect &worldbounds) const =0
 Converts world coordinates to pixel coordinates.
geometry::Range2d< int > world_to_pixel (const geometry::Range2d< int > &wb) const
virtual point pixel_to_world (int x, int y) const =0
 Converts pixel coordinates to world coordinates (TWIPS)
geometry::Range2d< int > pixel_to_world (const geometry::Range2d< int > &pixelbounds) const
virtual bool bounds_in_clipping_area (const geometry::Range2d< int > &) const
 Checks if the given bounds are (partially) in the current drawing clipping area.
virtual void begin_submit_mask ()=0
virtual void end_submit_mask ()=0
virtual void disable_mask ()=0
virtual
RenderImages::const_iterator 
getFirstRenderImage () const
virtual
RenderImages::const_iterator 
getLastRenderImage () const

Additional Inherited Members

- Public Types inherited from gnash::Renderer
typedef boost::shared_ptr
< GnashVaapiImageProxy
RenderImage
typedef std::vector< RenderImageRenderImages
- Protected Attributes inherited from gnash::Renderer
Quality _quality
 Kept in parallel with movie_root's setting.
RenderImages _render_images

Constructor & Destructor Documentation

gnash::Renderer_agg_base::Renderer_agg_base ( )
inline
virtual gnash::Renderer_agg_base::~Renderer_agg_base ( )
inlinevirtual

Member Function Documentation

unsigned int gnash::Renderer_agg_base::getBitsPerPixel ( ) const
inline

References getBytesPerPixel().

virtual unsigned int gnash::Renderer_agg_base::getBytesPerPixel ( ) const
pure virtual

Referenced by getBitsPerPixel(), and initTestBuffer().

virtual void gnash::Renderer_agg_base::init_buffer ( unsigned char *  mem,
int  size,
int  x,
int  y,
int  rowstride 
)
pure virtual
virtual bool gnash::Renderer_agg_base::initTestBuffer ( unsigned  width,
unsigned  height 
)
inlinevirtual

The documentation for this class was generated from the following file: