Runtime graphics

SBasssMan at aol.com SBasssMan at aol.com
Sat Jul 20 13:20:01 EDT 2002


Runtime graphics bug?
I want to create many graphics elements at runtime.
If I use templateGraphic this way:

  set the style of the templateGraphic to oval
  set the height of the templateGraphic to 5
  set the width of the templateGraphic  to 5
  create graphic "ThisOval"

I get a circle that is 120 x 120.

If I instead do this:

  set the style of the templateGraphic to oval
  -- set the height of the templateGraphic to 5
  -- set the width of the templateGraphic  to 5
  create graphic "ThisOval"
  set the height of graphic "ThisOval" to 5
  set the width of graphic "ThisOval" to 5

I get a circle that is 5 x 5.

What am I missing?   Thanks.

 



More information about the Use-livecode mailing list