Skip to content

fontgate.fgCurve · declarations 001

Back to fontgate.fgCurve

bbox

bbox() -> fgRect

fgRect bbox()

check

check(flatness: float, length: float, w0: float, w1: float) -> bool

bool check(float flatness, float length, float w0, float w1)

coefficients

coefficients(*args: Any, **kwargs: Any) -> Any

(fgPoint a, fgPoint b, fgPoint c, fgPoint d) coefficients()

curvature

curvature(t: float) -> float

float curvature(float t)

d1

d1(t: float) -> fgPoint

fgPoint d1(float t)

d2

d2(t: float) -> fgPoint

fgPoint d2(float t)

direction

direction(time: float) -> fgPoint

fgPoint direction(float time)

eseg

eseg(u: float) -> fgCurve

fgCurve eseg(float u)

flat

flat(parameter: float = ...) -> bool

bool flat(double parameter = almost_zero)

getExtrema

getExtrema(*args: Any, **kwargs: Any) -> Any

int getExtrema(bool h, [float] )

getInflection

getInflection(*args: Any, **kwargs: Any) -> Any

int getInflection( [float] )

hasExtrema

hasExtrema() -> bool

bool hasExtrema()

isConvex

isConvex(*args: Any, **kwargs: Any) -> Any

bool isConvex( [float area] )

len

len(quality: int) -> float

float len(int quality)

maximumDeviation

maximumDeviation() -> float

float maximumDeviation()

merge

merge(c: fgCurve) -> bool

bool merge(fgCurve c)

point

point(time: float) -> fgPoint

fgPoint point(float time)

q0 instance-attribute

q0: Any

(fgPoint)

q1 instance-attribute

q1: Any

(fgPoint)

q2 instance-attribute

q2: Any

(fgPoint)

q3 instance-attribute

q3: Any

(fgPoint)

quickLen

quickLen() -> float

float quickLen()

render

render(*args: Any, **kwargs: Any) -> Any

int render([fgPoint/fgPointU], int quality)

seg

seg(stime: float, etime: float) -> fgCurve

fgCurve seg(float stime, float etime)

sseg

sseg(u: float) -> fgCurve

fgCurve sseg(float u)

time

time(*args: Any, **kwargs: Any) -> Any

float time(fgPoint[, int quality[, [float min_dist] ]])