Skip to content

typerig.proxy.fl.gui.overlay_math

overlay_math

Classes

Complete member index

Every captured member retains its own identity. Identical captured declaration text is linked once; this does not establish native inheritance or interchangeable objects.

Member Kind Signature Summary
AFFINE_IDENTITY attribute
AXIS_DOMINANT attribute
AXIS_X attribute
AXIS_XY attribute
AXIS_Y attribute
BAR_LONG attribute
BAR_SHORT attribute
FINE_FACTOR attribute
HANDLE_SHAPES attribute
SHAPE_BAR_H attribute
SHAPE_BAR_V attribute
SHAPE_CIRCLE attribute
SHAPE_DIAMOND attribute
SHAPE_SQUARE attribute
__version__ attribute (shared captured text)
affine_apply function (a, x, y)
affine_close function (a, b, tol=1e-09)
affine_compose function (a, b) Return the affine that applies a first, then b (Qt: a * b).
affine_det function (a)
affine_from_points function (src, dst) Solve the affine mapping three source points onto three targets.
affine_invert function (a) Inverse affine.
affine_is_invertible function (a, eps=1e-12)
affine_scale function (a) Uniform scale estimate (sqrt |det|); equals |m11| for a pure scale/flip.
clamp function (value, lo, hi)
constrain_delta function (dx, dy, axis) Apply a drag axis constraint to a delta.
contour_ops function (nodes, closed=True) Walk one contour's nodes into path ops (font units).
deslant function (x, y, a) Slanted -> upright: (x - y * tan(a), y).
drag_delta function (press, cur, axis=AXIS_XY, fine=False, fine_factor=FINE_FACTOR) Delta from the press point (never accumulated, so no drift).
drag_point function (press, cur, axis=AXIS_XY, fine=False, fine_factor=FINE_FACTOR) Effective dragged point: press + constrained (and possibly fine) delta.
hit_test_shape function (shape, cx, cy, radius, px, py, tol=3.0) True if (px, py) hits the handle drawn at (cx, cy), with tolerance in px.
iter_core_contours function (obj) Yield core Contour objects from a core Layer, Shape, Contour or list of those.
layer_ops function (obj) Path ops for every contour in a core Layer/Shape/Contour (or list).
ops_bounds function (ops) Control-point bounds (xmin, ymin, xmax, ymax) of path ops, or None.
pick_handle function (items, px, py, tol=3.0) Pick the topmost hit among items.
reslant function (x, y, a) Upright -> slanted: (x + y * tan(a), y).
round_sig function (values, digits=3) Round a sequence of floats into a hashable tuple (for view signatures).
scale_from_drag function (anchor, press, cur, eps=1e-09) Generic 1D scale from dragging a point away from/toward a fixed anchor.
shape_half_extents function (shape, radius) (half_width, half_height) of a handle shape in screen px.
shape_hit_rect function (shape, cx, cy, radius, tol=3.0, pad=0.0) Axis-aligned rect (x0, y0, x1, y1) that covers the hit region plus pad.
slant_bounds function (points, a=0.0) Bounds (xmin, ymin, xmax, ymax) of (x, y) points in deslanted space (plain bounds for a == 0), or None for no points.