REBOL Programming/draw

From Wikibooks, open books for an open world
< REBOL Programming
Jump to: navigation, search

USAGE:[edit]

DRAW image commands 

DESCRIPTION:[edit]

Draws scalable vector graphics to an image (returned).

DRAW is a native value.

ARGUMENTS[edit]

  • image -- Image or size of image (Type: image pair)
  • commands -- (Type: block)

SOURCE CODE[edit]

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

{{BookCat}}