Input/Output:
|
| Level 2/Argument 1 | Level 1/Argument 2 |
| Level 1/Item 1 |
|
|
|
|
|
|
|
| obj | ncharsize | → | grob |
Example: | This program: |
|
|
|
|
|
|
|
|
« 'Y=3*X^2' 0 →GROB PICT STO { } PVIEW »
returns a graphics object to the stack representing the Equation Writer application picture of 'Y=3*X^2', then stores the graphics object in PICT and shows it in the graphics display with scrolling activated.
See also: | →LCD, LCD→ |
|
|
| |
|
|
|
|
|
|
GROB | Command |
|
|
| |
Type: |
|
|
| ||
Description: | Enters GROB on the command line to help with the manual entry of a graphic object. | ||||
Access: | …µGROB |
|
|
| |
GROBADD |
|
|
|
|
|
Type: | Command |
|
|
| |
Description: | Combines two graphic objects by appending the second argument onto the bottom of the first. | ||||
Access: | PGRAPH GROBADD |
|
|
| |
| !ÖGRAPH GROBADD | ( Öis the | |||
Input/Output: |
|
|
|
|
|
|
|
|
|
|
|
|
| Level 2/Argument 1 | Level 1/Argument 2 |
| Level 1/Item 1 |
|
|
|
|
|
|
|
| GROB1 | GROB2 | → | GROB3 |
|
|
|
|
|
|
|
|
|
|
|
|
GXOR | Command |
|
|
| |
Type: |
|
|
| ||
Description: | Graphics Exclusive OR Command: Superimposes grob1 onto grobtarget or PICT, with the upper left | ||||
| corner pixel of grob1 positioned at the specified coordinate in grobtarget or PICT. |
GXOR is used for creating cursors, for example, to make the cursor image appear dark on a light background and light on a dark background. Executing GXOR again with the same image restores the original picture.
GXOR uses a logical exclusive OR to determine the state of the pixels (on or off) in the overlapping portion of the argument graphics objects.
Any portion of grob1 that extends past grobtarget or PICT is truncated.
If the first (level 3) argument (the target graphics object) is any graphics object other than PICT,
then grobresult is returned to the stack. If the first (level 3) argument is PICT, no result is returned to the stack.
Access: | !°LGROB GXOR | ( °is the |
| |||
Input/Output: |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| Level 3/Argument 1 | Level 2/Argument 2 | Level 1/Argument 3 |
| Level 1/Item 1 |
|
|
|
|
|
|
|
|
| grobtarget | { #n, #m } | grob1 | → | grobresult |
|
| grobtarget | (x, y) | grob1 | → | grobresult |
|
| PICT | { #n, #m } | grob1 | → |
|
|
| PICT | (x, y) | grob1 | → |
|
Example: This program:
« ERASE PICT NEG PICT { # 0d # 0d }
Full Command and Function Reference