[reportlab-users] Graphics: One shape instance can be drawn at multiple positions ?

nrmj maa1666 at yahoo.fr
Fri Jan 6 02:52:32 EST 2006


I am reading the "Graphics Guide" and there is
something I don't understand.
In chapter 2.6 "Naming Children", there is written:

   Note that you can use the same shape instance in
several contexts in a drawing;
   if you choose to use the same Circle object in many
locations (e.g. a scatter plot)
   and use different names to access it,
   it will still be a shared object and the changes
will be global.

I suppose it means that you can create only ONE
instance of a Circle and draw it at MANY X-Y
positions, provided that you give a different name to
each point.
But how can ONE instance have multiple "x" and "y"
attributes ?

Someone can help me understand ?

Best regards




	

	
		
___________________________________________________________________________ 
Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les tarifs exceptionnels pour appeler la France et l'international.
Téléchargez sur http://fr.messenger.yahoo.com


More information about the reportlab-users mailing list