Sure, let me clearify.
I want to draw text to an image tile in a dialog box using the Vector_Image command . I have lists of points that I have extracted from exploded text which are all of the ASCII characters 1 unit tall at the origin. Translating the points to create a list of segments for words is easy, but I want to make it also scale and roate the text.
So. I have a list of 2D points....
((0.032 0.0432)
(0.432 0.3432)
(0.432 0.4323)
...
)
I need three reosonably fast functions such as this:
(TranslatePoints List BasePoint DestinationPoint)
(RotatePoints List BasePoint Angle)
(ScalePoints List BasePoint ScaleFactor)
They will return a new list int the same form which I will feed to the Vector_Image function. They should be fast enough to translate a few hundred segments without a noticable pause (not BLAZING fast or anything).
I'm writing a generic function for writing text to an image tile or image button. I have a "font" file which is a list of points for each character and I will ultimate have a function that will write a line of text to an image at a location, size and rotation, using a given font.
(Text_Image Key Point Angle Height String Font Color)
I figure point transformation is prety basic and someone already has a good, fast function to scale and rotate a list of points better than what I could write.