<?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.pwindow" module="jit" category="Jitter UI">
	<digest>
		Display Jitter data and images
	</digest>
	<description>
		Use <o>jit.pwindow</o> to draw pixels or graphics within a patcher - it displays <o>jit.matrix</o> data as well as OpenGL 3D graphics.
	</description>
	<!--METADATA-->
	<metadatalist>
		<metadata name="author">
			Cycling '74
		</metadata>
		<metadata name="tag">
			Jitter
		</metadata>
		<metadata name="tag">
			Jitter UI
		</metadata>
	</metadatalist>
	<!--INLETS-->
	<inletlist>
		<inlet id="0" type="INLET_TYPE">
			<digest>
				(Matrix) In
			</digest>
			<description>
				TEXT_HERE
			</description>
		</inlet>
	</inletlist>
	<!--OUTLETS-->
	<outletlist>
		<outlet id="0" type="OUTLET_TYPE">
			<digest>
				(Matrix) Out
			</digest>
			<description>
				TEXT_HERE
			</description>
		</outlet>
		<outlet id="1" type="OUTLET_TYPE">
			<digest>
				Dumpout
			</digest>
			<description>
				TEXT_HERE
			</description>
		</outlet>
	</outletlist>
	<palette category="Jitter" action="jit.pwindow" pic="jit.pwindow.svg" />
	<!--ARGUMENTS-->
	<objarglist>
		<objarg id="0" name="OBJARG_NAME" type="OBJARG_TYPE" optional="0">
			<digest>
				TEXT_HERE
			</digest>
			<description>
				TEXT_HERE
			</description>
		</objarg>
	</objarglist>
	<!--MESSAGES-->
	<methodlist>
		<method name="bang">
			<arglist />
			<digest>
				Output the currently stored matrix
			</digest>
			<description>
				TEXT_HERE
			</description>
		</method>
		<method name="jit_gl_texture">
			<arglist>
				<arg name="texture-name" type="symbol" />
			</arglist>
			<digest>
				Draw the texture to screen
			</digest>
			<description>
				Draw the texture to screen by first reading back the texture into a matrix.
			</description>
		</method>
		<method name="jit_matrix">
			<arglist>
				<arg name="matrix-name" type="symbol" />
			</arglist>
			<digest>
				Draw the matrix to screen
			</digest>
			<description>
				TEXT_HERE
			</description>
		</method>
		<method name="(mouse)">
			<digest>
				Mouse events
			</digest>
			<description>
				TEXT_HERE
			</description>
		</method>
	</methodlist>
	<!--ATTRIBUTES-->
	<attributelist>
		<attribute name="border" get="1" set="1" type="float" size="1">
			<digest>
				Enable border drawing
			</digest>
			<description>
				Enable border drawing
			</description>
			<attributelist>
				<attribute name="default" get="1" set="1" type="float" size="1" value="0." />
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Border Size" />
				<attribute name="paint" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="save" get="1" set="1" type="int" size="1" value="1" />
			</attributelist>
		</attribute>
		<attribute name="bordercolor" get="1" set="1" type="float" size="4">
			<digest>
				Border Color
			</digest>
			<description>
				Sets the Border Color in RGBA format. The Draw border flag must be set for the border to be visible.
			</description>
			<attributelist>
				<attribute name="default" get="1" set="1" type="float" size="4" value="0. 0. 0. 1." />
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Border Color" />
				<attribute name="paint" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="save" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="style" get="1" set="1" type="symbol" size="1" value="rgba" />
			</attributelist>
		</attribute>
		<attribute name="colormode" get="1" set="1" type="symbol" size="1">
			<digest>
				Matrix color mode
			</digest>
			<description>
				Matrix color mode
			</description>
			<attributelist>
				<attribute name="default" get="1" set="1" type="symbol" size="1" value="argb" />
				<attribute name="enumvals" get="1" set="1" type="atom" size="2">
					<enumlist>
						<enum name="argb">
							<digest>
								ARGB color
							</digest>
							<description>
								Colors specified in ARGB format (default)
							</description>
						</enum>
						<enum name="uyvy">
							<digest>
								UYVY color
							</digest>
							<description>
								Colors specified in UYVY format
							</description>
						</enum>
					</enumlist>
				</attribute>
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Colormode" />
				<attribute name="save" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="style" get="1" set="1" type="symbol" size="1" value="enum" />
			</attributelist>
		</attribute>
		<attribute name="depthbuffer" get="1" set="1" type="int" size="1">
			<digest>
				Enable depth buffer
			</digest>
			<description>
				Enable depth buffer
			</description>
			<attributelist>
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Depth Buffer" />
				<attribute name="style" get="1" set="1" type="symbol" size="1" value="onoff" />
			</attributelist>
		</attribute>
		<attribute name="doublebuffer" get="1" set="1" type="int" size="1">
			<digest>
				Enable double buffering
			</digest>
			<description>
				Enable double buffering
			</description>
			<attributelist>
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Double Buffer" />
				<attribute name="style" get="1" set="1" type="symbol" size="1" value="onoff" />
			</attributelist>
		</attribute>
		<attribute name="dstrect" get="1" set="1" type="int" size="4">
			<digest>
				Matrix destination rectangle
			</digest>
			<description>
				The matrix destination rectangle is given by coordinates left, top, bottom, right. All values are relative to the top left corner of the window.
			</description>
			<attributelist>
				<attribute name="default" get="1" set="1" type="int" size="4" value="0 0 320 240" />
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Destination Rectangle" />
				<attribute name="save" get="1" set="1" type="int" size="1" value="1" />
			</attributelist>
		</attribute>
		<attribute name="fsaa" get="1" set="1" type="int" size="1">
			<digest>
				Full scene anti-aliasing enable
			</digest>
			<description>
				Full scene anti-aliasing enable
			</description>
			<attributelist>
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="FSAA" />
				<attribute name="style" get="1" set="1" type="symbol" size="1" value="onoff" />
			</attributelist>
		</attribute>
		<attribute name="idlemouse" get="1" set="1" type="int" size="1">
			<digest>
				Mouse idle events enable
			</digest>
			<description>
				Mouse idle events enable
			</description>
			<attributelist>
				<attribute name="default" get="1" set="1" type="int" size="1" value="0" />
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Idlemouse" />
				<attribute name="save" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="style" get="1" set="1" type="symbol" size="1" value="onoff" />
			</attributelist>
		</attribute>
		<attribute name="interp" get="1" set="1" type="int" size="1">
			<digest>
				Matrix interpolation enable
			</digest>
			<description>
				Matrix interpolation enable
			</description>
			<attributelist>
				<attribute name="default" get="1" set="1" type="int" size="1" value="0" />
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Interpolate" />
				<attribute name="save" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="style" get="1" set="1" type="symbol" size="1" value="onoff" />
			</attributelist>
		</attribute>
		<attribute name="name" get="1" set="1" type="symbol" size="1">
			<digest>
				Window name
			</digest>
			<description>
				The name of the window. Jitter OpenGL objects attach to a rendering context through the window's name.
			</description>
			<attributelist>
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Name" />
			</attributelist>
		</attribute>
		<attribute name="onscreen" get="1" set="1" type="int" size="1">
			<digest>
				Draw direct to screen enable
			</digest>
			<description>
				Draw direct to screen enable
			</description>
			<attributelist>
				<attribute name="default" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Onscreen" />
				<attribute name="save" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="style" get="1" set="1" type="symbol" size="1" value="onoff" />
			</attributelist>
		</attribute>
		<attribute name="pickray" get="1" set="1" type="int" size="1">
			<digest>
				Pickray
			</digest>
			<description>
				Pickray
			</description>
			<attributelist>
				<attribute name="default" get="1" set="1" type="int" size="1" value="0" />
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Pickray" />
				<attribute name="save" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="style" get="1" set="1" type="symbol" size="1" value="onoff" />
			</attributelist>
		</attribute>
		<attribute name="planemap" get="1" set="1" type="int" size="4">
			<digest>
				Plane mapping from input matrix to output
			</digest>
			<description>
				The plane mapping from input matrix to output (default = 0 1 2 3).
			</description>
			<attributelist>
				<attribute name="default" get="1" set="1" type="int" size="4" value="0 1 2 3" />
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Planemap" />
				<attribute name="save" get="1" set="1" type="int" size="1" value="1" />
			</attributelist>
		</attribute>
		<attribute name="shared" get="1" set="1" type="int" size="1">
			<digest>
				Shared
			</digest>
			<description>
				TEXT_HERE
			</description>
			<attributelist>
				<attribute name="default" get="1" set="1" type="int" size="1" value="0" />
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Shared" />
				<attribute name="save" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="style" get="1" set="1" type="symbol" size="1" value="onoff" />
			</attributelist>
		</attribute>
		<attribute name="size" get="1" set="1" type="int" size="2">
			<digest>
				Window size
			</digest>
			<description>
				Window size
			</description>
			<attributelist>
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Size" />
			</attributelist>
		</attribute>
		<attribute name="srcrect" get="1" set="1" type="int" size="4">
			<digest>
				Matrix source rectangle
			</digest>
			<description>
				The portion of the input matrix used when copying an input matrix to the internal matrix. (default = 0 0 (matrix width) (matrix height)) The proportions of the rectangle are expressed in the form <i>left top right bottom</i>. All values are relative to the top left corner of the viewing area of the input matrix.
			</description>
			<attributelist>
				<attribute name="default" get="1" set="1" type="int" size="4" value="0 0 320 240" />
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Source Rectangle" />
				<attribute name="save" get="1" set="1" type="int" size="1" value="1" />
			</attributelist>
		</attribute>
		<attribute name="stereo" get="1" set="1" type="int" size="1">
			<digest>
				Stereo buffer enable
			</digest>
			<description>
				Stereo buffer enable
			</description>
			<attributelist>
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Stereo" />
				<attribute name="style" get="1" set="1" type="symbol" size="1" value="onoff" />
			</attributelist>
		</attribute>
		<attribute name="sync" get="1" set="1" type="int" size="1">
			<digest>
				Vertical sync enable
			</digest>
			<description>
				The vertical sync flag sets the window to update synchronous to the monitor's refresh.
			</description>
			<attributelist>
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Sync" />
				<attribute name="style" get="1" set="1" type="symbol" size="1" value="onoff" />
			</attributelist>
		</attribute>
		<attribute name="usedstrect" get="1" set="1" type="int" size="1">
			<digest>
				Enable destination rectangle
			</digest>
			<description>
				Enable destination rectangle
			</description>
			<attributelist>
				<attribute name="default" get="1" set="1" type="int" size="1" value="0" />
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Use Destination Rect" />
				<attribute name="save" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="style" get="1" set="1" type="symbol" size="1" value="onoff" />
			</attributelist>
		</attribute>
		<attribute name="usesrcrect" get="1" set="1" type="int" size="1">
			<digest>
				Enable source rectangle
			</digest>
			<description>
				Enable source rectangle
			</description>
			<attributelist>
				<attribute name="default" get="1" set="1" type="int" size="1" value="0" />
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Use Source Rect" />
				<attribute name="save" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="style" get="1" set="1" type="symbol" size="1" value="onoff" />
			</attributelist>
		</attribute>
	</attributelist>
	<!--EXAMPLE-->
	<examplelist>
		<example img="jit.pwindow.png" />
	</examplelist>
	<!--SEEALSO-->
	<seealsolist>
		<seealso name="jit.gl.render" />
		<seealso name="jit.window" />
		<seealso name="jitterchapter02" module="jit" type="tutorial" />
		<seealso name="jitterchapter31" module="jit" type="tutorial" />
		<seealso name="jitterchapter38" module="jit" type="tutorial">
			Jitter Tutorial 38: Basic Performance Setup
		</seealso>
		<seealso name="jitterchapter39" module="jit" type="tutorial">
			Jitter Tutorial 39: Spatial Mapping
		</seealso>
		<seealso name="jitterchapter45" module="jit" type="tutorial">
			Jitter Tutorial 45: Introduction to using Jitter within JavaScript
		</seealso>
		<seealso name="jitterchapter49" module="jit" type="tutorial">
			Jitter Tutorial 49: Colorspaces
		</seealso>
	</seealsolist>
</c74object>
