Gnash  0.8.11dev
Public Member Functions | List of all members
gnash::Renderer_agg_base Class Referenceabstract

#include <Renderer_agg.h>

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

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. More...
 
virtual void set_scale (float, float)
 Sets the x/y scale for the movie. More...
 
virtual void set_translation (float, float)
 
void setQuality (Quality q)
 
virtual CachedBitmapcreateCachedBitmap (std::unique_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. More...
 
virtual void drawVideoFrame (image::GnashImage *frame, const Transform &xform, const SWFRect *bounds, bool smooth)=0
 Draws a video frame. More...
 
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. More...
 
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. More...
 
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). More...
 
virtual void renderToImage (std::unique_ptr< IOChannel >, FileType, int) const
 Draw the current rendering buffer to an image file. More...
 
virtual void set_invalidated_regions (const InvalidatedRanges &)
 Sets the update region (called prior to begin_display). More...
 
virtual geometry::Range2d< int > world_to_pixel (const SWFRect &worldbounds) const =0
 Converts world coordinates to pixel coordinates. More...
 
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) More...
 
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. More...
 
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 std::shared_ptr< GnashVaapiImageProxyRenderImage
 
typedef std::vector< RenderImageRenderImages
 
- Protected Attributes inherited from gnash::Renderer
Quality _quality
 Kept in parallel with movie_root's setting. More...
 
RenderImages _render_images
 

Constructor & Destructor Documentation

§ Renderer_agg_base()

gnash::Renderer_agg_base::Renderer_agg_base ( )
inline

§ ~Renderer_agg_base()

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

References getBytesPerPixel(), init_buffer(), x, and y.

Member Function Documentation

§ getBitsPerPixel()

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

References getBytesPerPixel().

§ getBytesPerPixel()

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

§ init_buffer()

virtual void gnash::Renderer_agg_base::init_buffer ( unsigned char *  mem,
int  size,
int  x,
int  y,
int  rowstride 
)
pure virtual

§ initTestBuffer()

virtual bool gnash::Renderer_agg_base::initTestBuffer ( unsigned  width,
unsigned  height 
)
inlinevirtual

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