realbasic-nug
[Top] [All Lists]

Re: YASQ (yet another scrolling question)

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: YASQ (yet another scrolling question)
From: "Joseph J. Strout" <joe at realsoftware dot com>
Date: Mon, 28 Feb 2005 08:59:29 -0600
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <0465adda976b0b2ec2f93c11694bc44e at mac dot com>
At 8:36 PM -0500 2/27/05, Michael Hackney wrote:

Thanks Charles. I guess that means I just need to do a lot of math to calculate the new starting line to draw! This will get a little trickier when I start to add photos to the report (next week).

No, the math is nothing more than adding " - mScrollX" to every X coordinate in any drawing command.

Charles pointed out that you could try to compute how much content to draw in order to speed up the canvas drawing -- but that is a performance optimization, certainly not necessary in your first stab at the code, and perhaps not necessary at all.

Best,
- Joe

--
REAL World 2005 - The REALbasic User Conference
March 23-25, 2005, Austin, Texas
<http://www.realsoftware.com/realworld>
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

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