Skip to content

# `flGlyphInfo`

## fontlab.flGlyphInfo = class flGlyphInfo(object)

      flGlyphInfo representation

      Constructors:
        flGlyphInfo()
        flGlyphInfo(flObject)
        flGlyphInfo(flGlyphInfo)
        flGlyphInfo(flGlyph, QTransform)
        flGlyphInfo(fgSymbol, fgGlyph, fgFont)

#### Methods

__delattr__(...)

      x.__delattr__('name') <==> del x.name

__eq__(...)

      x.__eq__(y) <==> x==y

__ge__(...)

      x.__ge__(y) <==> x>=y

__getattribute__(...)

      x.__getattribute__('name') <==> x.name

__gt__(...)

      x.__gt__(y) <==> x>y

__init__(...)

      x.__init__(...) initializes x; see help(type(x)) for signature

__le__(...)

      x.__le__(y) <==> x<=y

__lt__(...)

      x.__lt__(y) <==> x

__ne__(...)

      x.__ne__(y) <==> x!=y

__repr__(...)

      x.__repr__() <==> repr(x)

__setattr__(...)

      x.__setattr__('name', value) <==> x.name = value

applyTransform(...)

      applyTransform()

applyTransformTo(...)

      applyTransformTo(uint type)

changed(...)

      changed()

checkInitHistoryState(...)

      checkInitHistoryState(uint history_ix)

clearAboveHistory(...)

      clearAboveHistory(uint history_ix)

clearFlag(...)

      clearFlag(uint f)

clearFlags(...)

      clearFlags()

clone(...)

      Clone the object

createBoundingBox(...)

      createBoundingBox()

createHistoryState(...)

      createHistoryState(uint history_ix)

currentHistoryState(...)

      currentHistoryIx()

flag(...)

      flag(uint f)

getNearbyContours(...)

      list(flContourInfo) getNearbyContours(QPointF, double max_dist, QString exclude_attr)

getProperties(...)

      Get object's properties list

getProperty(...)

      getProperty('key') - get object property by 'key' or number

getPropertyFloat(...)

      getPropertyFloat('key') - get float object property by 'key'

getPropertyInt(...)

      getPropertyInt('key') - get int object property by 'key'

getTopHitShape(...)

      flShapeInfo/Nothing getTopHitShape(QPointF)

hasHistoryState(...)

      hasHistoryState(uint history_ix)

historyStates(...)

      historyStates(bool accepted_state)

hitToShape(...)

      bool hitToShape(QPointF)

independedAll(...)

      independedAll()

initialHistoryState(...)

      initialHistoryIx()

isEqual(...)

      isEqual(flObject)

kerningOffset(...)

      double kerningOffset(bool useKerning)

release(...)

      release()

remove(...)

      remove([flObject])

removeChild(...)

      removeChild(flObject)

removeProperty(...)

      removeProperty('key')

restoreHistoryState(...)

      restoreHistoryState(uint history_ix)

setBoundAscender(...)

      setBoundAscender(double)

setBoundDescender(...)

      setBoundDescender(double)

setBoundLeft(...)

      setBoundLeft(double)

setBoundRight(...)

      setBoundRight(double)

setFlag(...)

      setFlag(uint f [, bool value])

setGlyphScale(...)

      setGlyphScale(double, double)

setKerningOffset(...)

      setKerningOffset(double offs)

setProperty(...)

      setProperty('key', value) - set object property by 'key' or number

setPropertyFloat(...)

      setPropertyFloat('key', value) - set float object property by 'key'

setPropertyInt(...)

      setPropertyInt('key', value) - set int object property by 'key'

tag(...)

      tag([string])

update(...)

      update()

#### Static methods

cloneObject(...)

      flObject cloneObject(const flObject&);

createObject(...)

      flObject/Nothing createObject(int);

haveObject(...)

      bool haveObject(uint);

instanceType(...)

      int instanceType();

#### Descriptors

bodyRectOnCanvas

      QRectF

boundingBox

      QRectF

brectOnCanvas

      QRectF

changedRect

      QRectF

dist

      double

fontSize

      int

glyph

      flGlyph

glyphRectCanvas

      QRectF

hasChanges

      bool

hasHistoryStates

      bool

id

      object id

isActive

      bool

isChanged

      bool

isNull

      bool

isNullGlyph

      bool

isPresent

      bool

isReleased

      bool

isSelected

      bool

isValid

      bool

leftOffset

      double

metricsRectOnCanvas

      QRectF

name

      QString

refCnt

      object references count

rightOffset

      double

shapesBoundingBoxOnCanvas

      QRectF

state

      uint

symbol

      fgSymbol

textBlock

      flTextBlock, int

transform

      transform matrix

type

      object type

#### Attributes

__new__ = <built-in method __new__ of type object>

      T.__new__(S, ...) -> a new object with type S, a subtype of T

flObjectFlags = {'ofAnchored': 64, 'ofChanged': 2, 'ofHistory': 128, 'ofIgnore': 8, 'ofIgnoreChanges': 4, 'ofPassive': 16, 'ofReleased': 1, 'ofSlowUpdate': 32}

## `applyTransform`

fontlab.flGlyphInfo.applyTransform = applyTransform(...)

      applyTransform()

## `applyTransformTo`

fontlab.flGlyphInfo.applyTransformTo = applyTransformTo(...)

      applyTransformTo(uint type)

## `bodyRectOnCanvas`

fontlab.flGlyphInfo.bodyRectOnCanvas

      QRectF

## `boundingBox`

fontlab.flGlyphInfo.boundingBox

      QRectF

## `brectOnCanvas`

fontlab.flGlyphInfo.brectOnCanvas

      QRectF

## `changed`

fontlab.flGlyphInfo.changed = changed(...)

      changed()

## `changedRect`

fontlab.flGlyphInfo.changedRect

      QRectF

## `checkInitHistoryState`

fontlab.flGlyphInfo.checkInitHistoryState = checkInitHistoryState(...)

      checkInitHistoryState(uint history_ix)

## `clearAboveHistory`

fontlab.flGlyphInfo.clearAboveHistory = clearAboveHistory(...)

      clearAboveHistory(uint history_ix)

## `clearFlag`

fontlab.flGlyphInfo.clearFlag = clearFlag(...)

      clearFlag(uint f)

## `clearFlags`

fontlab.flGlyphInfo.clearFlags = clearFlags(...)

      clearFlags()

## `clone`

fontlab.flGlyphInfo.clone = clone(...)

      Clone the object

## `cloneObject`

fontlab.flGlyphInfo.cloneObject = cloneObject(...)

      flObject cloneObject(const flObject&);

## `createBoundingBox`

fontlab.flGlyphInfo.createBoundingBox = createBoundingBox(...)

      createBoundingBox()

## `createHistoryState`

fontlab.flGlyphInfo.createHistoryState = createHistoryState(...)

      createHistoryState(uint history_ix)

## `createObject`

fontlab.flGlyphInfo.createObject = createObject(...)

      flObject/Nothing createObject(int);

## `currentHistoryState`

fontlab.flGlyphInfo.currentHistoryState = currentHistoryState(...)

      currentHistoryIx()

## `dist`

fontlab.flGlyphInfo.dist

      double

## `flag`

fontlab.flGlyphInfo.flag = flag(...)

      flag(uint f)

## `flObjectFlags`

fontlab.flGlyphInfo.flObjectFlags = {'ofAnchored': 64, 'ofChanged': 2, 'ofHistory': 128, 'ofIgnore': 8, 'ofIgnoreChanges': 4, 'ofPassive': 16, 'ofReleased': 1, 'ofSlowUpdate': 32}

## `fontSize`

fontlab.flGlyphInfo.fontSize

      int

## `getNearbyContours`

fontlab.flGlyphInfo.getNearbyContours = getNearbyContours(...)

      list(flContourInfo) getNearbyContours(QPointF, double max_dist, QString exclude_attr)

## `getProperties`

fontlab.flGlyphInfo.getProperties = getProperties(...)

      Get object's properties list

## `getProperty`

fontlab.flGlyphInfo.getProperty = getProperty(...)

      getProperty('key') - get object property by 'key' or number

## `getPropertyFloat`

fontlab.flGlyphInfo.getPropertyFloat = getPropertyFloat(...)

      getPropertyFloat('key') - get float object property by 'key'

## `getPropertyInt`

fontlab.flGlyphInfo.getPropertyInt = getPropertyInt(...)

      getPropertyInt('key') - get int object property by 'key'

## `getTopHitShape`

fontlab.flGlyphInfo.getTopHitShape = getTopHitShape(...)

      flShapeInfo/Nothing getTopHitShape(QPointF)

## `glyph`

fontlab.flGlyphInfo.glyph

      flGlyph

## `glyphRectCanvas`

fontlab.flGlyphInfo.glyphRectCanvas

      QRectF

## `hasChanges`

fontlab.flGlyphInfo.hasChanges

      bool

## `hasHistoryState`

fontlab.flGlyphInfo.hasHistoryState = hasHistoryState(...)

      hasHistoryState(uint history_ix)

## `hasHistoryStates`

fontlab.flGlyphInfo.hasHistoryStates

      bool

## `haveObject`

fontlab.flGlyphInfo.haveObject = haveObject(...)

      bool haveObject(uint);

## `historyStates`

fontlab.flGlyphInfo.historyStates = historyStates(...)

      historyStates(bool accepted_state)

## `hitToShape`

fontlab.flGlyphInfo.hitToShape = hitToShape(...)

      bool hitToShape(QPointF)

## `id`

fontlab.flGlyphInfo.id

      object id

## `independedAll`

fontlab.flGlyphInfo.independedAll = independedAll(...)

      independedAll()

## `initialHistoryState`

fontlab.flGlyphInfo.initialHistoryState = initialHistoryState(...)

      initialHistoryIx()

## `instanceType`

fontlab.flGlyphInfo.instanceType = instanceType(...)

      int instanceType();

## `isActive`

fontlab.flGlyphInfo.isActive

      bool

## `isChanged`

fontlab.flGlyphInfo.isChanged

      bool

## `isEqual`

fontlab.flGlyphInfo.isEqual = isEqual(...)

      isEqual(flObject)

## `isNull`

fontlab.flGlyphInfo.isNull

      bool

## `isNullGlyph`

fontlab.flGlyphInfo.isNullGlyph

      bool

## `isPresent`

fontlab.flGlyphInfo.isPresent

      bool

## `isReleased`

fontlab.flGlyphInfo.isReleased

      bool

## `isSelected`

fontlab.flGlyphInfo.isSelected

      bool

## `isValid`

fontlab.flGlyphInfo.isValid

      bool

## `kerningOffset`

fontlab.flGlyphInfo.kerningOffset = kerningOffset(...)

      double kerningOffset(bool useKerning)

## `leftOffset`

fontlab.flGlyphInfo.leftOffset

      double

## `metricsRectOnCanvas`

fontlab.flGlyphInfo.metricsRectOnCanvas

      QRectF

## `name`

fontlab.flGlyphInfo.name

      QString

## `refCnt`

fontlab.flGlyphInfo.refCnt

      object references count

## `release`

fontlab.flGlyphInfo.release = release(...)

      release()

## `remove`

fontlab.flGlyphInfo.remove = remove(...)

      remove([flObject])

## `removeChild`

fontlab.flGlyphInfo.removeChild = removeChild(...)

      removeChild(flObject)

## `removeProperty`

fontlab.flGlyphInfo.removeProperty = removeProperty(...)

      removeProperty('key')

## `restoreHistoryState`

fontlab.flGlyphInfo.restoreHistoryState = restoreHistoryState(...)

      restoreHistoryState(uint history_ix)

## `rightOffset`

fontlab.flGlyphInfo.rightOffset

      double

## `setBoundAscender`

fontlab.flGlyphInfo.setBoundAscender = setBoundAscender(...)

      setBoundAscender(double)

## `setBoundDescender`

fontlab.flGlyphInfo.setBoundDescender = setBoundDescender(...)

      setBoundDescender(double)

## `setBoundLeft`

fontlab.flGlyphInfo.setBoundLeft = setBoundLeft(...)

      setBoundLeft(double)

## `setBoundRight`

fontlab.flGlyphInfo.setBoundRight = setBoundRight(...)

      setBoundRight(double)

## `setFlag`

fontlab.flGlyphInfo.setFlag = setFlag(...)

      setFlag(uint f [, bool value])

## `setGlyphScale`

fontlab.flGlyphInfo.setGlyphScale = setGlyphScale(...)

      setGlyphScale(double, double)

## `setKerningOffset`

fontlab.flGlyphInfo.setKerningOffset = setKerningOffset(...)

      setKerningOffset(double offs)

## `setProperty`

fontlab.flGlyphInfo.setProperty = setProperty(...)

      setProperty('key', value) - set object property by 'key' or number

## `setPropertyFloat`

fontlab.flGlyphInfo.setPropertyFloat = setPropertyFloat(...)

      setPropertyFloat('key', value) - set float object property by 'key'

## `setPropertyInt`

fontlab.flGlyphInfo.setPropertyInt = setPropertyInt(...)

      setPropertyInt('key', value) - set int object property by 'key'

## `shapesBoundingBoxOnCanvas`

fontlab.flGlyphInfo.shapesBoundingBoxOnCanvas

      QRectF

## `state`

fontlab.flGlyphInfo.state

      uint

## `symbol`

fontlab.flGlyphInfo.symbol

      fgSymbol

## `tag`

fontlab.flGlyphInfo.tag = tag(...)

      tag([string])

## `textBlock`

fontlab.flGlyphInfo.textBlock

      flTextBlock, int

## `transform`

fontlab.flGlyphInfo.transform

      transform matrix

## `type`

fontlab.flGlyphInfo.type

      object type

## `update`

fontlab.flGlyphInfo.update = update(...)

      update()