epub.cover

Cover generation.

This requires a dependency on GTK to provide Cairo.

Members

Functions

pngCover
Attachment pngCover(Cover cover)

Visible for testing

render
Attachment render(Cover cover)

Render the cover into an attachment.

renderCover
void renderCover(Cover cover, Surface surface)

Visible for testing

renderPngCover
void renderPngCover(Cover cover, string filename)

Visible for testing

renderSvgCover
void renderSvgCover(Cover cover, string filename)

Visible for testing

svgCover
Attachment svgCover(Cover cover)

Visible for testing

Structs

Cover
struct Cover

A Cover is a description of what sort of cover to generate for a book.

Meta