View facets question
[1/3] from: chalz:earthlink at: 14-Apr-2006 6:02
Howdy once again, all you helpful people! :) Here's "What's probably yet
another dumb question"!
I'm going through the VID docs at
http://www.rebol.com/docs/view-guide.html
And at the bottom I come across the section Effect Facet, and there's this:
oval Generate a oval image. An optional TUPLE can be used to specify the
color of outside of the oval, otherwise the edge color will be used. The
oval will be proportional to the size of the face.
Well, specifying the color outside of an oval doesn't make much sense to
me, so I wanted to play with this. But how? This is, so far, the only
document I've read on doing graphical work in REBOL, so pardon my total
newbieness. But I cannot quite figure out how to make it draw this oval so
I can toy with it. Do I need to have an image already loaded, and this
draws the oval on the image?
As always, your assistance is greatly appreciated.
--Charles
[2/3] from: rebolforces:gmai:l at: 14-Apr-2006 20:35
Really you wouldn't this one much. Though it can be handy in calender,
or to create a custom radio or checkbox.
view layout [backcolor black image 40x40 white effect [oval]]
view layout [backcolor black image 40x40 white effect [oval silver]]
view layout [backcolor black text 22x22 bold "23" blue white effect
[oval silver]]
view layout [backcolor black image 40x40 white effect [oval silver
cross green]]
if you want to draw graphic elements you would use the Draw dialect
http://www.rebol.com/docs/draw-ref.html
Cheers,
Allen K
[3/3] from: chalz:earthlink at: 14-Apr-2006 7:15
Ah, once again I thank you. So much to learn :)
--Charles