Skip to content

Blend2D extension for Rebol3 (drawing dialect)

Notifications You must be signed in to change notification settings

Siskin-framework/Rebol-Blend2D

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Packages

No packages published

Languages

  • C++ 62.0%
  • C 25.2%
  • Rebol 12.8%