PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

Font stretching.

I noticed that on the splash screen, it has text displayed in several sizes. The font looks like it was stretched about to get the different sizes.

Perhaps I'm missing something obvious (I already looked at the documentation to try and find my own answer), but I was wondering how this was accomplished?

Thanks in advance.
Hi

You can draw the text to a temporary surface and then use CGapiSurface::Blt() to strech blit to another surface.

//Erik