#include <Pt/Forms/Pixmap.h>
Back buffer drawing surface.
Inherits PaintSurface.
Public Member Functions | |
| void | finish () |
| Finishes painting to the surface. | |
| const Gfx::ImageFormat & | format () const |
| Returns the image format. | |
| Canvas * | getCanvas (Canvas *canvas) |
| Get a Canvas. | |
| void | reset (const Gfx::Image &image) |
| Resets to an image. | |
| void | reset (const Gfx::SizeF &size) |
| Resizes to a size in physical pixels. | |
| const Scaling & | scaling () const |
| Returns the scaling from logical to physical pixels. | |
| const Gfx::SizeF & | size () const |
| Returns the size in physical pixels. | |
| void | sync () |
| Synchronizes pending operations to the surface. | |
Protected Member Functions | |
| void | invalidate () |
| Invalidates the currently active paint canvas. | |
| virtual Gfx::Canvas * | onCreateCanvas (Gfx::Canvas *reuse) override |
| Creates a Canvas. | |
| virtual void | onFinish () override |
| Finishes painting to the surface. | |
| virtual Gfx::Canvas * | onGetCanvas (Gfx::Canvas *reuse) override |
| Get a Canvas. | |
| virtual const Gfx::ImageFormat & | onGetFormat () const override |
| Returns the image format. | |
| virtual const Gfx::Scaling & | onGetScaling () const override |
| Returns the scaling fro logical to physical pixels. | |
| virtual const Gfx::SizeF & | onGetSize () const override |
| Returns the size in physical pixel. | |
| virtual void | onReleaseCanvas () override |
| Releases the current Canvas. | |
| virtual void | onSync () override |
| Synchronizes pending operations to the surface. | |