Debian Codegraph @

opcodes/flhvsbox.xml

raw symbols SCIP
1
2 <refentry id="FLhvsBox">
3 <indexterm id="IndexFLhvsBox"><primary>FLhvsBox</primary></indexterm>
4 <refentryinfo><title>FLTK:Other</title></refentryinfo>
5 <refmeta>
6 <refentrytitle>FLhvsBox</refentrytitle>
7 </refmeta>
8
9 <refnamediv>
10 <refname>FLhvsBox</refname>
11 <refpurpose>
12 Displays a box with a grid useful for visualizing two-dimensional Hyper Vectorial Synthesis.
13 </refpurpose>
14 </refnamediv>
15
16 <refsect1>
17 <title>Description</title>
18 <para>
19 Plugin opcode in widgets. This opcode is part of the plugin repository and has to be installed separately. These FLTK widgets do not work on the Mac.
20 The plugin repository can be found here: <ulink url="https://github.com/csound/plugins"><citetitle>https://github.com/csound/plugins</citetitle></ulink></para>
21 <para>
22 <emphasis>FLhvsBox</emphasis> displays a box with a grid useful for visualizing two-dimensional Hyper Vectorial Synthesis.
23 </para>
24 </refsect1>
25
26 <refsect1>
27 <title>Syntax</title>
28 <synopsis>ihandle <command>FLhvsBox</command> inumlinesX, inumlinesY, iwidth, iheight, ix, iy</synopsis>
29 </refsect1>
30
31 <refsect1>
32 <title>Initialization</title>
33 <para>
34 <emphasis>ihandle</emphasis> – an integer number used a univocally-defined handle for identifying a specific HVS box (see below).
35 </para>
36 <para>
37 <emphasis>inumlinesX, inumlinesY</emphasis> - number of vertical and horizontal lines delimiting the HVS squared areas
38 </para>
39 <para>
40 <emphasis>iwidth, iheight</emphasis> - width and height of the HVS box
41 </para>
42 <para>
43 <emphasis>ix, iy</emphasis> - the position of the HVS box
44 </para>
45 </refsect1>
46
47 <refsect1>
48 <title>Performance</title>
49 <para>
50 <emphasis>FLhvsBox</emphasis> is a widget able to visualize current position of the HVS cursor in an HVS box (i.e. a squared area containing a grid). The number of horizontal and vertical lines of the grid can be defined with the <emphasis>inumlinesX, inumlinesY</emphasis> arguments. This opcode has to be declared inside an <link linkend="FLpanel"><citetitle>FLpanel</citetitle></link> - <link linkend="FLpanelEnd"><citetitle>FLpanelEnd</citetitle></link> block. See the entry for <link linkend="hvs2"><citetitle>hvs2</citetitle></link> for an example of usage of <emphasis>FLhvsBox</emphasis>.
51 </para>
52 <para>
53 <link linkend="FLhvsBoxSetValue"><citetitle>FLhvsBoxSetValue</citetitle></link> is used to set the cursor position of an <emphasis>FLhvsBox</emphasis> widget.
54 </para>
55 <!-- <note> -->
56 <!-- <para> -->
57 <!-- The opcode <emphasis>bmscan</emphasis> has not been provided, so currently the parameter <emphasis>image</emphasis> has no effect. -->
58 <!-- </para> -->
59 <!-- </note> -->
60 </refsect1>
61 <!--
62 <refsect1>
63 <title>Examples</title>
64 <para>
65 Here is an example of the FLhvsBox opcode. It uses the file <ulink url="examples/FLhvsBox.csd"><citetitle>FLhvsBox.csd</citetitle></ulink>.
66
67 <example>
68 <title>Example of the FLhvsBox opcode.</title>
69 <para>See the sections <link linkend="UsingRealTime"><citetitle>Real-time Audio</citetitle></link> and <link linkend="CommandFlags"><citetitle>Command Line Flags</citetitle></link> for more information on using command line flags.</para>
70 <xi:include href="examples-xml/FLhvsBox.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
71 </example>
72 </para>
73 </refsect1>-->
74 <refsect1>
75 <title>See Also</title>
76 <para>
77 <link linkend="hvs2"><citetitle>hvs2</citetitle></link>,
78 <link linkend="FLhvsBoxSetValue"><citetitle>FLhvsBoxSetValue</citetitle></link>
79 </para>
80 </refsect1>
81
82 <refsect1>
83 <title>Credits</title>
84 <para>Author: &namegabriel;</para>
85 <para>New in version 5.06</para>
86 </refsect1>
87 </refentry>