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="IBM WebSphere Studio Homepage Builder Version 7.0.0.0 for Windows"> 7<META http-equiv="Content-Style-Type" content="text/css"> 8<title>G2_SetOBJEffect</title> 9<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css"> 10</head> 11 12<body> 13 14<h1 align="left">G2_SetOBJEffect <img src="../../image/NTR.gif"align="middle"><img src="../../image/TWL.gif" align="middle"></H1> 15<H2>Syntax</H2> 16 17<dl> 18 <dd> 19<PRE> 20<CODE>#include <nitro/gx/g2_oam.h></CODE><BR> 21void G2_SetOBJEffect(<A href="../gx/GXOamAttr.html">GXOamAttr</A> * oam, GXOamEffect effect, int rsParam);</PRE></dd> 22</dl><h2>Arguments</h2> 23<TABLE border="1" width="100%"> 24 <TBODY> 25 <TR> 26 <TD width="149"><em><strong><font face="Courier New">oam</font></strong></em></TD> 27 <TD width="706">Pointer to the location storing the OAM data</TD> 28 </TR> 29 <TR> 30 <TD><em><strong><font face="Courier New">effect</font></strong></em></TD> 31 <TD>Specify effect type</TD> 32 </TR> 33 <TR> 34 <TD><em><strong><font face="Courier New">rsParam</font></strong></em></TD> 35 <TD>Affine transformation parameter</TD> 36 </TR> 37 </TBODY> 38</TABLE> 39<h2>Return Values</h2> 40<p>None.</p> 41<H2>Description</H2> 42<P>This function specifies the flip and affine transformation effects and stores them in <code>*</code><em><strong><code>oam</code></strong></em>. <em><strong><code>rsParam</code></strong></em> is valid only when affine transformation has been specified with <em><strong><code>effect</code></strong></em>. The affine transformation to be applied to OBJ can be specified with an index. Refer to the <A href="G2_SetOBJAttr.html"><CODE>G2_SetOBJAttr</CODE></A> function for details on the <CODE>GXOamEffect</CODE> type.</P> 43 44 45<h2>See Also</h2> 46<P><A href="G2_SetOBJAttr.html">G2_SetOBJAttr</A></P> 47<H2>Revision History</H2> 48<P>2004/01/19 Initial version.</P> 49<hr><p>CONFIDENTIAL</p></body> 50</html> 51