Go to the documentation of this file.
24 #include <proto/intuition.h>
25 #include <proto/graphics.h>
26 #include <graphics/blitattr.h>
27 #include <proto/Picasso96API.h>
28 #include <proto/layers.h>
29 #include <proto/dos.h>
30 #include <proto/gadtools.h>
45 bool init(
int argc,
char **argv[]);
50 void render(
int minx,
int miny,
int maxx,
int maxy);
60 std::vector< geometry::Range2d<int> > _drawbounds;
61 cairo_surface_t *_cairo_surface;
62 cairo_t *_cairo_handle;
63 unsigned char *_offscreenbuf;
65 struct Window *_window;
66 struct Screen *_screen;
74 cairo_format_t _ctype;
Renderer * createRenderHandler()
Definition: aos4_cairo_glue.cpp:132
virtual void set_invalidated_regions(const InvalidatedRanges &)
Sets the update region (called prior to begin_display).
Definition: Renderer.h:340
@ L
Definition: GnashKey.h:124
struct Menu * getMenu(void)
Definition: aos4_cairo_glue.cpp:306
@ height
Definition: klash_part.cpp:329
T getMaxY() const
Get max Y ordinate.
Definition: Range2d.h:633
DSOEXPORT void set_context(Renderer *handler, cairo_t *context)
Make sure to call this before starting display.
Definition: Renderer_cairo.cpp:1143
#define _(String)
Definition: log.h:44
void saveOrigiginalDimension(int width, int height)
Definition: aos4_cairo_glue.cpp:165
Anonymous namespace for callbacks, local functions, event handlers etc.
Definition: dbus_ext.cpp:41
T getMaxX() const
Get max X ordinate.
Definition: Range2d.h:613
#define GNASH_REPORT_FUNCTION
Definition: log.h:452
Base class for render handlers.
Definition: Renderer.h:189
T getMinX() const
Get min X ordinate.
Definition: Range2d.h:603
int _bpp
Definition: aos4_glue.h:39
void log_error(StringType msg, Args... args)
Definition: log.h:283
bool isNull() const
Returns true if this is the NULL Range2d.
Definition: Range2d.h:181
void setInvalidatedRegions(const InvalidatedRanges &ranges)
Definition: aos4_cairo_glue.cpp:312
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
void render()
Definition: aos4_cairo_glue.cpp:331
struct Window * getWindow(void)
Definition: aos4_cairo_glue.cpp:300
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
virtual ~AOS4CairoGlue()
Definition: aos4_cairo_glue.cpp:76
size_type size() const
Returns the number of ranges in the list.
Definition: snappingrange.h:320
DSOEXPORT Renderer * create_handler()
Create a render handler.
Definition: Renderer_cairo.cpp:1136
Definition: aos4_cairo_glue.h:40
void resize(int width, int height)
Definition: aos4_cairo_glue.cpp:368
Definition: aos4_glue.h:29
AOS4CairoGlue()
Definition: aos4_cairo_glue.cpp:65
Range2d< T > & setTo(T x, T y)
Set ourself to bound the given point.
Definition: Range2d.h:339
void setFullscreen()
Definition: aos4_cairo_glue.cpp:145
bool init(int argc, char **argv[])
Definition: aos4_cairo_glue.cpp:93
const RangeType & getRange(size_type index) const
Returns the range at the specified index.
Definition: snappingrange.h:326
@ width
Definition: klash_part.cpp:329
bool prepDrawingArea(int width, int height)
Definition: aos4_cairo_glue.cpp:187
void unsetFullscreen()
Definition: aos4_cairo_glue.cpp:172
struct NewMenu nm[]
Definition: aos4_cairo_glue.cpp:30