![]() |
| ||
| Calculate text bounding box size in pixels I need to be able to calculate the size in pixels of a given piece of text from the font name and point size. Google has not turned up anything I can use as yet (or maybe understand). Clues anyone? Bob |
| ||
| Re: Calculate text bounding box size in pixels Assuming you are using MS-Windows, you will probably find something in one of these Font and Text Functions. |
| ||
| Re: Calculate text bounding box size in pixels Quote:
|
| ||
| Re: Calculate text bounding box size in pixels I don't do linux but I do know it has several different gui apis, such as Motif, so you have to be more specific about which one you are using. |
| ||
| Re: Calculate text bounding box size in pixels Gui api is X11. |
| ||
| Re: Calculate text bounding box size in pixels I think xruler might be of some help. it can be found here |
| All times are GMT -4. The time now is 1:40 pm. |
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC