|
| constexpr float | PDF_INCH_TO_POINT (float inch) |
| constexpr float | PDF_MM_TO_POINT (float mm) |
| constexpr std::uint32_t | PDF_RGB (unsigned int r, unsigned int g, unsigned int b) |
| constexpr std::uint32_t | PDF_ARGB (unsigned int a, unsigned int r, unsigned int g, unsigned int b) |
| constexpr float | PDF_RGB_R (std::uint32_t colour) |
| constexpr float | PDF_RGB_G (std::uint32_t colour) |
| constexpr float | PDF_RGB_B (std::uint32_t colour) |
| constexpr bool | PDF_IS_TRANSPARENT (std::uint32_t colour) |
| int | pdf_set_err (pdf_doc *doc, int errval, const char *buffer,...) |
| const char * | pdf_get_err (const pdf_doc *pdf, int *errval) |
| void | pdf_clear_err (pdf_doc *pdf) |
| pdf_object * | pdf_get_object (const pdf_doc *pdf, int index) |
| pdf_object * | pdf_find_first_object (const pdf_doc *pdf, int type) |
| pdf_object * | pdf_find_last_object (const pdf_doc *pdf, int type) |
| int | pdf_append_object (pdf_doc *pdf, pdf_object *object) |
| pdf_object * | pdf_add_object (pdf_doc *pdf, int type) |
| float | pdf_width (const pdf_doc *pdf) |
| float | pdf_height (const pdf_doc *pdf) |
| float | pdf_page_width (const pdf_object *page) |
| float | pdf_page_height (const pdf_object *page) |
| int | pdf_set_font (pdf_doc *pdf, const char *font) |
| pdf_doc * | pdf_create (float width, float height, const pdf_info *info) |
| void | pdf_destroy (pdf_doc *pdf) |
| pdf_object * | pdf_append_page (pdf_doc *pdf) |
| pdf_object * | pdf_get_page (pdf_doc *pdf, int page_number) |
| int | pdf_page_set_size (pdf_doc *pdf, pdf_object *page, float width, float height) |
| int | pdf_add_stream (pdf_doc *pdf, pdf_object *page, const std::string &buffer) |
| std::string | pdf_escape_content_string (std::string_view value) |
| int | pdf_add_text (pdf_doc *pdf, pdf_object *page, const char *text, float size, float xoff, float yoff, std::uint32_t colour) |
| float | pdf_clamp_alpha (float alpha) |
| bool | pdf_alpha_equal (float left, float right) |
| int | pdf_find_or_create_ext_gstate (pdf_doc *pdf, pdf_object *page, float fill_alpha, float stroke_alpha) |
| int | pdf_add_line_pattern (pdf_doc *pdf, pdf_object *page, float x1, float y1, float x2, float y2, float width, std::uint32_t colour, const float pattern[], int pattern_len, float phase, float stroke_alpha=1.0f) |
| int | pdf_add_line (pdf_doc *pdf, pdf_object *page, float x1, float y1, float x2, float y2, float width, std::uint32_t colour, float stroke_alpha=1.0f) |
| int | pdf_add_cubic_bezier (pdf_doc *pdf, pdf_object *page, float x1, float y1, float x2, float y2, float xq1, float yq1, float xq2, float yq2, float width, std::uint32_t colour, float stroke_alpha=1.0f) |
| int | pdf_add_quadratic_bezier (pdf_doc *pdf, pdf_object *page, float x1, float y1, float x2, float y2, float xq1, float yq1, float width, std::uint32_t colour, float stroke_alpha=1.0f) |
| int | pdf_add_custom_path (pdf_doc *pdf, pdf_object *page, const pdf_path_operation *operations, int operation_count, float stroke_width, std::uint32_t stroke_colour, std::uint32_t fill_colour, float fill_alpha=1.0f, float stroke_alpha=1.0f) |
| int | pdf_add_ellipse (pdf_doc *pdf, pdf_object *page, float x, float y, float xradius, float yradius, float width, std::uint32_t colour, std::uint32_t fill_colour, float fill_alpha=1.0f, float stroke_alpha=1.0f) |
| int | pdf_add_circle (pdf_doc *pdf, pdf_object *page, float x, float y, float radius, float width, std::uint32_t colour, std::uint32_t fill_colour, float fill_alpha=1.0f, float stroke_alpha=1.0f) |
| int | pdf_add_rectangle (pdf_doc *pdf, pdf_object *page, float x, float y, float width, float height, float border_width, std::uint32_t colour, float stroke_alpha=1.0f) |
| int | pdf_add_filled_rectangle (pdf_doc *pdf, pdf_object *page, float x, float y, float width, float height, float border_width, std::uint32_t colour_fill, std::uint32_t colour_border, float fill_alpha=1.0f, float stroke_alpha=1.0f) |
| int | pdf_add_polygon (pdf_doc *pdf, pdf_object *page, const float x[], const float y[], int count, float border_width, std::uint32_t colour, float stroke_alpha=1.0f) |
| int | pdf_add_filled_polygon (pdf_doc *pdf, pdf_object *page, const float x[], const float y[], int count, float border_width, std::uint32_t colour, float fill_alpha=1.0f, float stroke_alpha=1.0f) |
| int | pdf_save_buffer (pdf_doc *pdf, std::string &out) |
| int | pdf_save_file (pdf_doc *pdf, FILE *fp) |
| int | pdf_save (pdf_doc *pdf, const char *filename) |
| std::string | pdf_to_string (pdf_doc *pdf) |