1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html>
3
4<head>
5<META http-equiv="Content-Type" content="text/html; charset=windows-1252">
6<META name="GENERATOR" content="Microsoft FrontPage 5.0">
7<META http-equiv="Content-Style-Type" content="text/css">
8<LINK rel="stylesheet" type="text/css" href="../../CSS/revolution.css">
9<title>GXGetScissor</title>
10</head>
11
12<body>
13
14<h1 align="left">GXGetScissor</h1>
15
16<h2>C Specification</h2>
17
18<dl>
19  <dd><PRE><CODE>#include &lt;revolution/gx.h&gt;</CODE></PRE>
20  </dd>
21  <dd><pre><CODE>void GXGetScissor(
22    u32* xOrig,
23    u32* yOrig,
24    u32* wd,
25    u32* ht );</CODE></pre>
26  </dd>
27</dl>
28
29<h2>Arguments</h2>
30<TABLE border="1" cellpadding="3" cellspacing="0.1">
31  <tr>
32<TD width="120" bgcolor="#ffffe8"><em><strong><CODE>xOrig</font></strong></em></TD>
33<TD width="520">Returns the left-most coordinate of the scissor box in screen coordinates</TD>
34    </tr>
35  <tr>
36<TD width="120" bgcolor="#ffffe8"><em><strong><CODE>yOrig</font></strong></em></TD>
37<TD width="520">Returns the top-most coordinate of the scissor box in screen coordinates</TD>
38    </tr>
39  <tr>
40<TD width="120" bgcolor="#ffffe8"><em><strong><CODE>wd</font></strong></em></TD>
41<TD width="520">Returns the width of the scissor box width in screen coordinates</TD>
42    </tr>
43  <tr>
44<TD width="120" bgcolor="#ffffe8"><em><strong><CODE>ht</font></strong></em></TD>
45<TD width="520">Returns the height of the scissor box in screen coordinates</TD>
46    </tr>
47</TABLE>
48<h2>Return Values</h2>
49
50<p>None.</p>
51<H2>Description</H2>
52<P>The scissor box specifies an area of the screen where primitives are <EM>not</EM> culled.&nbsp;This function returns the current scissor box in screen coordinates. Use <a href="GXSetScissor.html"><code>GXSetScissor</code></a> to set the scissor box.</P>
53
54<h2>See Also</h2>
55
56<p><A href="GXSetScissor.html"><CODE>GXSetScissor</CODE></A></p>
57<H2>Revision History</H2>
58<P>2006/03/01 Initial version.</P>
59<hr>
60<P>CONFIDENTIAL</p>
61</BODY>
62</HTML>
63