Jump to content

Rebol Programming/draw

From Wikibooks, open books for an open world

USAGE:

[edit | edit source]
DRAW image commands 

DESCRIPTION:

[edit | edit source]

Draws scalable vector graphics to an image (returned).

DRAW is a native value.

ARGUMENTS

[edit | edit source]
  • image -- Image or size of image (Type: image pair)
  • commands -- (Type: block)

SOURCE CODE

[edit | edit source]
draw: native[
    {Draws scalable vector graphics to an image (returned).} 
    image [image! pair!] "Image or size of image" 
    commands [block!]
]