It is drawn with the zero offsets that you specified for g2d. Thus the rectangles appear at r.X = 0 (half the rectangle showing, the other half "off-canvas", and then the second at r.X = 100. The base point is the center of the rectangle. You can move the group by specifying offsets other than 0,0 for the Group2D.

Best,

Jack

\
On Jul 4, 2006, at 6:02 AM, Alexander Bauza wrote:

 dim r as RectShape
  dim g2d as new Group2D

  g2d.X = 0
  g2d.y = 0

  r = new RectShape
  r.width = 100
  r.height = 100
  r.X = 0
  r.Y = 0
  r.fillcolor= RGB(0,0,255)
  g2d.Append r

  r = new RectShape
  r.width = 100
  r.height = 100
  r.X = 100
  r.Y = 0
  r.fillcolor= RGB(255,0,255)
  g2d.Append r

  g.drawobject g2d, 0, 0


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

Reply via email to