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
13<H2>Syntax</H2>
14<dl><dd><pre class="construction">
15typedef struct _GDLObj {
16    u8  *start;
17    u32  length;
18    u8  *ptr;
19    u8  *top;
20} GDLObj;
21</pre></dd></dl>
22
23<H2>Description</H2>
24<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>
25<P>The <SPAN class="argument">start</SPAN> field indicates the location of the buffer that stores the actual display list commands. It must be 32-byte aligned.</P>
26<P>The <SPAN class="argument">length</SPAN> field indicates the size of the buffer. It must be a multiple of 32.</P>
27<P>The <SPAN class="argument">ptr</SPAN> field indicates the current location pointer for this <CODE>GDLObj</CODE>. The pointer should always point between <SPAN class="argument">start</SPAN> and <SPAN class="argument">top</SPAN>.</P>
28<P>The <SPAN class="argument">top</SPAN> field should always be set to (<SPAN class="argument">start</SPAN> + <SPAN class="argument">length</SPAN>). This structure is used for overflow checking.</P>
29
30<H2>Functions That Use This Structure</H2>
31<P class="reference">
32<A href="GDInitGDLObj.html">GDInitGDLObj</A>,
33<A href="GDGetGDLObjStart.html">GDGetGDLObjStart</A>,
34<A href="GDGetGDLObjLength.html">GDGetGDLObjLength</A>,
35<A href="GDGetGDLObjPointer.html">GDGetGDLObjPointer</A>,
36<A href="GDGetGDLObjOffset.html">GDGetGDLObjOffset</A>,
37<A href="GDSetCurrent.html">GDSetCurrent</A>,
38<A href="GDGetCurrent.html">GDGetCurrent</A>,
39<A href="GDIsCurrent.html">GDIsCurrent</A>
40</P>
41<P>(All of the GD graphics commands implicitly use the current <CODE>GDLObj</CODE>.))</P>
42
43<H2>Revision History</H2>
44<P>
452006/03/01 Initial version.<BR>
46</p>
47
48<hr><p>CONFIDENTIAL</p></body>
49</HTML>