TextObject rotate and smoothing
Posted: Mon Jan 26, 2026 12:47 pm
I notice that although not mention in the help for DisplayTextObject, you can rotate the text by passing a rotate argument.
Is this just forgotten in the manual or am I supposed to have catched this elsewhere in the docs?
With RotateTextObject you can also set the smooth tag to true. But I find that the smothening effect is quite negligible.
Similar if I rotate a brush and set the smooth tag, I can hardly notice any smoothening effect. Am I using the smooth tag wrong?
Displaying the text as a blured brush will make it apear anti-alised.
In the example below I saved and loaded the textobject as a jpg file to make it a non-palette brush for the blurbrush command. Is there a better way to make the brush non-palette?
Is this just forgotten in the manual or am I supposed to have catched this elsewhere in the docs?
With RotateTextObject you can also set the smooth tag to true. But I find that the smothening effect is quite negligible.
Similar if I rotate a brush and set the smooth tag, I can hardly notice any smoothening effect. Am I using the smooth tag wrong?
Displaying the text as a blured brush will make it apear anti-alised.
In the example below I saved and loaded the textobject as a jpg file to make it a non-palette brush for the blurbrush command. Is there a better way to make the brush non-palette?
Code: Select all
SetDefaultLoader(#LOADER_FONT, "inbuilt")
SetFont(#SERIF, 72)
SetFontColor(#WHITE)
CreateTextObject(1, "TEST_test")
CreateTextObject(2, "TEST_test")
RotateTextObject(2, 15)
CreateTextObject(3, "TEST_test")
RotateTextObject(3, 15, True)
DisplayTextObject(1, 100, 80, {Rotate = 15})
DisplayTextObject(2, 100, 80)
DisplayTextObject(3, 100, 160)
ConvertToBrush(#TEXTOBJECT, 1, 1)
RotateBrush(1, 15, 1, 1, True)
SaveBrush(1, "testbrush.jpg", {Format = #IMGFMT_JPEG, Quality = 100})
LoadBrush(2, "testbrush.jpg")
BlurBrush(2)
DisplayBrush(2, 100, 320)
DisplayBrush(1, 100, 240)
WaitLeftMouse