fgCurve
fontgate.fgCurve = class fgCurve(object)
Curve representation Constructors: fgCurve() - default fgCurve(fgCurve) - copy fgCurve( [4 x fgPoint] ) fgCurve( (q0, q1, q2, q3) ) fgCurve( fgPoint, fgPoint ) fgCurve( fgPoint, fgPoint, fgPoint ) fgCurve( fgPoint, fgPoint, fgPoint, fgPoint ) fgCurve( fgCurve, float t0, float t1 )
Methods
- __delattr__(...)
-
x.__delattr__('name') <==> del x.name
- __getattribute__(...)
-
x.__getattribute__('name') <==> x.name
- __setattr__(...)
-
x.__setattr__('name', value) <==> x.name = value
- asDict(...)
-
represent object as dictionary
- asTuple(...)
-
represent object as tuple
- coefficients(...)
-
(fgPoint a, fgPoint b, fgPoint c, fgPoint d) coefficients()
- getExtrema(...)
-
int getExtrema(bool h, [float] )
- getInflection(...)
-
int getInflection( [float] )
- hasExtrema(...)
-
bool hasExtrema()
- maximumDeviation(...)
-
float maximumDeviation()
Descriptors
- q0
-
(fgPoint)
- q1
-
(fgPoint)
- q2
-
(fgPoint)
- q3
-
(fgPoint)
Attributes
- __new__ = <built-in method __new__ of type object>
-
T.__new__(S, ...) -> a new object with type S, a subtype of T
asDict
- fontgate.fgCurve.asDict = asDict(...)
-
represent object as dictionary
asTuple
- fontgate.fgCurve.asTuple = asTuple(...)
-
represent object as tuple
bbox
- fontgate.fgCurve.bbox = bbox(...)
-
fgRect bbox()
check
- fontgate.fgCurve.check = check(...)
-
bool check(float flatness, float length, float w0, float w1)
coefficients
- fontgate.fgCurve.coefficients = coefficients(...)
-
(fgPoint a, fgPoint b, fgPoint c, fgPoint d) coefficients()
curvature
- fontgate.fgCurve.curvature = curvature(...)
-
float curvature(float t)
d1
- fontgate.fgCurve.d1 = d1(...)
-
fgPoint d1(float t)
d2
- fontgate.fgCurve.d2 = d2(...)
-
fgPoint d2(float t)
direction
- fontgate.fgCurve.direction = direction(...)
-
fgPoint direction(float time)
eseg
- fontgate.fgCurve.eseg = eseg(...)
-
fgCurve eseg(float u)
flat
- fontgate.fgCurve.flat = flat(...)
-
bool flat(double parameter = almost_zero)
getExtrema
- fontgate.fgCurve.getExtrema = getExtrema(...)
-
int getExtrema(bool h, [float] )
getInflection
- fontgate.fgCurve.getInflection = getInflection(...)
-
int getInflection( [float] )
hasExtrema
- fontgate.fgCurve.hasExtrema = hasExtrema(...)
-
bool hasExtrema()
isConvex
- fontgate.fgCurve.isConvex = isConvex(...)
-
bool isConvex( [float area] )
len
- fontgate.fgCurve.len = len(...)
-
float len(int quality)
maximumDeviation
- fontgate.fgCurve.maximumDeviation = maximumDeviation(...)
-
float maximumDeviation()
merge
- fontgate.fgCurve.merge = merge(...)
-
bool merge(fgCurve c)
point
- fontgate.fgCurve.point = point(...)
-
fgPoint point(float time)
q0
- fontgate.fgCurve.q0
-
(fgPoint)
q1
- fontgate.fgCurve.q1
-
(fgPoint)
q2
- fontgate.fgCurve.q2
-
(fgPoint)
q3
- fontgate.fgCurve.q3
-
(fgPoint)
quickLen
- fontgate.fgCurve.quickLen = quickLen(...)
-
float quickLen()
render
- fontgate.fgCurve.render = render(...)
-
int render([fgPoint/fgPointU], int quality)
seg
- fontgate.fgCurve.seg = seg(...)
-
fgCurve seg(float stime, float etime)
sseg
- fontgate.fgCurve.sseg = sseg(...)
-
fgCurve sseg(float u)
time
- fontgate.fgCurve.time = time(...)
-
float time(fgPoint[, int quality[, [float min_dist] ]])