OpenCores
URL https://opencores.org/ocsvn/orsoc_graphics_accelerator/orsoc_graphics_accelerator/trunk

Subversion Repositories orsoc_graphics_accelerator

[/] [orsoc_graphics_accelerator/] [trunk/] [doc/] [src/] [specification.tex] - Diff between revs 7 and 8

Show entire file | Details | Blame | View Log

Rev 7 Rev 8
Line 1048... Line 1048...
Initializes the font for use. Needs to be called to set the index list.
Initializes the font for use. Needs to be called to set the index list.
\begin{lstlisting}
\begin{lstlisting}
int  orgfx_init_vector_font(orgfx_vector_font font);
int  orgfx_init_vector_font(orgfx_vector_font font);
\end{lstlisting}
\end{lstlisting}
 
 
\subsubsection{orgfx\_put\_vector\_text}
\subsubsection{orgfx\_put\_vector\_char}
\textbf{CURRENTLY UNDER REVISION}
Prints one glyph from the font with the current transformation matrix. If the glyph is not supported in the font the function will return without doing anything.
 
\begin{lstlisting}
 
void orgfx_put_vector_char(orgfx_vector_font* font, wchar_t text);
 
\end{lstlisting}
 
 
 
\subsubsection{orgfx\_put\_vector\_text}
 
Prints a string of characters using a vector font. This function sets the transformation matrix from the \textit{offset}, \textit{scale} and \textit{rotation} parameters, then makes a series of calls to \textbf{orgfx\_put\_vector\_char}.
 
\begin{lstlisting}
 
void orgfx_put_vector_text(orgfx_vector_font* font,
 
                           orgfx_point3 offset,
 
                           orgfx_point3 scale,
 
                           orgfx_point3 rotation,
 
                           const wchar_t *str,
 
                           unsigned int color);
 
\end{lstlisting}
 
 
\subsection{3D API}
\subsection{3D API}
There are two major parts of the 3D API, one is the transformation matrix interface and the other is the 3D mesh interface.
There are two major parts of the 3D API, one is the transformation matrix interface and the other is the 3D mesh interface.
 
 
\subsubsection{Transformations}
\subsubsection{Transformations}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.