30 #ifndef Pt_Forms_Pixmap_h
31 #define Pt_Forms_Pixmap_h
33 #include <Pt/Forms/Api.h>
34 #include <Pt/Forms/PaintSurface.h>
35 #include <Pt/Gfx/FontFace.h>
36 #include <Pt/Gfx/Size.h>
37 #include <Pt/Gfx/Rect.h>
38 #include <Pt/Gfx/Image.h>
39 #include <Pt/Gfx/Bitmap.h>
40 #include <Pt/System/Path.h>
53 virtual void reset(
const Gfx::Image& image) = 0;
54 virtual void reset(
const Gfx::SizeF& size) = 0;
55 virtual void reset() = 0;
58 virtual void setScaleFactor(
double scaleFactor) = 0;
68 virtual void releaseCanvas() = 0;
69 virtual void sync() = 0;
70 virtual void finish() = 0;
97 void setScaleFactor(
double v);
137 typedef Pixmap PixmapSurface;
Core module.
Definition: Allocator.h:33
Backend canvas for drawing commands.
Definition: Canvas.h:66
Logical-to-physical unit conversion.
Definition: Scaling.h:49
Size with floating-point width and height.
Definition: Size.h:47
Point with floating-point X and Y coordinates.
Definition: Point.h:47
Basic image.
Definition: Image.h:52
Rect with floating-point coordinates.
Definition: Rect.h:47
Off-screen drawing surface backed by an image.
Definition: Bitmap.h:60