Daniel's XL Toolbox NG
XLToolbox.Export.Models.TiledBitmap Class Reference

A tile of a bitmap. More...

Inheritance diagram for XLToolbox.Export.Models.TiledBitmap:
Collaboration diagram for XLToolbox.Export.Models.TiledBitmap:

Public Member Functions

FreeImageBitmap CreateFreeImageBitmap (Metafile metafile, Transparency transparency)
 
void Cancel ()
 
 TiledBitmap (int width, int height)
 Constructs an instance given a desired width and height. If there is not enough memory for the entire bitmap, the height will be reduced as much as necessary. More...
 
void Dispose ()
 

Protected Member Functions

void Dispose (bool calledFromDispose)
 

Properties

int Width [get]
 Gets the width of the bitmap tile. More...
 
int Height [get]
 Gets the actual height of the bitmap tile. More...
 
int OriginalHeight [get]
 Gets the height that was originally desired when the object was constructed. More...
 
bool IsFullSize [get]
 Is true if the tile fits the entire image. More...
 
FreeImageBitmap FreeImageBitmap [get]
 
int PercentCompleted [get]
 

Detailed Description

A tile of a bitmap.

Constructor & Destructor Documentation

◆ TiledBitmap()

XLToolbox.Export.Models.TiledBitmap.TiledBitmap ( int  width,
int  height 
)
inline

Constructs an instance given a desired width and height. If there is not enough memory for the entire bitmap, the height will be reduced as much as necessary.

Parameters
widthWidth in pixels.
heightDesired height in pixels; the actual height may be reduced if tiling is necessary.

Member Function Documentation

◆ Cancel()

void XLToolbox.Export.Models.TiledBitmap.Cancel ( )
inline

◆ CreateFreeImageBitmap()

FreeImageBitmap XLToolbox.Export.Models.TiledBitmap.CreateFreeImageBitmap ( Metafile  metafile,
Transparency  transparency 
)
inline

◆ Dispose() [1/2]

void XLToolbox.Export.Models.TiledBitmap.Dispose ( )
inline

◆ Dispose() [2/2]

void XLToolbox.Export.Models.TiledBitmap.Dispose ( bool  calledFromDispose)
inlineprotected

Property Documentation

◆ FreeImageBitmap

FreeImageBitmap XLToolbox.Export.Models.TiledBitmap.FreeImageBitmap
get

◆ Height

int XLToolbox.Export.Models.TiledBitmap.Height
get

Gets the actual height of the bitmap tile.

◆ IsFullSize

bool XLToolbox.Export.Models.TiledBitmap.IsFullSize
get

Is true if the tile fits the entire image.

◆ OriginalHeight

int XLToolbox.Export.Models.TiledBitmap.OriginalHeight
get

Gets the height that was originally desired when the object was constructed.

◆ PercentCompleted

int XLToolbox.Export.Models.TiledBitmap.PercentCompleted
get

◆ Width

int XLToolbox.Export.Models.TiledBitmap.Width
get

Gets the width of the bitmap tile.


The documentation for this class was generated from the following file: