libart-paperback 0.1.0-a.1.20260122225059.e5fea306241a
PDF (1.4) library for C++
Art::Paperback::Internals Namespace Reference

Internal namespace. More...

Classes

struct  Base14_character_data
 Base font character data. More...
 
struct  Base14_font_data
 Represents font data for one of the 14 standard PDF fonts. More...
 
class  Document_catalog
 
class  Font_collection
 
struct  Graphics_state
 
struct  Matrix
 
class  Page_tree
 Represents a PDF page tree. More...
 
class  Resource_collection
 Represents a PDF resource collection. More...
 

Enumerations

enum class  Text_rendering_mode {
  fill , stroke , fill_then_stroke , invisble ,
  fill_clippping , stroke_clipping , fill_stroke_clipping , clipping
}
 
enum class  Line_cap_style { butt_end , round_end , projecting_square_end }
 
enum class  Line_join_style { miter_join , round_join , bevel_join }
 

Functions

Matrix apply (Matrix const &ctm, Matrix const &cm)
 
Documentdocument (Page_tree &)
 Get the document associated with a page tree.
 
Document const & document (Page_tree const &)
 Get the document associated with a page tree.
 
Documentdocument (Resource_collection &)
 Get the document associated with a resource collection.
 
Document const & document (Resource_collection const &)
 Get the document associated with a resource collection.
 

Variables

std::map< std::string, Base14_font_data > const base14_fonts
 Map of base fonts.
 

Detailed Description

Internal namespace.

This namespace contains internal classes and functions.

Function Documentation

◆ document() [1/4]

Document & Art::Paperback::Internals::document ( Page_tree & page_tree)

Get the document associated with a page tree.

Parameters
page_treeThe page tree.
Returns
Returns a reference to the parent document.

◆ document() [2/4]

Document const & Art::Paperback::Internals::document ( Page_tree const & page_tree)

Get the document associated with a page tree.

Parameters
page_treeThe page tree.
Returns
Returns a reference to the parent document.

◆ document() [3/4]

Document & Art::Paperback::Internals::document ( Resource_collection & resource_collection)

Get the document associated with a resource collection.

Returns
Returns a reference to the document.

◆ document() [4/4]

Document const & Art::Paperback::Internals::document ( Resource_collection const & resource_collection)

Get the document associated with a resource collection.

Returns
Returns a reference to the document.

Variable Documentation

◆ base14_fonts

map< string, Base14_font_data > const Art::Paperback::Internals::base14_fonts

Map of base fonts.