CurveEx

fontlab.CurveEx = class CurveEx(object)

CurveEx representation

Constructors:
  CurveEx() - default
  CurveEx(QPointF p0, QPointF p1[, int leftIdx=0[, int _rightIdx=0]])
  CurveEx(QPointF p0, QPointF p1, QPointF p2, QPointF p3)
  CurveEx( list(QPointF) )

Methods

__add__(...)
x.__add__(y) <==> x+y
__delattr__(...)
x.__delattr__('name') <==> del x.name
__delitem__(...)
x.__delitem__(y) <==> del x[y]
__delslice__(...)
x.__delslice__(i, j) <==> del x[i:j]

Use of negative indices is not supported.
__getattribute__(...)
x.__getattribute__('name') <==> x.name
__getitem__(...)
x.__getitem__(y) <==> x[y]
__getslice__(...)
x.__getslice__(i, j) <==> x[i:j]

Use of negative indices is not supported.
__init__(...)
x.__init__(...) initializes x; see help(type(x)) for signature
__len__(...)
x.__len__() <==> len(x)
__mul__(...)
x.__mul__(n) <==> x*n
__repr__(...)
x.__repr__() <==> repr(x)
__rmul__(...)
x.__rmul__(n) <==> n*x
__setattr__(...)
x.__setattr__('name', value) <==> x.name = value
__setitem__(...)
x.__setitem__(i, y) <==> x[i]=y
__setslice__(...)
x.__setslice__(i, j, y) <==> x[i:j]=y

Use  of negative indices is not supported.
applyTransform(...)
void applyTransform(QTransform& tx)
empty(...)
bool empty()
extremum(...)
bool extremum(CurveEx prev)
fastLength(...)
double fastLength()
improve(...)
bool improve([double curvature = 1.0])
smooth(...)
bool smooth(CurveEx prev)
smoothCurvature(...)
CurveEx smoothCurvature(CurveEx c1, bool complete)
split(...)
bool split(CurveEx, CurveEx)
updateBRect(...)
void updateBRect()

Descriptors

bcp0
QPointF bcp0
bcp1
QPointF bcp1
bcv0
QPointF bcv0
bcv1
QPointF bcv1
brect
QRectF
contourIx
int
countPoints
int
leftIdx
int
p0
QPointF p0
p1
QPointF p1
paramT
int
rightIdx
int

Attributes

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

applyTransform

fontlab.CurveEx.applyTransform = applyTransform(...)
void applyTransform(QTransform& tx)

bcp0

fontlab.CurveEx.bcp0
QPointF bcp0

bcp1

fontlab.CurveEx.bcp1
QPointF bcp1

bcv0

fontlab.CurveEx.bcv0
QPointF bcv0

bcv1

fontlab.CurveEx.bcv1
QPointF bcv1

brect

fontlab.CurveEx.brect
QRectF

contourIx

fontlab.CurveEx.contourIx
int

countPoints

fontlab.CurveEx.countPoints
int

empty

fontlab.CurveEx.empty = empty(...)
bool empty()

extremum

fontlab.CurveEx.extremum = extremum(...)
bool extremum(CurveEx prev)

fastLength

fontlab.CurveEx.fastLength = fastLength(...)
double fastLength()

improve

fontlab.CurveEx.improve = improve(...)
bool improve([double curvature = 1.0])

leftIdx

fontlab.CurveEx.leftIdx
int

p0

fontlab.CurveEx.p0
QPointF p0

p1

fontlab.CurveEx.p1
QPointF p1

paramT

fontlab.CurveEx.paramT
int

rightIdx

fontlab.CurveEx.rightIdx
int

smooth

fontlab.CurveEx.smooth = smooth(...)
bool smooth(CurveEx prev)

smoothCurvature

fontlab.CurveEx.smoothCurvature = smoothCurvature(...)
CurveEx smoothCurvature(CurveEx c1, bool complete)

split

fontlab.CurveEx.split = split(...)
bool split(CurveEx, CurveEx)

updateBRect

fontlab.CurveEx.updateBRect = updateBRect(...)
void updateBRect()