package fontforge-of-ocaml

  1. Overview
  2. Docs

Point API: complete (compared to the Python API) except the Pickling Method reduce.

type t

Abstract type for points

Methods

val dup : t -> t

Returns a copy of the current point.

val transform : matrix:PsMat.t -> t -> unit

Returns a copy of the current point.

Transforms the point by the transformation matrix.

TODO

  • val reduce:

Attributes

Submodules giving read and write accesses to FontForge point attributes.

module type BoolAttr = Attr with type t = t and type attr = bool
module type FloatAttr = Attr with type t = t and type attr = float
module X : FloatAttr

The x location of the point.

module Y : FloatAttr

The x location of the point.

The y location of the point.

Whether this is an on curve point or an off curve point (a control point).

OCaml

Innovation. Community. Security.