72 inline static const
int BUFFER_FREE = 0;
73 inline static const
int BUFFER_BUSY_PAINTING = 1;
74 inline static const
int BUFFER_BUSY_DESTROYING = 2;
78 int busy_ = BUFFER_FREE;
80 bool invalidate_when_free_ = false;
Contains xtd::drawing::buffered_graphics class.
const xtd::drawing::size & maximum_buffer() const noexcept
Gets the maximum size of the buffer to use.
void invalidate()
Destroy of the current graphics buffer, if a buffer has been allocated and has not yet been destroyed...
buffered_graphics_context()=default
Initializes a new instance of the BufferedGraphicsContext class.
Provides a graphics buffer for double buffering.
Definition buffered_graphics.hpp:32
Defines an object used to draw lines and curves. This class cannot be inherited.
Definition graphics.hpp:67
Supports all classes in the xtd class hierarchy and provides low-level services to derived classes....
Definition object.hpp:44
Contains xtd::drawing::graphics class.
#define drawing_export_
Define shared library export.
Definition drawing_export.hpp:13
intmax_t intptr
Represent a pointer or a handle.
Definition intptr.hpp:23
xtd::sptr< type_t > ptr
The xtd::ptr object is a shared pointer.
Definition ptr.hpp:27
The xtd::drawing namespace provides access to GDI+ basic graphics functionality. More advanced functi...
Definition actions_system_images.hpp:10
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition abstract_object.hpp:8
Contains xtd::drawing::point class.
Represents an ordered pair of integer x- and y-coordinates that defines a point in a two-dimensional ...
Definition point.hpp:54
Stores a set of four integers that represent the location and size of a rectangle.
Definition rectangle.hpp:44
Stores an ordered pair of integers, which specify a height and width.
Definition size.hpp:32
Contains xtd::drawing::size class.