D.01Plain and Bounded (Multiline) Text

Draws text strings and text areas on an image. Includes: horizontal and vertical single line text (with optional effects), multiline text bounded with a specified rectangle.



D.02Font Loading and Text Measuring

Calculates width and height of a rectangle occupied by a text string with specified font settings as well as other font metrics. Includes: receiving text size and string ascender/descender, calculating “black box” of a regular string and artistic text (written on a circle), loads a font dynamically.

art text+4drawing+15font+8text+8


D.03Art Text

Draws a text line with various artistic effects and distortions. Includes: various artistic text types (text on circle, bended text, etc) with variable bend level, text effects (glow, shadow).

art text+4drawing+15font+8text+8


D.04Double Path Text

Distorts a text string using two custom Bezier curves (on the top and bottom of the string). Includes: drawing curved text based on two Beziers with variable font size.

art text+4drawing+15font+8text+8



Fills a JPEG image with a text watermark. Includes: two types of watermark (simple diagonal watermark and two-string watermark with a grid).



D.06PDF and EPS Output

Generates two vector images and saves them as a PDF or EPS. Includes: drawing an image, vector and text data on a PDF/EPS, multipage PDF file support.

art text+4drawing+15eps+2font+8pdf+3text+8


D.07Formatted Text

Demonstrates how to draw a formatted text. It is possible to change font settings for each character.

drawing+15font+8formatted text+2text+8

D.08Paragraphs and Lists

Renders formatted text with paragraphs and lists (both ordered and unordered).

drawing+15font+8formatted text+2listparagraphtext+8

D.09Text Flow Control

Demonstrates how to have text to flow between several blocks, as well as wrap text blocks around some objects.

drawing+15font+8formatted text+2layouttext+8