Buffer Class

Constructors & Destructor | Member Functions | Member Variables

Definition

Line 11 of System.Windows/Buffer.cm

Inheritance

Constructors & Destructor

public Buffer(const Size& size_, Graphics& graphics_)

Member Functions

public inline Graphics& BitmapGraphics()
public Result<bool> Draw(Graphics& graphics)
public inline Bitmap& GetBitmap() const
public inline const Size& GetSize() const

Member Variables

private Bitmap bitmap
private UniquePtr<Graphics> graphics
private Size size

Constructor& Destructor Details

Buffer Constructor

public Buffer(const Size& size_, Graphics& graphics_)

Definition
Line 13 of System.Windows/Buffer.cm


Member Function Details

BitmapGraphics Member Function

public inline Graphics& BitmapGraphics()

Definition
Line 33 of System.Windows/Buffer.cm


Draw Member Function

public Result<bool> Draw(Graphics& graphics)

Definition
Line 42 of System.Windows/Buffer.cm


GetBitmap Member Function

public inline Bitmap& GetBitmap()

Definition
Line 37 of System.Windows/Buffer.cm


GetSize Member Function

public inline const Size& GetSize()

Definition
Line 29 of System.Windows/Buffer.cm