Hello rebol-list,

      testing the new Rebol/view (1.2.5.3.1) I've found that my
      circle-slide style ( http://www.sweb.cz/r-mud/styles/slide.r )
      is not working properly so I made this testing script:

;------------------
lay: layout [
        bg: box 100x100 effect [gradient 0.0.0 255.0.0 ]
]

test1: make face [
        size: 50x50 offset: 20x20 color: 255.0.0 edge: none
        effect: [
                merge
                draw [fill-pen 100.100.100 circle 25x25 20]
                key 100.100.100
        ]
]
test2: make face [
        offset: 30x45 size: 100x40
        effect: [merge colorize 155.200.0]
]
insert tail lay/pane [test1 test2]
view lay
;------------------

The test2 works fine - colorize effect is working as should but the test1
doesn't. I think that the result should be red box with transparent circle
inside. Is this BUG or should I use something else to make this work
fine?

I've found that this code is working:
;------------------
test1: make face [
        size: 50x50 offset: 40x20 color: none edge: none
        effect: [
                merge
                draw [
                     pen none
                     fill-pen 255.0.0 box 0x0 50x50
                     fill-pen 100.100.100 circle 25x25 20
                ]
                key 100.100.100
        ]
]
view lay
;------------------

But what if I have image in the face and want to use draw effect to
make transparency mask?

Thanks Oldes


-- 
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the 
subject, without the quotes.

Reply via email to