Author: Brian Maguire Subject: Graphics creation & editing Date: October 10, 1991 PAINT : Grob Creator/Editor Copyright 1991 Brian Maguire All Rights Reserved DISCLAIMERS PAINT and this manual are presented without warranties, expressed or implied. The author makes no guarantee as to the fitness of this software. PAINT can be copied freely provided the software, including this manual, is copied in its entirety. The user cannot be charged, in whole or in part, except for the cost of reproduction. No part of this package may be used for commercial purposes without written permission from the author. A basic understanding of the 48 is expected by the user. Please forward comments or questions to... Brian Maguire 139 Kingsbury Dearborn, MI 48128 (313) 274-0428 1. INTRODUCTION The 48's built-in graphic application was designed to allow the user to edit graphs, add labels, and analise functions. It also allows the user to create and edit simple graphic objects (grobs), but with great difficulty. PAINT is designed specifically for the creating and editing of graphic object. Powerful tools allow the user to cut, copy, paste, and place existing graphics on PICT(the 48's graphic grob). In addition to the graphic tools already built into the 48, new tools allow the user to invert, delete, flip, shift or save any portion of PICT. The user can also recall and place grobs from user memory using the grob browser. 2. COMMANDS A) ABOUTPAINT Copyright screen B) PAINT This command runs the graphic application. 1) MENU KEYS DOT+ Turns on the pixel selected by cursor. DOT- Turns off the pixel selected by cursor. LINE Draws a line connecting the cursor and mark. ELINE Erases the line connecting the cursor and the mark TLINE Toggles the pixels along the line connecting the cursor and the mark. BOX Draws a box using the cursor and mark as opposite corners. CIRCL Draws a circle centered on the mark. The distance between the mark and the cursor is used for the radius. [ ](Rotate menu label) Enters the rotate menu. The keys in the rotate menu flip or rotate the rectangular area between the cursor and mark. [45* ] - Not installed [90* ] - Not installed [180*] - Rotates subgrob 180 degrees [ ] - Create a vertical mirror image of the subgrob [ ] - Create a horizontal mirror image of the subgrob [EXIT] - Returns to the main menu LABEL Labels the X and Y axis. INV Inverts the rectangular area between the mark and cursor. DEL Deletes the rectangular area between the mark and cursor. KEEP Erases PICT except for the rectangular area between the mark and the cursor. COPY Copies the rectangular area between the mark and the cursor to the stack. PASTE The grob on level one is pasted onto PICT. The top left corner is placed on the cursor position. The mark is also moved to the grobs's bottom left corner. MOVE Activates the MOVE keys. See the section titled "MOVE KEYS". PLACE Pastes grob from level one and activates MOVE keys. See the section titled "MOVE KEYS". SAVE Saves the rectangular area between the mark and the cursor in the current directory. After pressing SAVE the user is asked to name the graphic. Entering an invalid name or pressing [ON] exits the save routine. CAT Enters the grob catalog. See the section titled "GROB CATALOG". (up-arrow)STK Enters the interactive stack. PDIM Redimensions PICT. The user is prompted to enter the width and the hieght. Both values must be entered as binary integers. If an invalid value is entered or [ON] is pressed the routine is exited. COORD Turns off the menu display and turns on the coordinate display. Coordinates are displayed as a list of two binary numbers. In contrast, the 48's built-in graphic application displays coordinates as complex numbers. MARK Turns on the mark. If the mark is already on it is moved to the cursor position. +/- Toggles the way the cursor is displayed. The cursor grob is either "ORed" or "XORed" with the display. KEYS Turns the menu display off. b) MAIN APPLICATION KEYS UP ARROW Unshifted Moves cursor one pixel up. Right Shifted Moves the cursor to the top of the display. LEFT ARROW Unshifted Moves cursor one pixel to the left. Left Shifted Activates the SCROLL keys. See "SCROLL KEYS". Right Shifted Moves the cursor to the far left. DOWN ARROW Unshifted Moves cursor one pixel down. Right Shifted Moves the cursor to the bottom of the display. RIGHT ARROW Unshifted Moves cursor one pixel to the right. Right Shifted Moves the cursor to the far right. NXT Unshifted Displays the next menu row. Left Shifted Displays the previous menu row. Right Shifted Displays the first menu row. +/- Toggles the way the cursor is displayed. The cursor grob is either "ORed" or "XORed" with the display. LEFT SHIFT Activates the left shift anunciatior. RIGHT SHIFT Activates the left shift anunciatior. * Turns on the mark. If the mark is aready on it is moved to the cursor position. STO Recalls the contents of PICT to the stack. 1/x Inverts the rectangular area between the mark and the cursor. ENTER Returns the pixel location of the cursor to the stack. The pixel location is returned as a list containing two binary integers. DEL Deletes the rectangular area between the mark and the cursor. - Toggles the menu display on or off. + Turns off the menu display and turns on the coordinate display. Coordinates are displayed as a list of two binary numbers. In contrast, the 48's built-in graphic application displays coordinates as complex numbers. c) MOVE KEYS The MOVE keys move a rectangular area along the display. They are activated by both [MOVE] and [PLACE] from the main menu. When they are active the menu display is turned off. UP ARROW Unshifted Moves grob one pixel up. Right Shifted Moves grob to the top of the display. LEFT ARROW Unshifted Moves grob one pixel to the left. Right Shifted Moves grob to the far left. DOWN ARROW Unshifted Moves grob one pixel down. Right Shifted Moves grob to the bottom of the display. RIGHT ARROW Unshifted Moves grob one pixel to the right. Right Shifted Moves grob to the far right. +/- Toggles the way the subgrob is displayed. The subgrob is either "ORed" with PICT or replaces a section of PICT. 1/x Inverts the subgrob that is being moved. Inverting the subgrob may make it easier to place since the blank area will be visible. Once the grob has been positioned it can be restored by pressing [1/x] agian. ENTER Pastes the subgrob on PICT. Depending on the state of the [+/-] key, the grob will either be ORed with PICT or replace a section of PICT. You can reposition and paste the subgrob as many times as you like until the MOVE key assignments are exited. ON Exits the MOVE key assignments and restores the main appliaction key assignments. d) SCROLL KEYS The 48's display is only a window to PICT. If PICT is larger than 131*64 the arrow keys scroll the display window along PICT. UP ARROW Unshifted Moves window one pixel up. Right Shifted Moves display window to the top of PICT. LEFT ARROW Unshifted Moves display window one pixel to the left. Left Shifted Exits the SCROLL key assignments. Right Shifted Moves display window to the far right side of PICT. DOWN ARROW Unshifted Moves window one pixel down. Right Shifted Moves display window to the bottom of PICT. RIGHT ARROW Unshifted Moves window one pixel right. Right Shifted Moves display window to the far left side of PICT. 3) GCAT This command enters the grob catolog. The grob catalog is a browser that displays all the grobs in the current directory, as well as all sub-directories. Grobs can be viewed, renamed, or recalled to the stack from within the catalog. The key assignment for the grob catalog is the same as the built-in equation catalog. NOTE: When a grob is recalled to the stack in FAST mode, only the variable name is returned. To return the actual grob you must turn off fast mode.