Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Strange problem with View

From: cyoungbl::legato::com at: 3-Aug-2001 14:33

Okay, going on with my checkerboard attempts, I'm creating a checkerboard and just toying around with how I'm going to display pieces. Here is some code that draws red pieces on every other row of green squares: grey-square: [ box silver 50x50 ] green-square: [ box leaf 50x50 ] checkerboard: [ across space 0x0 ] loop 4 [ loop 4 [ append checkerboard grey-square append checkerboard green-square append checkerboard [ pad -38x12 box red 26x26 effect [ oval 0.128.0 ] pad 12x-12 ] ] append checkerboard 'return loop 4 [ append checkerboard green-square append checkerboard grey-square ] append checkerboard 'return ] append checkerboard 'origin view layout checkerboard The problem I'm having is with the oval command. It is supposed to set the color around the oval to the tuple you give it. 0.128.0 is supposed to be the same as the green color. It's not (at least not when _I_ run it). However, if I substitute it with 200.200.200 I definitely see a difference. It's almost like it's converting the edge color into grayscale. I'm running the latest Win2k version. Could someone please try this code and tell me if they get similar results? Thanks, Carl Youngblood