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) |
| 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 CachedBitmap * | createCachedBitmap (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 |