Skip to content

Oldes/Rebol3-Blend2D

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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-x64.rebx

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.

About

Blend2D extension for Rebol3 (drawing dialect)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published