Свойство | Type | Description | |
---|---|---|---|
bitmap | |||
bitmapData |
Méthode | Description | |
---|---|---|
Blit ( |
Blits from source to target. Both source and target must be 32-bit
|
|
Blit ( |
Blits from source to target. Both source and target must be 32-bit
|
|
BlitMask ( |
Blits a block of a bitmap data from source to destination, using the luminance of the source to determine the alpha of the target. Source must be 24-bit, target must be 32-bit.
|
|
BlurAlpha ( int radius, int passes ) : void | ||
Clear32 ( byte r, byte g, byte b, byte a ) : void | ||
Colour32 ( byte r, byte g, byte b ) : void |
Sets colour without touching alpha values
|
|
DownScale32 ( int newWidth, int newHeight ) : void | ||
EmptyAlphaPixel ( |
Returns try if the given pixel is empty (i.e. alpha is zero)
|
|
EmptyPixel ( |
Returns try if the given pixel is empty (i.e. black)
|
|
Free ( ) : void | ||
GetAlpha32 ( int px, int py, byte &a ) : void | ||
GetPixel32 ( int px, int py, byte &r, byte &g, byte &b, byte &a ) : void | ||
PutAlpha32 ( int px, int py, byte a ) : void | ||
PutPixel32 ( int px, int py, byte r, byte g, byte b, byte a ) : void | ||
QBitmap ( |
||
QBitmap ( string filePath ) : System |
Méthode | Description | |
---|---|---|
LockBits ( |
public static Blit ( |
||
source | ||
target | ||
sourceRect | ||
px | int | |
py | int | |
Résultat | void |
public static Blit ( |
||
source | ||
target | ||
srcPx | int | |
srcPy | int | |
srcW | int | |
srcH | int | |
destX | int | |
destY | int | |
Résultat | void |
public static BlitMask ( |
||
source | ||
target | ||
srcPx | int | |
srcPy | int | |
srcW | int | |
srcH | int | |
px | int | |
py | int | |
Résultat | void |
public BlurAlpha ( int radius, int passes ) : void | ||
radius | int | |
passes | int | |
Résultat | void |
public Clear32 ( byte r, byte g, byte b, byte a ) : void | ||
r | byte | |
g | byte | |
b | byte | |
a | byte | |
Résultat | void |
public Colour32 ( byte r, byte g, byte b ) : void | ||
r | byte | |
g | byte | |
b | byte | |
Résultat | void |
public DownScale32 ( int newWidth, int newHeight ) : void | ||
newWidth | int | |
newHeight | int | |
Résultat | void |
public static EmptyAlphaPixel ( |
||
bitmapData | ||
px | int | |
py | int | |
alphaEmptyPixelTolerance | byte | |
Résultat | bool |
public static EmptyPixel ( |
||
bitmapData | ||
px | int | |
py | int | |
Résultat | bool |
public GetAlpha32 ( int px, int py, byte &a ) : void | ||
px | int | |
py | int | |
a | byte | |
Résultat | void |
public GetPixel32 ( int px, int py, byte &r, byte &g, byte &b, byte &a ) : void | ||
px | int | |
py | int | |
r | byte | |
g | byte | |
b | byte | |
a | byte | |
Résultat | void |
public PutAlpha32 ( int px, int py, byte a ) : void | ||
px | int | |
py | int | |
a | byte | |
Résultat | void |
public PutPixel32 ( int px, int py, byte r, byte g, byte b, byte a ) : void | ||
px | int | |
py | int | |
r | byte | |
g | byte | |
b | byte | |
a | byte | |
Résultat | void |
public QBitmap ( |
||
bitmap | ||
Résultat | System |
public QBitmap ( string filePath ) : System | ||
filePath | string | |
Résultat | System |