From 862b9d90825855514092ba36053852ea7744ec23 Mon Sep 17 00:00:00 2001
From: Loek Le Blansch <loek@pipeframe.xyz>
Date: Sun, 3 Nov 2024 01:30:17 +0100
Subject: add full-size class diagram

---
 design.tex | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

(limited to 'design.tex')

diff --git a/design.tex b/design.tex
index 6bef7dc..a208cd3 100644
--- a/design.tex
+++ b/design.tex
@@ -1,5 +1,7 @@
 \documentclass{projdoc}
 
+\usepackage{eso-pic}
+
 \title{Software Design}
 
 \begin{document}
@@ -765,5 +767,29 @@ transformations are applied each frame, as demonstrated by the output in
 	\label{fig:poc-output-camera}
 \end{figure}
 
+\makeatletter%
+\newbox\full@class@diag%
+\newlength\full@class@diag@width%
+\newlength\full@class@diag@height%
+\savebox\full@class@diag{\includegraphics{img/class-api-full.pdf}}%
+\settowidth\full@class@diag@width{\usebox\full@class@diag}%
+\settoheight\full@class@diag@height{\usebox\full@class@diag}%
+\begingroup%
+\eject%
+\thispagestyle{empty}%
+\pdfpagewidth=\full@class@diag@width%
+\pdfpageheight=\full@class@diag@height%
+\AddToShipoutPictureBG*{%
+  \AtPageUpperLeft{%
+		\raisebox{-\full@class@diag@height}{%
+			\usebox\full@class@diag%
+		}%
+	}%
+}%
+\section{Full API class diagram}%
+\newpage%
+\endgroup%
+\makeatother%
+
 \end{document}
 
-- 
cgit v1.2.3

