Package: cairo
Function cairo:matrix-init-translate
Lambda Listcairo:matrix-init-translate (matrix tx ty) ArgumentsReturn ValueThe initialized cairo:matrix-t instance. Details Initializes the matrix to a transformation that translates by tx and ty in the x and y dimensions, respectively. Examples(cairo:with-matrix (matrix :translate 1/2 2) (cairo:matrix-to-float matrix)) => (1.0d0 0.0d0 0.0d0 1.0d0 0.5d0 2.0d0) | See also |
2025-1-18