
Public Member Functions | |
| this (Application app, uint id) | |
| Constructs a Bitmap object from a bitmap resource. | |
| this (Application app, string name) | |
| Constructs a Bitmap object from a bitmap resource. | |
| this (DC comp, int width, int height) | |
| Creates a blank bitmap. | |
| this (DC comp, RectDim dim) | |
| Creates a blank bitmap. | |
| this (int width, int height) | |
| Creates a monochrome bitmap. | |
| this (RectDim dim) | |
| Creates a monochrome bitmap. | |
| this (OBM stockBitmap) | |
| Creates a Bitmap wrapper around the specified stock bitmap. | |
| this (HBITMAP h, bool autoDelete=false) | |
| Constructs a Bitmap wrapper around a pre-existing Windows bitmap object. | |
| HANDLE | clipboardDataHandle (CLIPBOARD_FORMAT format, bool clearAutoDelete=true) |
Properties | |
| int | width () |
| The width of this bitmap in pixels. | |
| int | height () |
| The height of this bitmap in pixels. | |
| RectDim | dim () |
| The dimensions of this bitmap in pixels. | |
| BITMAP | info () |
The specification of this bitmap as a Windows BITMAP structure. | |
| Bitmap | dup () |
| Creates an exact copy of the bitmap. | |
| smjg.libs.sdwf.gdiobject.Bitmap.this | ( | Application | app, | |
| uint | id | |||
| ) |
Constructs a Bitmap object from a bitmap resource.
| app | application containing the bitmap resource. | |
| id | numeric ID of the bitmap resource. |
| smjg.libs.sdwf.gdiobject.Bitmap.this | ( | Application | app, | |
| string | name | |||
| ) |
Constructs a Bitmap object from a bitmap resource.
| app | application containing the bitmap resource. | |
| name | name of the bitmap resource. |
| smjg.libs.sdwf.gdiobject.Bitmap.this | ( | DC | comp, | |
| int | width, | |||
| int | height | |||
| ) |
Creates a blank bitmap.
| comp | DC with which the bitmap is to be compatible. | |
| width | width of the bitmap in pixels. | |
| height | height of the bitmap in pixels. |
| smjg.libs.sdwf.gdiobject.Bitmap.this | ( | DC | comp, | |
| RectDim | dim | |||
| ) |
Creates a blank bitmap.
| comp | DC with which the bitmap is to be compatible. | |
| dim | dimensions of the bitmap in pixels. |
| smjg.libs.sdwf.gdiobject.Bitmap.this | ( | int | width, | |
| int | height | |||
| ) |
Creates a monochrome bitmap.
| dim | dimensions of the bitmap in pixels. |
| smjg.libs.sdwf.gdiobject.Bitmap.this | ( | RectDim | dim | ) |
Creates a monochrome bitmap.
| width | width of the bitmap in pixels. | |
| height | height of the bitmap in pixels. | |
| dim | dimensions of the bitmap in pixels. |
| smjg.libs.sdwf.gdiobject.Bitmap.this | ( | OBM | stockBitmap | ) |
Creates a Bitmap wrapper around the specified stock bitmap.
| stockBitmap | value identifying the stock bitmap to be obtained. |
| smjg.libs.sdwf.gdiobject.Bitmap.this | ( | HBITMAP | h, | |
| bool | autoDelete = false | |||
| ) |
Constructs a Bitmap wrapper around a pre-existing Windows bitmap object.
| h | handle of the bitmap to wrap. | |
| autoDelete | (since 0.5) whether the Windows handle should be automatically deleted when the SDWF object is garbage collected. |
| int smjg.libs.sdwf.gdiobject.Bitmap.width | ( | ) |
The width of this bitmap in pixels.
| int smjg.libs.sdwf.gdiobject.Bitmap.height | ( | ) |
The height of this bitmap in pixels.
| RectDim smjg.libs.sdwf.gdiobject.Bitmap.dim | ( | ) |
The dimensions of this bitmap in pixels.
| BITMAP smjg.libs.sdwf.gdiobject.Bitmap.info | ( | ) |
The specification of this bitmap as a Windows BITMAP structure.
| Bitmap smjg.libs.sdwf.gdiobject.Bitmap.dup | ( | ) |
Creates an exact copy of the bitmap.
| HANDLE smjg.libs.sdwf.gdiobject.Bitmap.clipboardDataHandle | ( | CLIPBOARD_FORMAT | format, | |
| bool | clearAutoDelete = true | |||
| ) |
1.5.4