API Reference blendend v#0.3.3

Copy Markdown View Source

Modules

blendend is an Elixir wrapper around the blend2d 2D graphics engine.

Drawing surface of blend2d.

Rectangular clipping for Blendend.Canvas.

Fill functions for Blendend.Canvas to paint a geometry on the canvas with a style (color, gradient or pattern).

Experimental masking helpers for Blendend.Canvas.

Stroke functions for Blendend.Canvas to stroke a geometry on the canvas with a style (color, gradient or pattern).

This module contains macros for writing blendend drawings as Elixir code.

This module contains functions to add effects to geometries.

Exception struct used by the Blendend API when bang functions fail.

Image loading functions for Blendend.

Thin wrapper around blend2d's BLMatrix2D.

A path is a collection of contours built from commands such as :move_to, :line_to, :quad_to, :cubic_to, and :close.

Color helpers for the blendend drawing API.

Gradient style helpers for Blendend.

A pattern wraps a Blendend.Image and can be used as a fill or stroke style via canvas operations (for example by passing fill: pattern in style options).

High-level text helpers for Blendend.

A face represents a loaded font family from a TTF/OTF file. Typical workflow looks like

Sized, stateful fonts used by Blendend's text pipeline.

A glyph buffer holds input text (UTF-8) and, after shaping, the glyph IDs / clusters / positions produced by a font.

A glyph run is a view over a sequence of glyphs (IDs and positions) that have already been shaped by a font.

Small helpers for measuring text and computing positions of a text.