realbasic-nug
[Top] [All Lists]

Re: redrawing in a canvas

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: redrawing in a canvas
From: Jonathan Johnson <jonj at realsoftware dot com>
Date: Sat, 30 Oct 2004 23:59:40 -0500
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <55DA17E4-2AEB-11D9-9E96-000A95A9544A at shaw dot ca> <FB01A957-2AEB-11D9-8237-000A95983FBE at ljug dot com> <EB5320EA-2AEC-11D9-9E96-000A95A9544A at shaw dot ca>

On Oct 30, 2004, at 10:28 PM, Norman Palardy wrote:


On Oct 30, 2004, at 9:21 PM, Will Leshner wrote:


On Oct 30, 2004, at 8:17 PM, Norman Palardy wrote:

Drawing the same text over and over on a canvas makes it appear like it's bold despite the fact it's drawing in exactly the same position, point size, font, etc.

Does this make any sense ?


Yes, actually. I think it is because of the anti-aliasing, but I've definitely seen the same behavior.

It does this with the oldRenderer setting true or false

I'd expect that this would make some difference but it doesn't

QuickDraw did antialiasing as well (although I thought it would make a small difference because QuickDraw's antialiasing is generally more subtle than Quartz's). However, this is behaving as I would expect it -- the antialiasing is basically translucent, and when you draw translucent things over and over, the result is a darker image.

Refresh will cause it erase the background, which is why that solves it.

HTH,
Jon


--
Jonathan Johnson
REAL Software, Inc.

--
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://www.realsoftware.com/listarchives/lists.html>

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