printed.text

Text layout engine on top of printed graphics package.

Modules

examples
module printed.text.examples

Members

Enums

TextAlign
enum TextAlign
Undocumented in source.

Functions

group
void group(ITextLayouter layouter, void delegate() yield)

Wrap yield with save() and restore().

isPartitionOf
bool isPartitionOf(T[][] parts, T[] whole)

Returns true iff parts is a partition of whole. This is equivalent to join(parts) == whole but more efficient.

Interfaces

ILayoutBlock
interface ILayoutBlock

Represents a laid out text of a single page that can be rendered using a IRenderingContext2D.

ILocale
interface ILocale

Defines how a text is split into words and words into syllables and provides the hyphen character used for hyphenation.

ITextLayouter
interface ITextLayouter
Undocumented in source.

Meta

License

Subject to the terms of the MIT license, as written in the included LICENSE file.

Authors

Arne Ludwig <arne.ludwig@posteo.de>