Subversion Repositories AndroidProjects

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
356 chris 1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2
<!--NewPage-->
3
<HTML>
4
<HEAD>
5
<!-- Generated by javadoc (build 1.6.0_26) on Sun Jan 27 20:37:04 CET 2013 -->
6
<TITLE>
7
ScissorStack (libgdx API)
8
</TITLE>
9
 
10
<META NAME="date" CONTENT="2013-01-27">
11
 
12
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../../stylesheet.css" TITLE="Style">
13
 
14
<SCRIPT type="text/javascript">
15
function windowTitle()
16
{
17
    if (location.href.indexOf('is-external=true') == -1) {
18
        parent.document.title="ScissorStack (libgdx API)";
19
    }
20
}
21
</SCRIPT>
22
<NOSCRIPT>
23
</NOSCRIPT>
24
 
25
</HEAD>
26
 
27
<BODY BGCOLOR="white" onload="windowTitle();">
28
<HR>
29
 
30
 
31
<!-- ========= START OF TOP NAVBAR ======= -->
32
<A NAME="navbar_top"><!-- --></A>
33
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
34
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
35
<TR>
36
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
37
<A NAME="navbar_top_firstrow"><!-- --></A>
38
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
39
  <TR ALIGN="center" VALIGN="top">
40
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
41
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
42
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
43
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/ScissorStack.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
44
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
45
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
46
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
47
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
48
  </TR>
49
</TABLE>
50
</TD>
51
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
52
 
53
                                libgdx API
54
                                <style>
55
                                body, td, th { font-family:Helvetica, Tahoma, Arial, sans-serif; font-size:10pt }
56
                                pre, code, tt { font-size:9pt; font-family:Lucida Console, Courier New, sans-serif }
57
                                h1, h2, h3, .FrameTitleFont, .FrameHeadingFont, .TableHeadingColor font { font-size:105%;  font-weight:bold }
58
                                .TableHeadingColor { background:#EEEEFF; }
59
                                a { text-decoration:none }
60
                                a:hover { text-decoration:underline }
61
                                a:link, a:visited { color:blue }
62
                                table { border:0px }
63
                                .TableRowColor td:first-child { border-left:1px solid black }
64
                                .TableRowColor td { border:0px; border-bottom:1px solid black; border-right:1px solid black }
65
                                hr { border:0px; border-bottom:1px solid #333366; }
66
                                </style>
67
                        </EM>
68
</TD>
69
</TR>
70
 
71
<TR>
72
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
73
&nbsp;<A HREF="../../../../../../com/badlogic/gdx/scenes/scene2d/utils/NinePatchDrawable.html" title="class in com.badlogic.gdx.scenes.scene2d.utils"><B>PREV CLASS</B></A>&nbsp;
74
&nbsp;<A HREF="../../../../../../com/badlogic/gdx/scenes/scene2d/utils/SpriteDrawable.html" title="class in com.badlogic.gdx.scenes.scene2d.utils"><B>NEXT CLASS</B></A></FONT></TD>
75
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
76
  <A HREF="../../../../../../index.html?com/badlogic/gdx/scenes/scene2d/utils/ScissorStack.html" target="_top"><B>FRAMES</B></A>  &nbsp;
77
&nbsp;<A HREF="ScissorStack.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
78
&nbsp;<SCRIPT type="text/javascript">
79
  <!--
80
  if(window==top) {
81
    document.writeln('<A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
82
  }
83
  //-->
84
</SCRIPT>
85
<NOSCRIPT>
86
  <A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>
87
</NOSCRIPT>
88
 
89
 
90
</FONT></TD>
91
</TR>
92
<TR>
93
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
94
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
95
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
96
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
97
</TR>
98
</TABLE>
99
<A NAME="skip-navbar_top"></A>
100
<!-- ========= END OF TOP NAVBAR ========= -->
101
 
102
<HR>
103
<!-- ======== START OF CLASS DATA ======== -->
104
<H2>
105
<FONT SIZE="-1">
106
com.badlogic.gdx.scenes.scene2d.utils</FONT>
107
<BR>
108
Class ScissorStack</H2>
109
<PRE>
110
java.lang.Object
111
  <IMG SRC="../../../../../../resources/inherit.gif" ALT="extended by "><B>com.badlogic.gdx.scenes.scene2d.utils.ScissorStack</B>
112
</PRE>
113
<HR>
114
<DL>
115
<DT><PRE>public class <B>ScissorStack</B><DT>extends java.lang.Object</DL>
116
</PRE>
117
 
118
<P>
119
A stack of <A HREF="../../../../../../com/badlogic/gdx/math/Rectangle.html" title="class in com.badlogic.gdx.math"><CODE>Rectangle</CODE></A> objects to be used for clipping via <A HREF="../../../../../../com/badlogic/gdx/graphics/GLCommon.html#glScissor(int, int, int, int)"><CODE>GLCommon.glScissor(int, int, int, int)</CODE></A>. When a new
120
 Rectangle is pushed onto the stack, it will be merged with the current top of stack. The minimum area of overlap is then set as
121
 the real top of the stack.
122
<P>
123
 
124
<P>
125
<DL>
126
<DT><B>Author:</B></DT>
127
  <DD>mzechner</DD>
128
</DL>
129
<HR>
130
 
131
<P>
132
 
133
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
134
 
135
<A NAME="constructor_summary"><!-- --></A>
136
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
137
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
138
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
139
<B>Constructor Summary</B></FONT></TH>
140
</TR>
141
<TR BGCOLOR="white" CLASS="TableRowColor">
142
<TD><CODE><B><A HREF="../../../../../../com/badlogic/gdx/scenes/scene2d/utils/ScissorStack.html#ScissorStack()">ScissorStack</A></B>()</CODE>
143
 
144
<BR>
145
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
146
</TR>
147
</TABLE>
148
&nbsp;
149
<!-- ========== METHOD SUMMARY =========== -->
150
 
151
<A NAME="method_summary"><!-- --></A>
152
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
153
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
154
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
155
<B>Method Summary</B></FONT></TH>
156
</TR>
157
<TR BGCOLOR="white" CLASS="TableRowColor">
158
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
159
<CODE>static&nbsp;void</CODE></FONT></TD>
160
<TD><CODE><B><A HREF="../../../../../../com/badlogic/gdx/scenes/scene2d/utils/ScissorStack.html#calculateScissors(com.badlogic.gdx.graphics.Camera, com.badlogic.gdx.math.Matrix4, com.badlogic.gdx.math.Rectangle, com.badlogic.gdx.math.Rectangle)">calculateScissors</A></B>(<A HREF="../../../../../../com/badlogic/gdx/graphics/Camera.html" title="class in com.badlogic.gdx.graphics">Camera</A>&nbsp;camera,
161
                  <A HREF="../../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4</A>&nbsp;batchTransform,
162
                  <A HREF="../../../../../../com/badlogic/gdx/math/Rectangle.html" title="class in com.badlogic.gdx.math">Rectangle</A>&nbsp;area,
163
                  <A HREF="../../../../../../com/badlogic/gdx/math/Rectangle.html" title="class in com.badlogic.gdx.math">Rectangle</A>&nbsp;scissor)</CODE>
164
 
165
<BR>
166
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Calculates a scissor rectangle in OpenGL ES window coordinates from a <A HREF="../../../../../../com/badlogic/gdx/graphics/Camera.html" title="class in com.badlogic.gdx.graphics"><CODE>Camera</CODE></A>, a transformation <A HREF="../../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math"><CODE>Matrix4</CODE></A> and
167
 an axis aligned <A HREF="../../../../../../com/badlogic/gdx/math/Rectangle.html" title="class in com.badlogic.gdx.math"><CODE>Rectangle</CODE></A>.</TD>
168
</TR>
169
<TR BGCOLOR="white" CLASS="TableRowColor">
170
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
171
<CODE>static&nbsp;<A HREF="../../../../../../com/badlogic/gdx/math/Rectangle.html" title="class in com.badlogic.gdx.math">Rectangle</A></CODE></FONT></TD>
172
<TD><CODE><B><A HREF="../../../../../../com/badlogic/gdx/scenes/scene2d/utils/ScissorStack.html#getViewport()">getViewport</A></B>()</CODE>
173
 
174
<BR>
175
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
176
</TR>
177
<TR BGCOLOR="white" CLASS="TableRowColor">
178
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
179
<CODE>static&nbsp;<A HREF="../../../../../../com/badlogic/gdx/math/Rectangle.html" title="class in com.badlogic.gdx.math">Rectangle</A></CODE></FONT></TD>
180
<TD><CODE><B><A HREF="../../../../../../com/badlogic/gdx/scenes/scene2d/utils/ScissorStack.html#popScissors()">popScissors</A></B>()</CODE>
181
 
182
<BR>
183
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Pops the current scissor rectangle from the stack and sets the new scissor area to the new top of stack rectangle.</TD>
184
</TR>
185
<TR BGCOLOR="white" CLASS="TableRowColor">
186
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
187
<CODE>static&nbsp;boolean</CODE></FONT></TD>
188
<TD><CODE><B><A HREF="../../../../../../com/badlogic/gdx/scenes/scene2d/utils/ScissorStack.html#pushScissors(com.badlogic.gdx.math.Rectangle)">pushScissors</A></B>(<A HREF="../../../../../../com/badlogic/gdx/math/Rectangle.html" title="class in com.badlogic.gdx.math">Rectangle</A>&nbsp;scissor)</CODE>
189
 
190
<BR>
191
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Pushes a new scissor <A HREF="../../../../../../com/badlogic/gdx/math/Rectangle.html" title="class in com.badlogic.gdx.math"><CODE>Rectangle</CODE></A> onto the stack, merging it with the current top of the stack.</TD>
192
</TR>
193
<TR BGCOLOR="white" CLASS="TableRowColor">
194
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
195
<CODE>static&nbsp;void</CODE></FONT></TD>
196
<TD><CODE><B><A HREF="../../../../../../com/badlogic/gdx/scenes/scene2d/utils/ScissorStack.html#toWindowCoordinates(com.badlogic.gdx.graphics.Camera, com.badlogic.gdx.math.Matrix4, com.badlogic.gdx.math.Vector2)">toWindowCoordinates</A></B>(<A HREF="../../../../../../com/badlogic/gdx/graphics/Camera.html" title="class in com.badlogic.gdx.graphics">Camera</A>&nbsp;camera,
197
                    <A HREF="../../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4</A>&nbsp;transformMatrix,
198
                    <A HREF="../../../../../../com/badlogic/gdx/math/Vector2.html" title="class in com.badlogic.gdx.math">Vector2</A>&nbsp;point)</CODE>
199
 
200
<BR>
201
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Transforms a point to real window coordinates (as oposed to OpenGL ES window coordinates), where the origin is in the top
202
 left and the the y-axis is pointing downwards</TD>
203
</TR>
204
</TABLE>
205
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
206
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
207
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
208
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
209
</TR>
210
<TR BGCOLOR="white" CLASS="TableRowColor">
211
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
212
</TR>
213
</TABLE>
214
&nbsp;
215
<P>
216
 
217
<!-- ========= CONSTRUCTOR DETAIL ======== -->
218
 
219
<A NAME="constructor_detail"><!-- --></A>
220
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
221
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
222
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
223
<B>Constructor Detail</B></FONT></TH>
224
</TR>
225
</TABLE>
226
 
227
<A NAME="ScissorStack()"><!-- --></A><H3>
228
ScissorStack</H3>
229
<PRE>
230
public <B>ScissorStack</B>()</PRE>
231
<DL>
232
</DL>
233
 
234
<!-- ============ METHOD DETAIL ========== -->
235
 
236
<A NAME="method_detail"><!-- --></A>
237
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
238
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
239
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
240
<B>Method Detail</B></FONT></TH>
241
</TR>
242
</TABLE>
243
 
244
<A NAME="pushScissors(com.badlogic.gdx.math.Rectangle)"><!-- --></A><H3>
245
pushScissors</H3>
246
<PRE>
247
public static boolean <B>pushScissors</B>(<A HREF="../../../../../../com/badlogic/gdx/math/Rectangle.html" title="class in com.badlogic.gdx.math">Rectangle</A>&nbsp;scissor)</PRE>
248
<DL>
249
<DD>Pushes a new scissor <A HREF="../../../../../../com/badlogic/gdx/math/Rectangle.html" title="class in com.badlogic.gdx.math"><CODE>Rectangle</CODE></A> onto the stack, merging it with the current top of the stack. The minimal area of
250
 overlap between the top of stack rectangle and the provided rectangle is pushed onto the stack. This will invoke
251
 <A HREF="../../../../../../com/badlogic/gdx/graphics/GLCommon.html#glScissor(int, int, int, int)"><CODE>GLCommon.glScissor(int, int, int, int)</CODE></A> with the final top of stack rectangle. In case no scissor is yet on the stack
252
 this will also enable <A HREF="../../../../../../com/badlogic/gdx/graphics/GL10.html#GL_SCISSOR_TEST"><CODE>GL10.GL_SCISSOR_TEST</CODE></A> automatically.
253
<P>
254
<DD><DL>
255
 
256
<DT><B>Returns:</B><DD>true if the scissors were pushed. false if the scissor area was zero, in this case the scissors were not pushed and
257
         no drawing should occur.</DL>
258
</DD>
259
</DL>
260
<HR>
261
 
262
<A NAME="popScissors()"><!-- --></A><H3>
263
popScissors</H3>
264
<PRE>
265
public static <A HREF="../../../../../../com/badlogic/gdx/math/Rectangle.html" title="class in com.badlogic.gdx.math">Rectangle</A> <B>popScissors</B>()</PRE>
266
<DL>
267
<DD>Pops the current scissor rectangle from the stack and sets the new scissor area to the new top of stack rectangle. In case
268
 no more rectangles are on the stack, <A HREF="../../../../../../com/badlogic/gdx/graphics/GL10.html#GL_SCISSOR_TEST"><CODE>GL10.GL_SCISSOR_TEST</CODE></A> is disabled.
269
<P>
270
<DD><DL>
271
</DL>
272
</DD>
273
</DL>
274
<HR>
275
 
276
<A NAME="calculateScissors(com.badlogic.gdx.graphics.Camera, com.badlogic.gdx.math.Matrix4, com.badlogic.gdx.math.Rectangle, com.badlogic.gdx.math.Rectangle)"><!-- --></A><H3>
277
calculateScissors</H3>
278
<PRE>
279
public static void <B>calculateScissors</B>(<A HREF="../../../../../../com/badlogic/gdx/graphics/Camera.html" title="class in com.badlogic.gdx.graphics">Camera</A>&nbsp;camera,
280
                                     <A HREF="../../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4</A>&nbsp;batchTransform,
281
                                     <A HREF="../../../../../../com/badlogic/gdx/math/Rectangle.html" title="class in com.badlogic.gdx.math">Rectangle</A>&nbsp;area,
282
                                     <A HREF="../../../../../../com/badlogic/gdx/math/Rectangle.html" title="class in com.badlogic.gdx.math">Rectangle</A>&nbsp;scissor)</PRE>
283
<DL>
284
<DD>Calculates a scissor rectangle in OpenGL ES window coordinates from a <A HREF="../../../../../../com/badlogic/gdx/graphics/Camera.html" title="class in com.badlogic.gdx.graphics"><CODE>Camera</CODE></A>, a transformation <A HREF="../../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math"><CODE>Matrix4</CODE></A> and
285
 an axis aligned <A HREF="../../../../../../com/badlogic/gdx/math/Rectangle.html" title="class in com.badlogic.gdx.math"><CODE>Rectangle</CODE></A>. The rectangle will get transformed by the camera and transform matrices and is then
286
 projected to screen coordinates. Note that only axis aligned rectangles will work with this method. If either the Camera or
287
 the Matrix4 have rotational components, the output of this method will not be suitable for
288
 <A HREF="../../../../../../com/badlogic/gdx/graphics/GLCommon.html#glScissor(int, int, int, int)"><CODE>GLCommon.glScissor(int, int, int, int)</CODE></A>.
289
<P>
290
<DD><DL>
291
<DT><B>Parameters:</B><DD><CODE>camera</CODE> - the <A HREF="../../../../../../com/badlogic/gdx/graphics/Camera.html" title="class in com.badlogic.gdx.graphics"><CODE>Camera</CODE></A><DD><CODE>batchTransform</CODE> - the transformation <A HREF="../../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math"><CODE>Matrix4</CODE></A><DD><CODE>area</CODE> - the <A HREF="../../../../../../com/badlogic/gdx/math/Rectangle.html" title="class in com.badlogic.gdx.math"><CODE>Rectangle</CODE></A> to transform to window coordinates<DD><CODE>scissor</CODE> - the Rectangle to store the result in</DL>
292
</DD>
293
</DL>
294
<HR>
295
 
296
<A NAME="getViewport()"><!-- --></A><H3>
297
getViewport</H3>
298
<PRE>
299
public static <A HREF="../../../../../../com/badlogic/gdx/math/Rectangle.html" title="class in com.badlogic.gdx.math">Rectangle</A> <B>getViewport</B>()</PRE>
300
<DL>
301
<DD><DL>
302
 
303
<DT><B>Returns:</B><DD>the current viewport in OpenGL ES window coordinates based on the currently applied scissor</DL>
304
</DD>
305
</DL>
306
<HR>
307
 
308
<A NAME="toWindowCoordinates(com.badlogic.gdx.graphics.Camera, com.badlogic.gdx.math.Matrix4, com.badlogic.gdx.math.Vector2)"><!-- --></A><H3>
309
toWindowCoordinates</H3>
310
<PRE>
311
public static void <B>toWindowCoordinates</B>(<A HREF="../../../../../../com/badlogic/gdx/graphics/Camera.html" title="class in com.badlogic.gdx.graphics">Camera</A>&nbsp;camera,
312
                                       <A HREF="../../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4</A>&nbsp;transformMatrix,
313
                                       <A HREF="../../../../../../com/badlogic/gdx/math/Vector2.html" title="class in com.badlogic.gdx.math">Vector2</A>&nbsp;point)</PRE>
314
<DL>
315
<DD>Transforms a point to real window coordinates (as oposed to OpenGL ES window coordinates), where the origin is in the top
316
 left and the the y-axis is pointing downwards
317
<P>
318
<DD><DL>
319
<DT><B>Parameters:</B><DD><CODE>camera</CODE> - the <A HREF="../../../../../../com/badlogic/gdx/graphics/Camera.html" title="class in com.badlogic.gdx.graphics"><CODE>Camera</CODE></A><DD><CODE>transformMatrix</CODE> - the transformation <A HREF="../../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math"><CODE>Matrix4</CODE></A><DD><CODE>point</CODE> - the point to be transformed.</DL>
320
</DD>
321
</DL>
322
<!-- ========= END OF CLASS DATA ========= -->
323
<HR>
324
 
325
 
326
<!-- ======= START OF BOTTOM NAVBAR ====== -->
327
<A NAME="navbar_bottom"><!-- --></A>
328
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
329
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
330
<TR>
331
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
332
<A NAME="navbar_bottom_firstrow"><!-- --></A>
333
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
334
  <TR ALIGN="center" VALIGN="top">
335
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
336
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
337
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
338
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/ScissorStack.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
339
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
340
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
341
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
342
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
343
  </TR>
344
</TABLE>
345
</TD>
346
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
347
libgdx API</EM>
348
</TD>
349
</TR>
350
 
351
<TR>
352
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
353
&nbsp;<A HREF="../../../../../../com/badlogic/gdx/scenes/scene2d/utils/NinePatchDrawable.html" title="class in com.badlogic.gdx.scenes.scene2d.utils"><B>PREV CLASS</B></A>&nbsp;
354
&nbsp;<A HREF="../../../../../../com/badlogic/gdx/scenes/scene2d/utils/SpriteDrawable.html" title="class in com.badlogic.gdx.scenes.scene2d.utils"><B>NEXT CLASS</B></A></FONT></TD>
355
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
356
  <A HREF="../../../../../../index.html?com/badlogic/gdx/scenes/scene2d/utils/ScissorStack.html" target="_top"><B>FRAMES</B></A>  &nbsp;
357
&nbsp;<A HREF="ScissorStack.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
358
&nbsp;<SCRIPT type="text/javascript">
359
  <!--
360
  if(window==top) {
361
    document.writeln('<A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
362
  }
363
  //-->
364
</SCRIPT>
365
<NOSCRIPT>
366
  <A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>
367
</NOSCRIPT>
368
 
369
 
370
</FONT></TD>
371
</TR>
372
<TR>
373
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
374
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
375
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
376
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
377
</TR>
378
</TABLE>
379
<A NAME="skip-navbar_bottom"></A>
380
<!-- ======== END OF BOTTOM NAVBAR ======= -->
381
 
382
<HR>
383
 
384
                                <div style="font-size:9pt"><i>
385
                                Copyright 2010 Mario Zechner (contact@badlogicgames.com), Nathan Sweet (admin@esotericsoftware.com)
386
                                </i></div>
387
 
388
</BODY>
389
</HTML>