<?xml version="1.0" encoding="utf-8" standalone="yes"?>

<?xml-stylesheet href="./_c74_ref.xsl" type="text/xsl"?>

<!--This is an automatically generated file. DO NOT EDIT THIS FILE DIRECTLY. Rather, use the _ref.xml files found in the 'edits' folder.-->
<c74object name="jit.rota" module="jit" category="Jitter Spatial">
	<digest>
		Scale/rotate in 2D
	</digest>
	<description>
		Use the <o>jit.rota</o> object for quick 2-dimemsional scaling and rotation of matrices.
	</description>
	<!--METADATA-->
	<metadatalist>
		<metadata name="author">
			Cycling '74
		</metadata>
		<metadata name="tag">
			Jitter
		</metadata>
		<metadata name="tag">
			Jitter Spatial
		</metadata>
	</metadatalist>
	<!--INLETS-->
	<inletlist>
		<inlet id="0" type="matrix">
			<digest>
				in
			</digest>
			<description>
				TEXT_HERE
			</description>
		</inlet>
		<inlet id="1" type="matrix">
			<digest>
			</digest>
			<description>
				TEXT_HERE
			</description>
		</inlet>
	</inletlist>
	<!--OUTLETS-->
	<outletlist>
		<outlet id="0" type="matrix">
			<digest>
				out
			</digest>
			<description>
				TEXT_HERE
			</description>
		</outlet>
		<outlet id="1" type="matrix">
			<digest>
				dumpout
			</digest>
			<description>
				TEXT_HERE
			</description>
		</outlet>
	</outletlist>
	<!--MOP-->
	<mop matrixinputcount="1" matrixoutputcount="1">
		<matrixoutput name="out" planelink="1" typelink="1" dimlink="1" minplanecount="1" maxplanecount="32" mindimcount="1" maxdimcount="32">
			<types>
				char long float32 float64
			</types>
		</matrixoutput>
	</mop>
	<!--MESSAGES-->
	<jittermethodlist>
		<jittermethod name="bang" />
		<jittermethod name="clear" />
		<jittermethod name="exportattrs" />
		<jittermethod name="exportsummary" />
		<jittermethod name="getattributes" />
		<jittermethod name="getstate" />
		<jittermethod name="jit_matrix" />
		<jittermethod name="importattrs" />
		<jittermethod name="outputmatrix" />
		<jittermethod name="summary" />
	</jittermethodlist>
	<!--ATTRIBUTES-->
	<attributelist>
		<attribute name="anchor_x" get="1" set="1" type="int" size="1">
			<digest>
				Horizontal anchor point
			</digest>
			<description>
				The horizontal anchor point for rotation (default = 0) The anchor point is horizontally offset in pixels from the upper left corner of the display.
			</description>
			<attributelist>
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Anchor X" />
			</attributelist>
		</attribute>
		<attribute name="anchor_y" get="1" set="1" type="int" size="1">
			<digest>
				Vertical anchor point
			</digest>
			<description>
				The vertical anchor point for rotation (default = 0) The anchor point is vertically offset in pixels from the upper left corner of the display.
			</description>
			<attributelist>
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Anchor Y" />
			</attributelist>
		</attribute>
		<attribute name="boundmode" get="1" set="1" type="int" size="1">
			<digest>
				Boundary mode
			</digest>
			<description>
				Boundary handling mode (default = 0 (ignore))
				<br />
				0 = ignore: Values that exceed the limits are ignored.
				<br />
				1 = clear: Values that exceed the limits are set to 0.
				<br />
				2 = wrap: Values that exceed the limits are wrapped around to the opposite limit with a modulo operation. (256 wraps to 0, 257 wraps to 1, and -1 wraps to 255, -2 wraps to 254, etc.)
				<br />
				3 = clip: Values are limited not to exceed min or max. (e.g. numbers greater than 255 are set to 255, and numbers less than 0 are set to 0.)
				<br />
				4 = fold: Values that exceed the limits are folded back in the opposite direction. (256 is folded back to 254, 257 is folded back to 253, and -1 is folded back to 1, -2 to 2, etc.)
				<br />
			</description>
			<attributelist>
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Boundmode" />
			</attributelist>
		</attribute>
		<attribute name="cosoffset_x" get="1" set="1" type="float" size="1">
			<digest>
				Horizontal cosine offset
			</digest>
			<description>
				Horizontal cosine offset (default = 0.)
			</description>
			<attributelist>
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Cos Offset X" />
			</attributelist>
		</attribute>
		<attribute name="cosoffset_y" get="1" set="1" type="float" size="1">
			<digest>
				Vertical cosine offset
			</digest>
			<description>
				Vertical cosine offset (default = 0.)
			</description>
			<attributelist>
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Cos Offset Y" />
			</attributelist>
		</attribute>
		<attribute name="cosscale_x" get="1" set="1" type="float" size="1">
			<digest>
				Horizontal cosine scale
			</digest>
			<description>
				Horizontal cosine scale (default = 0.)
			</description>
			<attributelist>
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Cos Scale X" />
			</attributelist>
		</attribute>
		<attribute name="cosscale_y" get="1" set="1" type="float" size="1">
			<digest>
				Vertical cosine scale
			</digest>
			<description>
				Vertical cosine scale (default = 0.)
			</description>
			<attributelist>
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Cos Scale Y" />
			</attributelist>
		</attribute>
		<attribute name="interp" get="1" set="1" type="int" size="1">
			<digest>
				Interpolation flag
			</digest>
			<description>
				Interpolation flag (default = 0) When the flag is set, the incoming matrix is interpolated when scaling to display.
			</description>
			<attributelist>
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Interp" />
			</attributelist>
		</attribute>
		<attribute name="offset_x" get="1" set="1" type="int" size="1">
			<digest>
				Horizontal offset
			</digest>
			<description>
				The horizontal offset (default = 0) The horizontal offset is specified in pixels from the upper left corner of the display.
			</description>
			<attributelist>
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Offset X" />
			</attributelist>
		</attribute>
		<attribute name="offset_y" get="1" set="1" type="int" size="1">
			<digest>
				Vertical offset
			</digest>
			<description>
				The vertical offset (default = 0) The vertical offset is specified in pixels from the upper left corner of the display.
			</description>
			<attributelist>
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Offset Y" />
			</attributelist>
		</attribute>
		<attribute name="sinoffset_x" get="1" set="1" type="float" size="1">
			<digest>
				Horizontal sine offset
			</digest>
			<description>
				Horizontal sine offset (default = 0.)
			</description>
			<attributelist>
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Sin Offset X" />
			</attributelist>
		</attribute>
		<attribute name="sinoffset_y" get="1" set="1" type="float" size="1">
			<digest>
				Vertical sine offset
			</digest>
			<description>
				Vertical sine offset (default = 0.)
			</description>
			<attributelist>
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Sin Offset Y" />
			</attributelist>
		</attribute>
		<attribute name="sinscale_x" get="1" set="1" type="float" size="1">
			<digest>
				Horizontal sine scale
			</digest>
			<description>
				Horizontal sine scale (default = 0.)
			</description>
			<attributelist>
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Sin Scale X" />
			</attributelist>
		</attribute>
		<attribute name="sinscale_y" get="1" set="1" type="float" size="1">
			<digest>
				Vertical sine scale
			</digest>
			<description>
				Vertical sine scale (default = 0.)
			</description>
			<attributelist>
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Sin Scale Y" />
			</attributelist>
		</attribute>
		<attribute name="theta" get="1" set="1" type="float" size="1">
			<digest>
				Rotation angle in radians
			</digest>
			<description>
				The rotation angle in radians (default = 0.)
			</description>
			<attributelist>
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Theta" />
			</attributelist>
		</attribute>
		<attribute name="thetaoffsetcos_x" get="1" set="1" type="float" size="1">
			<digest>
				Horizontal theta cosine offset
			</digest>
			<description>
				<at>theta</at>-dependent horizontal cosine offset (default = 0.)
			</description>
			<attributelist>
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Theta Offset Cos X" />
			</attributelist>
		</attribute>
		<attribute name="thetaoffsetcos_y" get="1" set="1" type="float" size="1">
			<digest>
				Vertical theta cosine offset
			</digest>
			<description>
				<at>theta</at>-dependent vertical cosine offset (default = 0.)
			</description>
			<attributelist>
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Theta Offset Cos Y" />
			</attributelist>
		</attribute>
		<attribute name="thetaoffsetsin_x" get="1" set="1" type="float" size="1">
			<digest>
				Horizontal theta sine offset
			</digest>
			<description>
				<at>theta</at>-dependent horizontal sine offset (default = 0.)
			</description>
			<attributelist>
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Theta Offset Sin X" />
			</attributelist>
		</attribute>
		<attribute name="thetaoffsetsin_y" get="1" set="1" type="float" size="1">
			<digest>
				Vertical theta sine offset
			</digest>
			<description>
				<at>theta</at>-dependent vertical sine offset (default = 0.)
			</description>
			<attributelist>
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Theta Offset Sin Y" />
			</attributelist>
		</attribute>
		<attribute name="thetascalecos_x" get="1" set="1" type="float" size="1">
			<digest>
				Horizontal theta cosine scaling
			</digest>
			<description>
				<at>theta</at>-dependent horizontal cosine scale (default = 0.)
			</description>
			<attributelist>
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Theta Scale Cos X" />
			</attributelist>
		</attribute>
		<attribute name="thetascalecos_y" get="1" set="1" type="float" size="1">
			<digest>
				Vertical theta cosine scaling
			</digest>
			<description>
				<at>theta</at>-dependent vertical cosine scale (default = 0.)
			</description>
			<attributelist>
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Theta Scale Cos Y" />
			</attributelist>
		</attribute>
		<attribute name="thetascalesin_x" get="1" set="1" type="float" size="1">
			<digest>
				Horizontal theta sine scaling
			</digest>
			<description>
				<at>theta</at>-dependent horizontal sine scale (default = 0.)
			</description>
			<attributelist>
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Theta Scale Sin X" />
			</attributelist>
		</attribute>
		<attribute name="thetascalesin_y" get="1" set="1" type="float" size="1">
			<digest>
				Vertical theta sine scaling
			</digest>
			<description>
				<at>theta</at>-dependent vertical sine scale (default = 0.)
			</description>
			<attributelist>
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Theta Scale Sin Y" />
			</attributelist>
		</attribute>
		<attribute name="zoom_x" get="1" set="1" type="float" size="1">
			<digest>
				Horizontal image scaling
			</digest>
			<description>
				The horizontal image scaling (default = 1.)
			</description>
			<attributelist>
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Zoom X" />
			</attributelist>
		</attribute>
		<attribute name="zoom_y" get="1" set="1" type="float" size="1">
			<digest>
				Vertical image scaling
			</digest>
			<description>
				The vertical image scaling (default = 1.)
			</description>
			<attributelist>
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Zoom Y" />
			</attributelist>
		</attribute>
	</attributelist>
	<jitterattributelist>
		<jitterattribute name="outputmode" />
		<jitterattribute name="adapt" />
		<jitterattribute name="out_name" />
		<jitterattribute name="type" />
		<jitterattribute name="dim" />
		<jitterattribute name="planecount" />
	</jitterattributelist>
	<!--EXAMPLE-->
	<examplelist>
		<example img="jit.rota.png" />
	</examplelist>
	<!--SEEALSO-->
	<seealsolist>
		<seealso name="jit.mxform2d" />
		<seealso name="jit.repos" />
		<seealso name="jit.resamp" />
		<seealso name="jitterchapter15" module="jit" type="tutorial" />
	</seealsolist>
</c74object>
