Skip to content

# `TransformFrame`

## fontlab.TransformFrame = class TransformFrame(object)

      TransformFrame representation

      Constructors:

#### 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

boundingRect(...)

      QRectF boundingRect()

bw(...)

      double bw()

doTransformation(...)

      void doTransformation(int code, QPointF value)

flipHorizontal(...)

      void flipHorizontal()

flipVertical(...)

      void flipVertical()

getControlPos(...)

      QPointF getControlPos(TransformFrameControls)

getMapped(...)

      TransformFrame getMapped(QTransform t)

getTransform(...)

      QTransform getTransform()

horizontalReflection(...)

      void horizontalReflection()

initCenter(...)

      void initCenter()

lh(...)

      double lh()

mb(...)

      QPointF mb()

mh(...)

      double mh()

ml(...)

      QPointF ml()

mr(...)

      QPointF mr()

mt(...)

      QPointF mt()

mw(...)

      double mw()

polygon(...)

      QPolygonF polygon()

prepareTransformations(...)

      void prepareTransformations([TransformFrameControls control, QPointF p,] double scale)

rh(...)

      double rh()

rotate(...)

      void rotate(double)

rotate180(...)

      void rotate180()

scale(...)

      void scale(QPointF s)

setControlPos(...)

      void setControlPos([TransformFrameControls control,] QPointF position, bool reflection, bool proportional, bool fixed)

setProjectionPos(...)

      void setProjectionPos([TransformFrameControls control,] QPointF position, bool reflection, bool proportional, bool fixed)

slant(...)

      void slant(double angle)

translate(...)

      void translate(QPointF)

tw(...)

      double tw()

verticalReflection(...)

      void verticalReflection()

#### Static methods

expandPolygon(...)

      QPolygonF expandPolygon(QPolygonF polygon)

#### Descriptors

bl

      QPointF

br

      QPointF

cr

      QPointF

tl

      QPointF

tr

      QPointF

#### Attributes

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

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

## `bl`

fontlab.TransformFrame.bl

      QPointF

## `boundingRect`

fontlab.TransformFrame.boundingRect = boundingRect(...)

      QRectF boundingRect()

## `br`

fontlab.TransformFrame.br

      QPointF

## `bw`

fontlab.TransformFrame.bw = bw(...)

      double bw()

## `cr`

fontlab.TransformFrame.cr

      QPointF

## `doTransformation`

fontlab.TransformFrame.doTransformation = doTransformation(...)

      void doTransformation(int code, QPointF value)

## `expandPolygon`

fontlab.TransformFrame.expandPolygon = expandPolygon(...)

      QPolygonF expandPolygon(QPolygonF polygon)

## `flipHorizontal`

fontlab.TransformFrame.flipHorizontal = flipHorizontal(...)

      void flipHorizontal()

## `flipVertical`

fontlab.TransformFrame.flipVertical = flipVertical(...)

      void flipVertical()

## `getControlPos`

fontlab.TransformFrame.getControlPos = getControlPos(...)

      QPointF getControlPos(TransformFrameControls)

## `getMapped`

fontlab.TransformFrame.getMapped = getMapped(...)

      TransformFrame getMapped(QTransform t)

## `getTransform`

fontlab.TransformFrame.getTransform = getTransform(...)

      QTransform getTransform()

## `horizontalReflection`

fontlab.TransformFrame.horizontalReflection = horizontalReflection(...)

      void horizontalReflection()

## `initCenter`

fontlab.TransformFrame.initCenter = initCenter(...)

      void initCenter()

## `lh`

fontlab.TransformFrame.lh = lh(...)

      double lh()

## `mb`

fontlab.TransformFrame.mb = mb(...)

      QPointF mb()

## `mh`

fontlab.TransformFrame.mh = mh(...)

      double mh()

## `ml`

fontlab.TransformFrame.ml = ml(...)

      QPointF ml()

## `mr`

fontlab.TransformFrame.mr = mr(...)

      QPointF mr()

## `mt`

fontlab.TransformFrame.mt = mt(...)

      QPointF mt()

## `mw`

fontlab.TransformFrame.mw = mw(...)

      double mw()

## `polygon`

fontlab.TransformFrame.polygon = polygon(...)

      QPolygonF polygon()

## `prepareTransformations`

fontlab.TransformFrame.prepareTransformations = prepareTransformations(...)

      void prepareTransformations([TransformFrameControls control, QPointF p,] double scale)

## `rh`

fontlab.TransformFrame.rh = rh(...)

      double rh()

## `rotate`

fontlab.TransformFrame.rotate = rotate(...)

      void rotate(double)

## `rotate180`

fontlab.TransformFrame.rotate180 = rotate180(...)

      void rotate180()

## `scale`

fontlab.TransformFrame.scale = scale(...)

      void scale(QPointF s)

## `setControlPos`

fontlab.TransformFrame.setControlPos = setControlPos(...)

      void setControlPos([TransformFrameControls control,] QPointF position, bool reflection, bool proportional, bool fixed)

## `setProjectionPos`

fontlab.TransformFrame.setProjectionPos = setProjectionPos(...)

      void setProjectionPos([TransformFrameControls control,] QPointF position, bool reflection, bool proportional, bool fixed)

## `slant`

fontlab.TransformFrame.slant = slant(...)

      void slant(double angle)

## `tl`

fontlab.TransformFrame.tl

      QPointF

## `tr`

fontlab.TransformFrame.tr

      QPointF

## `translate`

fontlab.TransformFrame.translate = translate(...)

      void translate(QPointF)

## `tw`

fontlab.TransformFrame.tw = tw(...)

      double tw()

## `verticalReflection`

fontlab.TransformFrame.verticalReflection = verticalReflection(...)

      void verticalReflection()