Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Wall.TransformDefinition of affine transformation matrices.
val identity : tval average_scale : t -> floatval scale_x : t -> floatval scale_y : t -> floatval translation : x:float -> y:float -> tval rotation : a:float -> tval scale : sx:float -> sy:float -> tval skew : sx:float -> sy:float -> tval px : t -> float -> float -> floatpx t x y is the x coordinate of the point (x,y) after applying the affine transformation t.
val py : t -> float -> float -> floatpy t x y is the y coordinate of the point (x,y) after applying the affine transformation t.
val linear_px : t -> float -> float -> floatlinear_px t x y is the x coordinate of the point (x,y) after applying the linear transformation described by t. Translation is ignored!
val linear_py : t -> float -> float -> floatlinear_py t x y is the y coordinate of the point (x,y) after applying the linear transformation described by t. Translation is ignored!