fontgate.fgBitmap · declarations 001
asDict
asDict(*args: Any, **kwargs: Any) -> Any
represent object as dictionary
asTuple
asTuple(*args: Any, **kwargs: Any) -> Any
represent object as tuple
bpp
instance-attribute
bpp: Any
bits per pixel
bytes
instance-attribute
bytes: Any
bytes per row
clear
clear(*args: Any, **kwargs: Any) -> Any
clear all data
copy
copy(*args: Any, **kwargs: Any) -> Any
copy(fgBitmap source[, x, y, w, h]) - copy whole source bitmap or part of it with size (w, h) from pos (x, y)
copyData
copyData(*args: Any, **kwargs: Any) -> Any
copy(bytesarray) - assign new bitmap data
create
create(*args: Any, **kwargs: Any) -> Any
create(
data
instance-attribute
data: Any
bitmap data
downsample
downsample(arg0: fgBitmap, oversampling: int) -> Any
downsample(fgBitmap, int oversampling)
empty
empty() -> bool
bool empty() - return true if no data assigned or bitmap size is 0
emptyRow
emptyRow(y: Any, x0: Any, x1: Any) -> Any
emptyRow(y, x0, x1) - return true if part of row y from x0 till x1 has no non-zero pixels
flipV
flipV(*args: Any, **kwargs: Any) -> Any
flip bitmap by vertical axis
height
instance-attribute
height: Any
bitmap height in pixels
row
row(*args: Any, **kwargs: Any) -> Any
Native fontgate.fgBitmap.row; argument details are not documented.
setPixel
setPixel(x: Any, y: Any, color: fgColor) -> Any
setPixel(x, y, fgColor color) - set color for pixel (x, y)
size
instance-attribute
size: Any
overall bytes count for bitmap storage
width
instance-attribute
width: Any
bitmap width in pixels