19 #ifndef GNASH_RENDER_HANDLER_DIRECTFB_H 20 #define GNASH_RENDER_HANDLER_DIRECTFB_H 32 #ifdef HAVE_DIRECTFB_H 33 # include <directfb/directfb.h> 52 void init(
float x,
float y);
53 CachedBitmap *createCachedBitmap(std::unique_ptr<image::GnashImage> im);
55 void world_to_pixel(
int& x,
int& y,
float world_x,
float world_y);
60 void begin_display(
const gnash::rgba&,
int,
int,
float,
68 void drawLine(
const std::vector<point>& coords,
const rgba&
fill,
72 void drawPoly(
const point* corners,
size_t corner_count,
73 const rgba& fill,
const rgba& outline,
79 void set_antialiased(
bool enable);
80 void begin_submit_mask();
81 void end_submit_mask();
85 void set_scale(
float xscale,
float yscale);
90 void endInternalRender();
92 unsigned int getBitsPerPixel();
93 bool initTestBuffer(
unsigned width,
unsigned height);
97 void printVGHardware();
100 unsigned char *_testBuffer;
109 #endif // __RENDER_HANDLER_DIRECTFB_H__ Definition: Renderer_DirectFB.h:45
Renderer * create_handler(const char *pixelformat)
Definition: Renderer_DirectFB.cpp:267
VGPaint fill
Definition: testr_gtk.cpp:86
std::string description() const
Return a description of this renderer.
Definition: Renderer_DirectFB.h:48
Definition: SWFMatrix.h:53
Anonymous namespace for callbacks, local functions, event handlers etc.
Definition: dbus_ext.cpp:40
Definition: klash_part.cpp:329
2D Point class
Definition: Point2d.h:38
Definition: GnashKey.h:149
Base class for render handlers.
Definition: Renderer.h:188
Definition: klash_part.cpp:329
std::int32_t x
Definition: BitmapData_as.cpp:434
#define DSOEXPORT
Definition: dsodefs.h:55
std::int32_t y
Definition: BitmapData_as.cpp:435
Base class for different types of bitmaps.
Definition: GnashImage.h:77
Rectangle class, see swf defined rectangle record.
Definition: SWFRect.h:44
A CachedBitmap is created by the renderer in a format of its choosing.
Definition: CachedBitmap.h:37
Holds information needed to draw a shape.
Definition: ShapeRecord.h:126
A basic RGBA type.
Definition: RGBA.h:35