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: Norman Palardy <palardyn at shaw dot ca>
Date: Sat, 30 Oct 2004 21:44:48 -0600
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <BDA9AB30 dot 5FDA%lists at redcort dot com>

On Oct 30, 2004, at 9:33 PM, Keith DeLong wrote:

Hi Norman,

I have a very tiny project that displays the oddest behavior

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 ?

It does this in all the versions I can test

It sounds a lot like this report I made some time ago:
<http://www.realsoftware.com/feedback/viewreport.php?reportid=twjeijrn>

After posting the original report to RS, I followed up with a sample project and the discovery it happens on just about any secondary window that is not
the main application window.

Mine IS a canvas on the one and only window
There's a push button and 3 lines of code in the whole thing

Very odd

The only way to avoid this I've seen is put a refreshrect in the pushbutton and the put the drawing code where ever I need (like in a method of the canvas that does the actual drawing)

Without the refreshrect this odd drawing appearance happens

_______________________________________________
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>