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 name="GENERATOR" content="Microsoft FrontPage 5.0">
6<META http-equiv="Content-Style-Type" content="text/css">
7<LINK rel="stylesheet" type="text/css" href="../../CSS/revolution.css">
8<TITLE>MTXGetStackPtr</TITLE>
9</HEAD>
10<BODY>
11<H1 align="left">MTXGetStackPtr</H1>
12<H2 align="left">C Specification</H2>
13<BLOCKQUOTE><CODE><CODE>#include &lt;revolution/mtx.h&gt;</CODE></CODE></BLOCKQUOTE>
14<BLOCKQUOTE><CODE><CODE>MtxPtr MTXGetStackPtr ( const MtxStack <EM>sPtr</EM> );</CODE></CODE></BLOCKQUOTE>
15<H2 align="left">Arguments</H2>
16<DIV align="left">
17<TABLE border="1" cellpadding="3" cellspacing="0.1">
18  <TBODY>
19    <TR>
20<TD width="120" valign="top" align="left" bgcolor="#ffffe8"><CODE><STRONG><EM>sPtr</EM></STRONG></CODE></TD>
21<TD width="520">Pointer to a <A href="../structures/MtxStack_MtxStackPtr.html"><CODE>MtxStack</CODE></A> structure.</TD>
22    </TR>
23  </TBODY>
24</TABLE>
25</DIV>
26<H2 align="left">Return Values</H2>
27<P>Returns <code><strong><em>sPtr</em>-&gt;stackPtr</strong></code>, the top of stack matrix.</P>
28<H2 align="left">Description</H2>
29<P>Returns a pointer to the current matrix at the top of the matrix stack (<code><strong><em>sPtr</em>-&gt;stackPtr</strong></code>). The returned pointer can then be used either as an argument to a function or to modify the top of stack matrix.</P>
30
31
32<H2 align="left">See Also</H2>
33<P align="left"><A href="../structures/Mtx_MtxPtr.html"><CODE>Mtx, MtxPtr</CODE></A>, <CODE><A href="../structures/MtxStack_MtxStackPtr.html">MtxStack, MtxStackPtr</A></CODE></P>
34<H2>Revision History</H2>
35<P>2006/03/01 Initial version.</P>
36<hr>
37<P>CONFIDENTIAL</p>
38</BODY>
39</HTML>