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="IBM WebSphere Studio Homepage Builder Version 7.0.0.0 for Windows">
6<META http-equiv="Content-Style-Type" content="text/css">
7<TITLE>CAMERA_GetTrimmingParams</TITLE>
8<LINK rel="stylesheet" href="../css/nitro.css" type="text/css">
9</HEAD>
10<BODY>
11<H1 align="left">CAMERA_GetTrimmingParams <IMG src="../image/TWL.gif" align="middle"></H1>
12<H2>Syntax</H2>
13<DL>
14  <DD>
15  <CODE>#include &lt;twl/camera.h&gt;</CODE><BR>
16  <BR>
17  <CODE>void CAMERA_GetTrimmingParams(u16 *x1, u16 *y1, u16 *x2, u16 *y2);</CODE>
18</DL>
19<H2>Arguments</H2>
20<TABLE border="1" width="100%">
21  <TBODY>
22    <TR>
23      <TD width="13%"><EM><STRONG>x1</STRONG></EM></TD>
24      <TD width="87%">Current start position for trimming (in pixels)</TD>
25    </TR>
26    <TR>
27      <TD width="13%"><EM><STRONG>y1</STRONG></EM></TD>
28      <TD width="87%">Current start position for trimming (in pixels)</TD>
29    </TR>
30    <TR>
31      <TD width="13%"><EM><STRONG>x2</STRONG></EM></TD>
32      <TD width="87%">Current end position for trimming (in pixels)</TD>
33    </TR>
34    <TR>
35      <TD width="13%"><EM><STRONG>y2</STRONG></EM></TD>
36      <TD width="87%">Current end position for trimming (in pixels)</TD>
37    </TR>
38  </TBODY>
39</TABLE>
40
41<H2>Return Values</H2>
42<P>None.</P>
43
44<H2>Description</H2>
45<P>
46Gets the currently configured trimming positions. If the <code><A href="CAMERA_SetTrimmingParams.html">CAMERA_SetTrimmingParams</A></code> or <code><A href="CAMERA_SetTrimmingParamsCenter.html">CAMERA_SetTrimmingParamsCenter</A></code> function has been used to specify trimming positions, those settings are obtained. If the aforementioned function has not been called, the default value is obtained.
47</P>
48
49<H2>See Also</H2>
50<P><CODE><A href="CAMERA_SetTrimmingParams.html">CAMERA_SetTrimmingParams</A></CODE>, <CODE><A href="CAMERA_SetTrimmingParamsCenter.html">CAMERA_SetTrimmingParamsCenter</A></CODE></P>
51<H2>Revision History</H2>
52<P>2008/01/15 Initial version.</P>
53<hr><p>CONFIDENTIAL</p></body>
54</HTML>
55