table of contents
other versions
- wheezy 1:15.b.1-dfsg-4+deb7u1
- wheezy-backports 1:17.3-dfsg-4~bpo70+1
- jessie 1:17.3-dfsg-4+deb8u1
- jessie-backports 1:19.2.1+dfsg-2~bpo8+1
- testing 1:19.2.1+dfsg-2
- unstable 1:19.2.1+dfsg-2
- experimental 1:19.3.1+dfsg-1
egd(3erl) | Erlang Module Definition | egd(3erl) |
NAME¶
egd - egd - erlang graphical drawer.DESCRIPTION¶
egd - erlang graphical drawerDATA TYPES¶
- color():
-
- egd_image():
-
- font():
-
- point() = {integer(), integer()}:
-
- render_option() = {render_engine, opaque} | {render_engine, alpha}:
-
EXPORTS¶
color(Color::Value | Name) -> color()
Types:
Value = {byte(), byte(), byte()} | {byte(),
byte(), byte(), byte()}
Name = black | silver | gray | white | maroon | red | purple | fuchia | green |
lime | olive | yellow | navy | blue | teal | aqua
Creates a color reference.
Creates an image area and returns its reference.
Destroys the image.
Creates a filled ellipse object.
Creates a filled rectangle object.
Creates a line object from P1 to P2 in the image.
Creates a rectangle object.
Equivalent to render(Image, png, [{render_engine, opaque}]).
Equivalent to render(Image, Type, [{render_engine, opaque}]).
Renders a binary from the primitives specified by egd_image(). The binary can
either be a raw bitmap with rgb tripplets or a binary in png format.
Saves the binary to file.
Creates a text object.
AUTHORS¶
percept 0.8.6.1 |