ENERGY MONITOR 0.2
Loading...
Searching...
No Matches
pdfWrapper.h File Reference

THIS FILE WAS PROVIDED BY OMAR_MAGDY_GHAZY EPE2024 As an abstraction for PDFHummus/PDFWriter lib no warranty is provided. More...

#include <string>
#include <PDFWriter.h>
#include <PDFPage.h>
#include <PageContentContext.h>
#include <PDFFormXObject.h>
#include <ResourcesDictionary.h>
#include <PDFUsedFont.h>

Go to the source code of this file.

Classes

class  pdf_wrap
 

Macros

#define A4_Width   595
 
#define A4_Height   842
 
#define LEFT(n)   (n)
 
#define TOP(n)   (A4_Height - n)
 
#define standardFont   "resources/OpenSans-Italic.ttf"
 

Detailed Description

THIS FILE WAS PROVIDED BY OMAR_MAGDY_GHAZY EPE2024 As an abstraction for PDFHummus/PDFWriter lib no warranty is provided.

This file basically abstracts the features of PDFWriter/PDFHummus library for ease of use across different parts of project

Definition in file pdfWrapper.h.

Macro Definition Documentation

◆ A4_Height

#define A4_Height   842

Definition at line 27 of file pdfWrapper.h.

◆ A4_Width

#define A4_Width   595

Definition at line 26 of file pdfWrapper.h.

◆ LEFT

#define LEFT ( n)    (n)

Definition at line 29 of file pdfWrapper.h.

◆ standardFont

#define standardFont   "resources/OpenSans-Italic.ttf"

Definition at line 31 of file pdfWrapper.h.

◆ TOP

#define TOP ( n)    (A4_Height - n)

Definition at line 30 of file pdfWrapper.h.