Pangolin
Header-only C++20 plane computational geometry library
Loading...
Searching...
No Matches
pgl::pdfgen::pdf_doc Struct Reference

#include <pdfgen.hpp>

Public Attributes

char errstr [128] {}
int errval = 0
std::vector< std::unique_ptr< pdf_object > > objects
float width = 0.0f
float height = 0.0f
pdf_objectcurrent_font = nullptr
std::array< pdf_object *, detail::OBJ_countlast_objects {}
std::array< pdf_object *, detail::OBJ_countfirst_objects {}

Member Data Documentation

◆ current_font

pdf_object* pgl::pdfgen::pdf_doc::current_font = nullptr

◆ errstr

char pgl::pdfgen::pdf_doc::errstr[128] {}

◆ errval

int pgl::pdfgen::pdf_doc::errval = 0

◆ first_objects

std::array<pdf_object*, detail::OBJ_count> pgl::pdfgen::pdf_doc::first_objects {}

◆ height

float pgl::pdfgen::pdf_doc::height = 0.0f

◆ last_objects

std::array<pdf_object*, detail::OBJ_count> pgl::pdfgen::pdf_doc::last_objects {}

◆ objects

std::vector<std::unique_ptr<pdf_object> > pgl::pdfgen::pdf_doc::objects

◆ width

float pgl::pdfgen::pdf_doc::width = 0.0f