realbasic-betas.mbox
[Top] [All Lists]

vector graphics online reference

To: REALbasic Betas <realbasic-betas at lists dot realsoftware dot com>
Subject: vector graphics online reference
From: Franco Vaccari <vaccari at geosun4 dot univ dot trieste dot it>
Date: Sun, 30 Jun 2002 18:23:17 +0200
I see in the code examples of most Vector Graphics classes that in the open event one should place

Canvas1.Backdrop.Objects=d //d is a group2D.

But why is this needed if anyway you have to put in the paint event of the canvas

g.drawobject d,30,30

???


All examples do work even if one comment the Canvas1.Backdrop.Objects=d statement (and you cannot avoid putting the code in the paint event)

See for instance the OvalShape Class

Franco


--


------------------------------------------------------------
Franco Vaccari
INGV c/o Univ. di Trieste - Dip. di Scienze della Terra
v. Weiss 4, I-34127 Trieste, Italy
phone: ++39-040-5582119
fax:   ++39-040-5582111
------------------------------------------------------------


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