epub.cover

Cover generation.

This requires a dependency on GTK to provide Cairo.

Members

Classes

Cover
class Cover

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

Functions

addTitlePage
void addTitlePage(Book book)
Undocumented in source. Be warned that the author may not have intended to support it.
render
Attachment render(Book book, Cover cover)

Render the cover into an attachment.

renderPngCover
void renderPngCover(Book book, Cover cover, string filename)

Visible for testing

renderSvgCover
void renderSvgCover(Book book, Cover cover, string filename)

Visible for testing

Meta