Skip to content

Latest commit

 

History

History
33 lines (25 loc) · 1.35 KB

README.md

File metadata and controls

33 lines (25 loc) · 1.35 KB

Rebol-Blend2D CI Zulip

Rebol/Blend2D

Blend2D extension for Rebol3 (drawing dialect)

Usage

This extension requires Oldes' version of Rebol language interpreter, which can be downloaded here. To use Bland2D's draw dialect, the extension must be loaded using:

import 'blend2d

Once the module is imported, the new draw function may be used to draw into any image.

>> help draw
USAGE:
     DRAW image commands

DESCRIPTION:
     Draws scalable vector graphics to an image.
     DRAW is a command! value.

ARGUMENTS:
     image         [image! pair!]
     commands      [block!]

The dialect is similar but not exactly same like the original Rebol2 implementation or Red language draw. Not all commands are implemented... it was more considered as a proof of concept.

For some code examples, visit test/README.md.