2.3.6.2 Display Shape (#H)
Display Shape places a colored shape using attributes specified by %A.
Currently, the only shape which is displayed is a square.
Display Shape was derived from the #G (2.3.4.3 Graphics-Mode Display Text (#G)) command.
Instead of displaying a text string, however, #H will display a specified
shape.
- Name:
- Display Shape
- Class:
- Graphics
- Code:
#H
- Syntax:
#H[shape]
shape is only allowed to be 'square' right now.
- System:
- Displays shape on the screen with current attributes set by
%A.
- History:
- Originated in Cogsys 4.
- Test Files:
- `DSH_T01.IN'
- tests basic operation
- Examples:
- input
%A[X150,Y110,S90,C11,J0,F1]#H[square]
- cogsys
- Displays a shape inside a 90-by-90 pixel square (S90), whose upper-left corner is
at X=150 pixels (X150), and Y=110 pixels (Y110). The shape has color #11 (C11)
in the color palette. The shape is immediately 'flipped' to the screen (F1). See
2.3.4.9 Graphics-Mode Text/Shape Attributes (
%A) for more information.
This document was generated
on November, 24 2008
using texi2html