Go to the documentation of this file.
23 #if GNASH_QT_VERSION == 4
24 # include <QtGui/QImage>
43 bool init(
int argc,
char **argv[]);
54 std::unique_ptr<unsigned char[]> _offscreenbuf;
57 std::vector< geometry::Range2d<int> > _drawbounds;
58 std::unique_ptr<QImage> _qimage;
virtual void set_invalidated_regions(const InvalidatedRanges &)
Sets the update region (called prior to begin_display).
Definition: Renderer.h:340
bool init(int argc, char **argv[])
Definition: kde_glue_agg.cpp:54
DSOEXPORT Renderer_agg_base * create_Renderer_agg(const char *pixelformat)
Create a render handler.
Definition: Renderer_agg.cpp:2048
@ height
Definition: klash_part.cpp:329
Top-level gnash exception.
Definition: GnashException.h:31
QWidget * _drawing_area
Definition: kde_glue.h:47
#define _(String)
Definition: log.h:44
Anonymous namespace for callbacks, local functions, event handlers etc.
Definition: dbus_ext.cpp:41
void resize(int width, int height)
Definition: kde_glue_agg.cpp:162
Base class for render handlers.
Definition: Renderer.h:189
virtual void init_buffer(unsigned char *mem, int size, int x, int y, int rowstride)=0
T getMinX() const
Get min X ordinate.
Definition: Range2d.h:603
bool isNull() const
Returns true if this is the NULL Range2d.
Definition: Range2d.h:181
Range2d< T > Intersection(const Range2d< T > &r1, const Range2d< T > &r2)
Return a rectangle being the intersetion of the two rectangles.
Definition: Range2d.h:762
Definition: kde_glue.h:34
bool isFinite() const
Returns true if this is a finite Range2d.
Definition: Range2d.h:210
~KdeAggGlue()
Definition: kde_glue_agg.cpp:49
virtual geometry::Range2d< int > world_to_pixel(const SWFRect &worldbounds) const =0
Converts world coordinates to pixel coordinates.
T getMinY() const
Get min Y ordinate.
Definition: Range2d.h:623
T width() const
Return width this Range2d.
Definition: Range2d.h:374
size_type size() const
Returns the number of ranges in the list.
Definition: snappingrange.h:320
KdeAggGlue()
Definition: kde_glue_agg.cpp:41
void initBuffer(int width, int height)
Definition: kde_glue_agg.cpp:71
Definition: Renderer_agg.h:30
T height() const
Return height this Range2dangle.
Definition: Range2d.h:385
void render()
Definition: kde_glue_agg.cpp:105
Range2d< T > & setTo(T x, T y)
Set ourself to bound the given point.
Definition: Range2d.h:339
void setInvalidatedRegions(const InvalidatedRanges &ranges)
Definition: kde_glue_agg.cpp:126
Definition: kde_glue_agg.h:38
const RangeType & getRange(size_type index) const
Returns the range at the specified index.
Definition: snappingrange.h:326
@ width
Definition: klash_part.cpp:329
void prepDrawingArea(QWidget *drawing_area)
Definition: kde_glue_agg.cpp:63
Renderer * createRenderHandler()
Definition: kde_glue_agg.cpp:151