Next: Affine Transformations for Transforms, Previous: Returning Information for Transforms, Up: Transform Reference
const
function: void show ([string text = ""])If the optional argument text is used, and is not the empty
string
(""), text is printed on a line of its own to the standard output first. Otherwise,"Transform:"
is printed on a line of its own to the standard output. Then, the elements ofmatrix
are printed to standard output.Transform t; t.show("t:"); -| t: 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 t.scale(1, 2, 3); t.shift(1, 1, 1); t.rotate(90, 90, 90); t.show("t:"); -| t: 0 0 1 0 0 2 0 0 -3 0 0 0 -1 1 1 1