\section{lib/common/hpglgen.c File Reference}
\label{hpglgen_8c}\index{lib/common/hpglgen.\-c@{lib/common/hpglgen.\-c}}
{\ttfamily \#include $<$ctype.\-h$>$}\\*
{\ttfamily \#include \char`\"{}render.\-h\char`\"{}}\\*
Include dependency graph for hpglgen.\-c\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{hpglgen_8c__incl}
\end{center}
\end{figure}
\subsection*{Data Structures}
\begin{DoxyCompactItemize}
\item 
struct {\bf Font\-Info}
\item 
struct {\bf Font\-State}
\item 
struct {\bf Color}
\item 
struct {\bf G\-C\-\_\-s}
\item 
struct {\bf Font\-Index}
\end{DoxyCompactItemize}
\subsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\#define {\bf S\-O\-L\-I\-D}~0
\item 
\#define {\bf D\-O\-T\-T\-E\-D}~1
\item 
\#define {\bf D\-A\-S\-H\-E\-D}~2
\item 
\#define {\bf I\-N\-V\-I\-S}~3
\item 
\#define {\bf P\-T2\-U\-N\-I\-T}(p)~((p)$\ast$(double)14.\-111)
\item 
\#define {\bf P\-E\-N\-W}~0.\-0138
\item 
\#define {\bf N\-P\-E\-N\-S}~32
\item 
\#define {\bf C\-X}(\-\_\-x)~(({\bf int})(\-\_\-x))
\item 
\#define {\bf C\-Y}(\-\_\-y)~(({\bf int})(\-\_\-y))
\item 
\#define {\bf H\-P\-\_\-\-O\-X}~18
\item 
\#define {\bf H\-P\-\_\-\-O\-Y}~18
\item 
\#define {\bf M\-A\-X\-L\-I\-N\-E\-L\-E\-N}~80
\item 
\#define {\bf F\-L\-A\-T\-N\-E\-S\-S}~1.\-0
\end{DoxyCompactItemize}
\subsection*{Typedefs}
\begin{DoxyCompactItemize}
\item 
typedef struct {\bf G\-C\-\_\-s} {\bf G\-C\-\_\-t}
\end{DoxyCompactItemize}
\subsection*{Variables}
\begin{DoxyCompactItemize}
\item 
codegen\-\_\-t {\bf H\-P\-G\-L\-\_\-\-Code\-Gen}
\end{DoxyCompactItemize}


\subsection{Macro Definition Documentation}
\index{hpglgen.\-c@{hpglgen.\-c}!C\-X@{C\-X}}
\index{C\-X@{C\-X}!hpglgen.c@{hpglgen.\-c}}
\subsubsection[{C\-X}]{\setlength{\rightskip}{0pt plus 5cm}\#define C\-X(
\begin{DoxyParamCaption}
\item[{}]{\-\_\-x}
\end{DoxyParamCaption}
)~(({\bf int})(\-\_\-x))}\label{hpglgen_8c_add964b3db13e099696317221a287ed1c}


Definition at line 29 of file hpglgen.\-c.

\index{hpglgen.\-c@{hpglgen.\-c}!C\-Y@{C\-Y}}
\index{C\-Y@{C\-Y}!hpglgen.c@{hpglgen.\-c}}
\subsubsection[{C\-Y}]{\setlength{\rightskip}{0pt plus 5cm}\#define C\-Y(
\begin{DoxyParamCaption}
\item[{}]{\-\_\-y}
\end{DoxyParamCaption}
)~(({\bf int})(\-\_\-y))}\label{hpglgen_8c_a4c45efe0e907675f37011a691b9b452e}


Definition at line 30 of file hpglgen.\-c.

\index{hpglgen.\-c@{hpglgen.\-c}!D\-A\-S\-H\-E\-D@{D\-A\-S\-H\-E\-D}}
\index{D\-A\-S\-H\-E\-D@{D\-A\-S\-H\-E\-D}!hpglgen.c@{hpglgen.\-c}}
\subsubsection[{D\-A\-S\-H\-E\-D}]{\setlength{\rightskip}{0pt plus 5cm}\#define D\-A\-S\-H\-E\-D~2}\label{hpglgen_8c_a9ac3505fc8c4d2643c438c56f25fcfad}


Definition at line 23 of file hpglgen.\-c.

\index{hpglgen.\-c@{hpglgen.\-c}!D\-O\-T\-T\-E\-D@{D\-O\-T\-T\-E\-D}}
\index{D\-O\-T\-T\-E\-D@{D\-O\-T\-T\-E\-D}!hpglgen.c@{hpglgen.\-c}}
\subsubsection[{D\-O\-T\-T\-E\-D}]{\setlength{\rightskip}{0pt plus 5cm}\#define D\-O\-T\-T\-E\-D~1}\label{hpglgen_8c_a8b119b69c9ab6e4ba57c0716993332bb}


Definition at line 22 of file hpglgen.\-c.

\index{hpglgen.\-c@{hpglgen.\-c}!F\-L\-A\-T\-N\-E\-S\-S@{F\-L\-A\-T\-N\-E\-S\-S}}
\index{F\-L\-A\-T\-N\-E\-S\-S@{F\-L\-A\-T\-N\-E\-S\-S}!hpglgen.c@{hpglgen.\-c}}
\subsubsection[{F\-L\-A\-T\-N\-E\-S\-S}]{\setlength{\rightskip}{0pt plus 5cm}\#define F\-L\-A\-T\-N\-E\-S\-S~1.\-0}\label{hpglgen_8c_a1be2dcb0791e8366aab3e4c566d6b7f3}


Definition at line 663 of file hpglgen.\-c.

\index{hpglgen.\-c@{hpglgen.\-c}!H\-P\-\_\-\-O\-X@{H\-P\-\_\-\-O\-X}}
\index{H\-P\-\_\-\-O\-X@{H\-P\-\_\-\-O\-X}!hpglgen.c@{hpglgen.\-c}}
\subsubsection[{H\-P\-\_\-\-O\-X}]{\setlength{\rightskip}{0pt plus 5cm}\#define H\-P\-\_\-\-O\-X~18}\label{hpglgen_8c_a52c67420c551b8297b117aaf9f4cca0f}


Definition at line 36 of file hpglgen.\-c.

\index{hpglgen.\-c@{hpglgen.\-c}!H\-P\-\_\-\-O\-Y@{H\-P\-\_\-\-O\-Y}}
\index{H\-P\-\_\-\-O\-Y@{H\-P\-\_\-\-O\-Y}!hpglgen.c@{hpglgen.\-c}}
\subsubsection[{H\-P\-\_\-\-O\-Y}]{\setlength{\rightskip}{0pt plus 5cm}\#define H\-P\-\_\-\-O\-Y~18}\label{hpglgen_8c_a71a9dedb4d737d05a599cc6d6576c8fe}


Definition at line 37 of file hpglgen.\-c.

\index{hpglgen.\-c@{hpglgen.\-c}!I\-N\-V\-I\-S@{I\-N\-V\-I\-S}}
\index{I\-N\-V\-I\-S@{I\-N\-V\-I\-S}!hpglgen.c@{hpglgen.\-c}}
\subsubsection[{I\-N\-V\-I\-S}]{\setlength{\rightskip}{0pt plus 5cm}\#define I\-N\-V\-I\-S~3}\label{hpglgen_8c_a40b95fa776ec998c74266a99b91b337b}


Definition at line 24 of file hpglgen.\-c.

\index{hpglgen.\-c@{hpglgen.\-c}!M\-A\-X\-L\-I\-N\-E\-L\-E\-N@{M\-A\-X\-L\-I\-N\-E\-L\-E\-N}}
\index{M\-A\-X\-L\-I\-N\-E\-L\-E\-N@{M\-A\-X\-L\-I\-N\-E\-L\-E\-N}!hpglgen.c@{hpglgen.\-c}}
\subsubsection[{M\-A\-X\-L\-I\-N\-E\-L\-E\-N}]{\setlength{\rightskip}{0pt plus 5cm}\#define M\-A\-X\-L\-I\-N\-E\-L\-E\-N~80}\label{hpglgen_8c_a624dbcb8b6ccc24c9bf891c174f60b6d}


Definition at line 61 of file hpglgen.\-c.

\index{hpglgen.\-c@{hpglgen.\-c}!N\-P\-E\-N\-S@{N\-P\-E\-N\-S}}
\index{N\-P\-E\-N\-S@{N\-P\-E\-N\-S}!hpglgen.c@{hpglgen.\-c}}
\subsubsection[{N\-P\-E\-N\-S}]{\setlength{\rightskip}{0pt plus 5cm}\#define N\-P\-E\-N\-S~32}\label{hpglgen_8c_ac18a8b0ac9a62a6a2654bc57e9e694c3}


Definition at line 28 of file hpglgen.\-c.

\index{hpglgen.\-c@{hpglgen.\-c}!P\-E\-N\-W@{P\-E\-N\-W}}
\index{P\-E\-N\-W@{P\-E\-N\-W}!hpglgen.c@{hpglgen.\-c}}
\subsubsection[{P\-E\-N\-W}]{\setlength{\rightskip}{0pt plus 5cm}\#define P\-E\-N\-W~0.\-0138}\label{hpglgen_8c_a02d1f16070afca755d1381c8037f3c15}


Definition at line 27 of file hpglgen.\-c.

\index{hpglgen.\-c@{hpglgen.\-c}!P\-T2\-U\-N\-I\-T@{P\-T2\-U\-N\-I\-T}}
\index{P\-T2\-U\-N\-I\-T@{P\-T2\-U\-N\-I\-T}!hpglgen.c@{hpglgen.\-c}}
\subsubsection[{P\-T2\-U\-N\-I\-T}]{\setlength{\rightskip}{0pt plus 5cm}\#define P\-T2\-U\-N\-I\-T(
\begin{DoxyParamCaption}
\item[{}]{p}
\end{DoxyParamCaption}
)~((p)$\ast$(double)14.\-111)}\label{hpglgen_8c_a176af555b0354575a30ac5cacb74488f}


Definition at line 26 of file hpglgen.\-c.

\index{hpglgen.\-c@{hpglgen.\-c}!S\-O\-L\-I\-D@{S\-O\-L\-I\-D}}
\index{S\-O\-L\-I\-D@{S\-O\-L\-I\-D}!hpglgen.c@{hpglgen.\-c}}
\subsubsection[{S\-O\-L\-I\-D}]{\setlength{\rightskip}{0pt plus 5cm}\#define S\-O\-L\-I\-D~0}\label{hpglgen_8c_aa8abfd58ea514228abd69d8f6330e91d}


Definition at line 21 of file hpglgen.\-c.



\subsection{Typedef Documentation}
\index{hpglgen.\-c@{hpglgen.\-c}!G\-C\-\_\-t@{G\-C\-\_\-t}}
\index{G\-C\-\_\-t@{G\-C\-\_\-t}!hpglgen.c@{hpglgen.\-c}}
\subsubsection[{G\-C\-\_\-t}]{\setlength{\rightskip}{0pt plus 5cm}typedef struct {\bf G\-C\-\_\-s}  {\bf G\-C\-\_\-t}}\label{hpglgen_8c_a281dfdd4f91f8162f51bb8e6d8597c9d}


\subsection{Variable Documentation}
\index{hpglgen.\-c@{hpglgen.\-c}!H\-P\-G\-L\-\_\-\-Code\-Gen@{H\-P\-G\-L\-\_\-\-Code\-Gen}}
\index{H\-P\-G\-L\-\_\-\-Code\-Gen@{H\-P\-G\-L\-\_\-\-Code\-Gen}!hpglgen.c@{hpglgen.\-c}}
\subsubsection[{H\-P\-G\-L\-\_\-\-Code\-Gen}]{\setlength{\rightskip}{0pt plus 5cm}codegen\-\_\-t H\-P\-G\-L\-\_\-\-Code\-Gen}\label{hpglgen_8c_ac2ecae4ab94cc695d2e57a058c3be1f3}
{\bfseries Initial value\-:}
\begin{DoxyCode}
= \{
    hpgl\_reset,
    hpgl\_begin\_job, 0,          
    hpgl\_begin\_graph, 0,        
    hpgl\_begin\_page, hpgl\_end\_page,
    0,  0,      
    0,  0,      
    0,  0,      
    0,  0,      
    0,  0,      
    0,  0,      
    hpgl\_begin\_context, hpgl\_end\_context,
    0,  0,      
    hpgl\_set\_font, hpgl\_textpara,
    hpgl\_set\_color, hpgl\_set\_color, hpgl\_set\_style,
    hpgl\_ellipse, hpgl\_polygon,
    hpgl\_bezier, hpgl\_polyline,
    0,                          
    0,                          
    hpgl\_usershape
\}
\end{DoxyCode}


Definition at line 832 of file hpglgen.\-c.

