summaryrefslogtreecommitdiff
path: root/dviware/dvi2bitmap/doc_libdvi2bitmap/latex/classPkRasterdata.tex
blob: 78e1f634627de24103fb0c9e9f1a7e68f2514ee8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
\hypertarget{classPkRasterdata}{\section{Pk\-Rasterdata Class Reference}
\label{classPkRasterdata}\index{Pk\-Rasterdata@{Pk\-Rasterdata}}
}


{\ttfamily \#include $<$Pk\-Font.\-h$>$}

\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classPkRasterdata_a1402ac87332ca91da4828f75db944c82}{Pk\-Rasterdata} (\hyperlink{Byte_8h_ae3a497195d617519e5353ea7b417940f}{Byte} opcode, const \hyperlink{Byte_8h_ae3a497195d617519e5353ea7b417940f}{Byte} $\ast$rasterdata, unsigned int len, unsigned int w, unsigned int h)
\begin{DoxyCompactList}\small\item\em Creates a Rasterdata object representing the provided data. \end{DoxyCompactList}\item 
const \hyperlink{Byte_8h_ae3a497195d617519e5353ea7b417940f}{Byte} $\ast$ \hyperlink{classPkRasterdata_aaccbf61576b1a30d40369b91406d6b9a}{bitmap} ()
\begin{DoxyCompactList}\small\item\em Returns the bitmap corresponding to the input rasterdata. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Static Public Member Functions}
\begin{DoxyCompactItemize}
\item 
static \hyperlink{verbosity_8h_a886df075e73fd6d54e018791f87fa071}{verbosities} \hyperlink{classPkRasterdata_acd8853ea328d2e14115d9c6666b96e5b}{verbosity} (const \hyperlink{verbosity_8h_a886df075e73fd6d54e018791f87fa071}{verbosities} level)
\begin{DoxyCompactList}\small\item\em Sets the verbosity of this module. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Constructor \& Destructor Documentation}
\hypertarget{classPkRasterdata_a1402ac87332ca91da4828f75db944c82}{\index{Pk\-Rasterdata@{Pk\-Rasterdata}!Pk\-Rasterdata@{Pk\-Rasterdata}}
\index{Pk\-Rasterdata@{Pk\-Rasterdata}!PkRasterdata@{Pk\-Rasterdata}}
\subsubsection[{Pk\-Rasterdata}]{\setlength{\rightskip}{0pt plus 5cm}Pk\-Rasterdata\-::\-Pk\-Rasterdata (
\begin{DoxyParamCaption}
\item[{{\bf Byte}}]{opcode, }
\item[{const {\bf Byte} $\ast$}]{rasterdata, }
\item[{unsigned int}]{len, }
\item[{unsigned int}]{w, }
\item[{unsigned int}]{h}
\end{DoxyParamCaption}
)}}\label{classPkRasterdata_a1402ac87332ca91da4828f75db944c82}


Creates a Rasterdata object representing the provided data. 

The raster data read from the P\-K file needs to be decoded into a bitmap, and this is the function of this class.


\begin{DoxyParams}{Parameters}
{\em opcode} & the character code of this glyph \\
\hline
{\em rasterdata} & the rastered glyph, in the format described in the P\-K file documentation \\
\hline
{\em len} & the number of bytes in the rasterdata stream \\
\hline
{\em w} & the width of the resulting bitmap \\
\hline
{\em h} & the number of rows in the resulting bitmap \\
\hline
\end{DoxyParams}


\subsection{Member Function Documentation}
\hypertarget{classPkRasterdata_aaccbf61576b1a30d40369b91406d6b9a}{\index{Pk\-Rasterdata@{Pk\-Rasterdata}!bitmap@{bitmap}}
\index{bitmap@{bitmap}!PkRasterdata@{Pk\-Rasterdata}}
\subsubsection[{bitmap}]{\setlength{\rightskip}{0pt plus 5cm}const {\bf Byte}$\ast$ Pk\-Rasterdata\-::bitmap (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classPkRasterdata_aaccbf61576b1a30d40369b91406d6b9a}


Returns the bitmap corresponding to the input rasterdata. 

\begin{DoxyReturn}{Returns}
the bitmap, as an array of size {\ttfamily \mbox{[}0..w-\/1\mbox{]}\mbox{[}0..h-\/1\mbox{]}} 
\end{DoxyReturn}


Referenced by Pk\-Glyph\-::bitmap().

\hypertarget{classPkRasterdata_acd8853ea328d2e14115d9c6666b96e5b}{\index{Pk\-Rasterdata@{Pk\-Rasterdata}!verbosity@{verbosity}}
\index{verbosity@{verbosity}!PkRasterdata@{Pk\-Rasterdata}}
\subsubsection[{verbosity}]{\setlength{\rightskip}{0pt plus 5cm}static {\bf verbosities} Pk\-Rasterdata\-::verbosity (
\begin{DoxyParamCaption}
\item[{const {\bf verbosities}}]{level}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}}\label{classPkRasterdata_acd8853ea328d2e14115d9c6666b96e5b}


Sets the verbosity of this module. 


\begin{DoxyParams}{Parameters}
{\em level} & the required verbosity \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
the previous verbosity level 
\end{DoxyReturn}


Referenced by main().



The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize}
\item 
\hyperlink{PkFont_8h}{Pk\-Font.\-h}\item 
\hyperlink{PkFont_8cc}{Pk\-Font.\-cc}\end{DoxyCompactItemize}