[Q] How stretch font (character) ?

[Q] How stretch font (character) ?

Post by teolgu » Thu, 28 Oct 2004 16:37:05


I want to stretch verticaly the some character like document,
" http://www.yqcomputer.com/ #//apple_ref/doc/uid/TP30000221/BAJBBCAD"
in Figure 2-13.

In this document, Using some QuickDraw function do this.
But, I didn't how to do this.

I use DrawText, DrawChar function.
DrawText, DrawChar is draw stretched character or string?

How can I stretch character?

Let me know please...

[Q] How stretch font (character) ?

Post by David Phil » Fri, 29 Oct 2004 01:18:51

In article < XXXX@XXXXX.COM >,

If you request the Quickdraw bottleneck procedure pointers with
GetPortGrafProcs (), from the GrafPort, the procedure pointer in the
textProc field can be called with InvokeQDTextUPP(), and takes two
points that specify the numerator and denominator for scale factors in x
and y.


[Q] How stretch font (character) ?

Post by Chris Hans » Fri, 29 Oct 2004 14:49:40

On 2004-10-27 00:37:05 -0700, XXXX@XXXXX.COM (SOHN, DONG EON
?'????) said:

In a Mac OS X application, your best option (if possible) would be to
use a higher-level API built on top of CoreGraphics rather than
QuickDraw. If do, then you can use a different affine transform.

-- Chris

Chris Hanson < XXXX@XXXXX.COM >