realbasic-nug
[Top] [All Lists]

Re: DrawString Y offset

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: DrawString Y offset
From: GregO <rbnuglist at stretchedout dot com>
Date: Thu, 31 May 2007 16:55:35 -0400
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <20070531160110 dot 404FA75CEAA at mail dot verex dot com>
On May 31, 2007, at 12:01 pm, joe at strout dot net wrote:

> On May 31, 2007, at 15:39 UTC, GregO wrote:
>
>> I'm having a problem where drawing a string with a Y offset less than
>> -32767 moves it to +32767. I'm assuming this means that the framework
>> is using an Int16.
>
> Yes, that's the normal QuickDraw coordinate system (I'm guessing  
> you're
> using a Mac).  Even if they're drawing strings with CoreGraphics these
> days, there may be legacy code that still relies on QD coordinates.
>
> Let's see, at 72 dpi, 32767 pixels is about 40 feet... you must  
> have on
> humongous monitor!  :)
>

Actually, a really long text file. Grrrr..... Well, back to the  
drawing board.

Thanks Joe.

GregO
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>