|
|
#1 |
|
size of text drawn with CGContextShowTextAtPoint
I doing text drawing with CGContextShowTextAtPoint. How do I get the width and height in pixels of the drawn text?
|
|
|
|
0
|
|
|
#2 |
|
If you're using Cocoa you can use NSAttributedString to get the size. I'm not sure of a pure C-based way of doing it though (maybe somehow with CFMutableString).
|
|
|
|
0
|
![]() |
|
«
Previous Thread
|
Next Thread
»
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| thread | Thread Starter | Forum | Replies | Last Post |
| how do i increase the size of text in documents? | TranceRm | Mac OS X | 6 | Mar 3, 2011 08:56 PM |
| Standard Size of a Photo with the i4 | Wicked1 | iPhone | 5 | Jul 13, 2010 02:31 PM |
| How to change the font size of text in UITextView dynamically in iPhone | city17 | iPhone/iPad Programming | 9 | Nov 4, 2009 04:12 PM |
| Changing font size of text | Angieray | Mac Basics and Help | 5 | Oct 5, 2009 01:07 PM |
| Reducing size of Leopard text | chrisjhill | Mac Basics and Help | 1 | Jan 5, 2008 11:28 AM |
All times are GMT -5. The time now is 06:35 AM.






Linear Mode

