Setting Up the Gadget Width and Height: <vshap>
- Last UpdatedJul 24, 2024
- 2 minute read
This operation allows you to set a gadget’s width and height.
>-- <vshap> --+- <vwid> ‑-+- <vhei> --------.
| +- ASPect (h/w) --|
| ‘-----------------‘-->
|
‘- <vhei> --+- <vwid> --------.
+- ASPect (h/w) --|
‘-----------------‘-->
Figure 2:5. Syntax Graph -: Gadget Geometry <vshap>
h/w is the value of the Aspect Ratio (height/width).
The units for <vshap> will have been preset to pixels or F&M grid units, appropriately.
The default width and height for <vshap> will have been preset, so leaving the graph with only width or height set still realizes both values.
All values may be given as integer or reals.
Setting the Height: <vwid>
>-- <vwid> -- WIDth --+- val -->
|
+- TO --+- MIN -.
| +- CEN -|
| '- MAX -'-+- <gname> -. .---<---.
| +-- FORM ---| / |
| '-----------'-+- * val -+-->
| +- + --.
| '- - --+--- val ---.
| +-- HDIST --|
| '- PADDING -'-->
+- <gname> -. .---<---.
| |/ |
'-----------+- * val -+-->
+- + --.
'- - --+--- val ---.
+-- HDIST --|
'- PADDING -'-->
Setting the Width: <vhei>
>-- <vhei> -+- HEIght -.
+- LENgth -|
'- LINes --+- val -->
| +- TO --+- MIN -.
| +- CEN -|
| '- MAX -'-+- <gname> -. .---<---.
| +-- FORM ---| / |
| '-----------'-+- * val -+-->
| +- + --.
| '- - --+--- val ---.
| +-- VDIST --|
| '- PADDING -'-->
+- <gname> -. .---<---.
| |/ |
'-----------+- * val -+-->
+- + --.
'- - --+--- val ---.
+-- VDIST --|
'- PADDING -'-->