fgBitmapsData

fontgate.fgBitmapsData = class fgBitmapsData(object)

BitmapsData representation

Constructors:
  fgBitmapsData() - default
  fgBitmapsData(fgBitmapsData) - copy

Methods

OK(...)
bool OK() - return true if status is gdsOK
__cmp__(...)
x.__cmp__(y) <==> cmp(x,y)
__delattr__(...)
x.__delattr__('name') <==> del x.name
__getattribute__(...)
x.__getattribute__('name') <==> x.name
__init__(...)
x.__init__(...) initializes x; see help(type(x)) for signature
__repr__(...)
x.__repr__() <==> repr(x)
__setattr__(...)
x.__setattr__('name', value) <==> x.name = value
__str__(...)
x.__str__() <==> str(x)
bad(...)
bool bad() - return true if status isn't gdsOK
boundingBox(...)
fgRect boundingBox(fgGlyphsR, fgMatrix, bool prepareExport) - calculate bounding box
copy(...)
fgBitmapsData copy() - create alone copy of data
countPictures(...)
int countPictures() - return pictures count
getFontGateData(...)
getFontGateData() always return 0
getType(...)
string getType() - return 'dtBitmaps'
hasBody(...)
bool hasBody(bool prepareExport) - return true if non-empty body layer is present
hasColors(...)
bool hasColors() - return true if colors is present
hasHints(...)
bool hasHints() - return true if hints is present
hasPictures(...)
bool hasPictures() - return true if pictures is present
modified(...)
bool modified() - always return false
setParent(...)
setParent(fgGlyph) - set parent glyph
status(...)
'gdsOK'/'gdsInvalid' status()
transform(...)
transform(fgMatrix) - transform data
updated(...)
updated() - mark data as changed, reset internal caches

Descriptors

bitmaps
(fgBitmaps) - list of fgRendered objects

Attributes

__new__ = <built-in method __new__ of type object>
T.__new__(S, ...) -> a new object with type S, a subtype of T

bad

fontgate.fgBitmapsData.bad = bad(...)
bool bad() - return true if status isn't gdsOK

bitmaps

fontgate.fgBitmapsData.bitmaps
(fgBitmaps) - list of fgRendered objects

boundingBox

fontgate.fgBitmapsData.boundingBox = boundingBox(...)
fgRect boundingBox(fgGlyphsR, fgMatrix, bool prepareExport) - calculate bounding box

copy

fontgate.fgBitmapsData.copy = copy(...)
fgBitmapsData copy() - create alone copy of data

countPictures

fontgate.fgBitmapsData.countPictures = countPictures(...)
int countPictures() - return pictures count

getFontGateData

fontgate.fgBitmapsData.getFontGateData = getFontGateData(...)
getFontGateData() always return 0

getType

fontgate.fgBitmapsData.getType = getType(...)
string getType() - return 'dtBitmaps'

hasBody

fontgate.fgBitmapsData.hasBody = hasBody(...)
bool hasBody(bool prepareExport) - return true if non-empty body layer is present

hasColors

fontgate.fgBitmapsData.hasColors = hasColors(...)
bool hasColors() - return true if colors is present

hasHints

fontgate.fgBitmapsData.hasHints = hasHints(...)
bool hasHints() - return true if hints is present

hasPictures

fontgate.fgBitmapsData.hasPictures = hasPictures(...)
bool hasPictures() - return true if pictures is present

modified

fontgate.fgBitmapsData.modified = modified(...)
bool modified() - always return false

OK

fontgate.fgBitmapsData.OK = OK(...)
bool OK() - return true if status is gdsOK

setParent

fontgate.fgBitmapsData.setParent = setParent(...)
setParent(fgGlyph) - set parent glyph

status

fontgate.fgBitmapsData.status = status(...)
'gdsOK'/'gdsInvalid' status()

transform

fontgate.fgBitmapsData.transform = transform(...)
transform(fgMatrix) - transform data

updated

fontgate.fgBitmapsData.updated = updated(...)
updated() - mark data as changed, reset internal caches