Package: gsk
Function gsk:transform-to-string
Lambda Listgsk:transform-to-string (transform) ArgumentsReturn ValueThe string for transform. Details
Converts a tansform matrix into a string that is suitable for printing and can later be parsed with the gsk:transform-parse function. Examples(gsk:transform-to-string (gsk:transform-new)) => "none" (graphene:with-point (p 1/2 2) (let ((transform (gsk:transform-translate (gsk:transform-new) p))) (gsk:transform-to-string transform))) => "translate(0.5, 2)" (gsk:transform-to-string (gsk:transform-parse "translate(1,2)")) => "translate(1, 2)" | See also |
2024-4-21