Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Link ¶
Link holds a single link on a page. If PageNumber if >= 0, then this is an internal link and the URI will be empty.
type PDF ¶
type PDF struct { MaxSearchMatches int PPI int DisplayScaleAdjust float32 // contains filtered or unexported fields }
PDF holds a PDF page renderer.
func (*PDF) CurrentPage ¶
CurrentPage returns the currently rendered page.
func (*PDF) LoadPage ¶
LoadPage requests the given page to be loaded and rendered at the specified scale.
func (*PDF) MostRecentPageNumber ¶
MostRecentPageNumber returns the most recent page number that has been asked to be rendered.
func (*PDF) RenderingFinished ¶
RenderingFinished returns true if there is no rendering being done for this PDF at the moment.
func (*PDF) RequestRenderPriority ¶
func (p *PDF) RequestRenderPriority()
RequestRenderPriority attempts to bump this PDF's rendering to the head of the queue.
Click to show internal directories.
Click to hide internal directories.