Skip to content

# `flModel`

## fontlab.flModel = class flModel(object)

      flModel representation

      Constructors:
      None, static only methods

#### Methods

__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

#### Static methods

createObject(...)

      flObject/Nothing createObject(int type)

getClassMask(...)

      int  getClassMask(int type)

instance(...)

      flModel instance()

isClassMask(...)

      bool isClassMask(int type)

notifyGlyphChanged(...)

      notifyGlyphChanged(unsigned long fg_glyphId)

notifyGlyphUpdate(...)

      notifyGlyphUpdate(unsigned long fg_glyphId)

notifyGlyphsChanged(...)

      notifyGlyphsChanged(QSet glyphs)

typeToStr(...)

      QString typeToStr(int type | flObject)

#### Attributes

ModelType = {'Anchor': 185, 'AnchorNode': 186, 'AnchorNodeToGuidelineCoords': 187, 'AutoShape': 55, 'Bezier': 48, 'Container': 8, 'Contour': 47, 'ContourInfo': 181, 'Controls': 14, 'Edge': 101, ...}

ObjectParameter = {'prmBrush': 2, 'prmPen': 3, 'prmStructure': 0, 'prmTransform': 1}

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

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

## `createObject`

fontlab.flModel.createObject = createObject(...)

      flObject/Nothing createObject(int type)

## `getClassMask`

fontlab.flModel.getClassMask = getClassMask(...)

      int  getClassMask(int type)

## `instance`

fontlab.flModel.instance = instance(...)

      flModel instance()

## `isClassMask`

fontlab.flModel.isClassMask = isClassMask(...)

      bool isClassMask(int type)

## `ModelType`

fontlab.flModel.ModelType = {'Anchor': 185, 'AnchorNode': 186, 'AnchorNodeToGuidelineCoords': 187, 'AutoShape': 55, 'Bezier': 48, 'Container': 8, 'Contour': 47, 'ContourInfo': 181, 'Controls': 14, 'Edge': 101, ...}

## `notifyGlyphChanged`

fontlab.flModel.notifyGlyphChanged = notifyGlyphChanged(...)

      notifyGlyphChanged(unsigned long fg_glyphId)

## `notifyGlyphsChanged`

fontlab.flModel.notifyGlyphsChanged = notifyGlyphsChanged(...)

      notifyGlyphsChanged(QSet glyphs)

## `notifyGlyphUpdate`

fontlab.flModel.notifyGlyphUpdate = notifyGlyphUpdate(...)

      notifyGlyphUpdate(unsigned long fg_glyphId)

## `ObjectParameter`

fontlab.flModel.ObjectParameter = {'prmBrush': 2, 'prmPen': 3, 'prmStructure': 0, 'prmTransform': 1}

## `typeToStr`

fontlab.flModel.typeToStr = typeToStr(...)

      QString typeToStr(int type | flObject)