1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<HTML>
3<HEAD>
4<META http-equiv="Content-Type" content="text/html; charset=windows-1252">
5<META http-equiv="Content-Style-Type" content="text/css">
6<META name="GENERATOR" content="Microsoft FrontPage 5.0">
7<LINK rel="stylesheet" type="text/css" href="../CSS/revolution.css">
8<TITLE>GDLObj</TITLE>
9</HEAD>
10<BODY>
11<H1 align="left">GDLObj</H1>
12<H2>C Specification</H2>
13<DL>
14  <DD>
15  <PRE><CODE>typedef struct _GDLObj {
16    u8  *start;
17    u32  length;
18    u8  *ptr;
19    u8  *top;
20} GDLObj;</CODE></PRE>
21</DL>
22<H2>Description</H2>
23<P>This structure contains information related to a graphics display list. This structure should be initialized with the <a href="GDInitGDLObj.html"><CODE>GDInitGDLObj</CODE></a> function.</P>
24<P>The <CODE>start</CODE> field indicates the location of the buffer that stores the actual display list commands. It must be 32-byte aligned.</P>
25<P>The <code>length</code> field indicates the size of the buffer. It must be a multiple of 32.</P>
26<P>The <code>ptr</code> field indicates the current location pointer for this <CODE>GDLObj</CODE>. The pointer should always point between <code>start</code> and <code>top</code>.</P>
27<P><code>top</code> should always be set to (<code>start</code> + <code>length</code>). This structure is used to check overflow.</P>
28<H2>Functions That Use This Structure</H2>
29<P><CODE><a href="GDInitGDLObj.html">GDInitGDLObj</a><br> <a href="GDGetGDLObjStart.html">GDGetGDLObjStart</a><br> <a href="GDGetGDLObjLength.html">GDGetGDLObjLength</a><br> <a href="GDGetGDLObjPointer.html">GDGetGDLObjPointer</a><br> <a href="GDGetGDLObjOffset.html">GDGetGDLObjOffset</a><br> <a href="GDSetCurrent.html">GDSetCurrent</a><br> <a href="GDGetCurrent.html">GDGetCurrent</a><br> <a href="GDIsCurrent.html">GDIsCurrent</a></CODE></P>
30<P>(All of the <a href="gdgx.html">GD graphics commands</a> implicitly use the current <CODE>GDLObj</CODE>.)</P>
31<H2>Revision History</H2>
32</code>
33<P>2006/03/01 Initial version.</p>
34<hr>
35<P>CONFIDENTIAL</p>
36</BODY>
37</HTML>