| To: | REALbasic Network Users Group <realbasic-nug at lists dot realsoftware dot com> |
|---|---|
| Subject: | Re:stringwidth accuracy |
| From: | "Jules.Jacquot" <Jules dot Jacquot at wanadoo dot fr> |
| Date: | Fri, 30 Aug 2002 18:41:40 +0200 |
On Thursday, August 29, 2002, at 11:06 AM, Joseph J. Strout wrote: > At 11:00 AM -0400 8/29/02, Jeff O'Brien wrote:how can i increase the accuracy of stringwidth?In what way do you find it inaccurate?and positioning in general when doing g.drawstring?What do you mean -- you want subpixel precision, or what? Try this method below : ec=Format(somme,"#.00") fc=gh.stringWidth(ec) gh.drawstring ec,305-fc,ligne somme is your value gh is graphics 305 is the right aligment ( pixel) |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Numeric enhancements in 4.5, CV |
|---|---|
| Next by Date: | Re: Reading comma delimited data, Hasan Edain |
| Previous by Thread: | Re: stringwidth accuracy, Frank Bitterlich |
| Next by Thread: | Set selected tab in tabpanel?, jeff benjamin |
| Indexes: | [Date] [Thread] [Top] [All Lists] |