You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Blend2D](https://github.com/blend2d/blend2d) extension for [Rebol3](https://github.com/Siskin-framework/Rebol) (drawing dialect)
4
+
5
+
## Usage
6
+
7
+
This extension requires Oldes' version of *Rebol* language interpreter, which can be downloaded [here](https://github.com/Siskin-framework/Rebol/releases).
8
+
To use Bland2D's `draw` dialect, the extension must be loaded using:
9
+
```rebol
10
+
import %blend2d-x64.rebx
11
+
```
12
+
Once the module is imported, the new `draw` function may be used to draw into any image.
13
+
```rebol
14
+
>> help draw
15
+
USAGE:
16
+
DRAW image commands
17
+
18
+
DESCRIPTION:
19
+
Draws scalable vector graphics to an image.
20
+
DRAW is a command! value.
21
+
22
+
ARGUMENTS:
23
+
image [image! pair!]
24
+
commands [block!]
25
+
```
26
+
27
+
The dialect is similar but not exactly same like the [original Rebol2 implementation](http://www.rebol.com/r3/docs/view/draw.html) or [Red language draw](https://github.com/red/docs/blob/master/en/draw.adoc).
28
+
Not all commands are implemented... it was more considered as a proof of concept.
29
+
30
+
**For some code examples, visit [test/README.md](test/README.md).**
0 commit comments