(5.5.0) scribble_draw_set_transform - JujuAdams/ScribbleOldDocs GitHub Wiki

scribble_draw_set_transform(xscale, yscale, angle)

Returns: N/A (0)

Argument Name Purpose
0 xscale x scale of the text element
1 yscale y scale of the text element
2 angle rotation angle of the text element

The transform operates relative to the origin of the text element i.e. rotation will happen using the origin as the centre of rotation. scribble_set_box_alignment() can be used to draw text offset from the origin.

This script sets Scribble's draw state. All text drawn with scribble_draw() will use these settings until they're overwritten, either by calling this script again or by calling scribble_draw_reset() or scribble_draw_set_state().

⚠️ **GitHub.com Fallback** ⚠️