![]() |
| jit.pwindow | In-Patcher Window |
| Attributes: |
| Name | Type | Description |
| border | int | Draw border flag (default = 0) |
| colormode | symbol | Color mode (default = argb). Possible values are argb or uyvy. |
| depthbuffer | int | Depth buffer flag (default = 0) When the flag is set, a depth buffer is allocated so that OpenGL contexts made with the jit.gl.render object can provide hidden-surface removal. |
| doublebuffer | int | Back buffer flag (default = 1) When the flag is set, a back buffer is allocated so that images can be drawn in multiple steps before viewing. Only applicable to OpenGL rendering. For non OpenGL related back buffers, see the onscreen attribute. |
| dstrect | int list[4] | Destination rectangle left top bottom right (default = 0 0 width height) This is the portion of the output matrix written to by the input matrix. All values are relative to the top left corner of the object’s viewing area. |
| fsaa | int | Full scene anti-aliasing flag (default = 0) When the flag is set, 3d graphics rendered into jit.pwindow will use full scene antialiasing. Support for full scene anti-aliasing depends on your graphics card, current graphics card settings, and available VRAM. Please consult the documentation or technical specs for your graphics card for more information. By default, full scene anti-aliasing is turned off. |
| idlemouse | int | Mouse on idle flag (default = 0) When the flag is set, mouse messages are sent on idle over window without the user clicking. |
| interp | int | Interpolation flag (default = 0) When the flag is set, the incoming matrix is interpolated when scaling to display. |
| onscreen | int | Onscreen drawing flag (default = 1) When the flag is set, drawing is direct on the screen rather than using an offscreen buffer. |
| planemap | int list[4] | Input plane to output plane map alpha red green blue (default = 0 1 2 3) |
| size | int list[2] | Size of window width height (default = 80 60) |
| srcrect | int list[4] | Source rectangle left top bottom right (default = 0 0 matrix-width matrix-height) All values are relative to the top left corner of the input matrix. |
| usedstrect | int | Destination rect flag (default = 0) When the flag is set, the dstrect attributes are used when copying an input matrix to the output. |
| usesrcrect | int | Destination rect flag (default = 0) When the flag is set, the srcrect attributes are used when copying an input matrix to the output. |
| Messages: |
| getname |
| Sends the message name instance-name out the right outlet. |
| jit_matrix [matrix-name (symbol)] |
| Draws the matrix specified by matrix-name in the in-patcher window. |
| name { [instance-name (symbol)] } |
| Sets the instance name to instance-name. If instance-name is not present, a new and unique name will be generated, replacing the previous name. |
| Inspector: |
|
The behavior of a jit.pwindow object is displayed and can be edited using its Inspector.
If you have enabled the floating inspector by choosing Show Floating Inspector
from the Windows menu, selecting any jit.pwindow object displays the jit.pwindow Inspector
in the floating window. Selecting an object and choosing Get Info.... from the
Object menu also displays the Inspector.
The Width and Height number boxes are used to set the dimensions, in pixels, of the jit.pwindow display.
Checking the Border box will display a border around the the jit.pwindow display The Name text box allows you to specify a name for the particular jit.pwindow display instance. The Revert button undoes all changes you’ve made to an object’s settings since you opened the Inspector. You can also revert to the state of an object before you opened the Inspector window by choosing Undo Inspector Changes from the Edit menu while the Inspector is open. |
| Example: |

| See Also: |
| jit.gl.render, jit.window |