Raster Master V2.1 for Turbo Pascal 5/5.5/6 -- SHAREWARE RELEASE -- (C) Copyright 1991,92 By Scarborough Digital. All Rights Reserved. T A B L E O F C O N T E N T S DISCLAIMER.................................1 ACKNOWLEDGEMENTS...........................1 REQUIREMENTS...............................1 LICENSING..................................1 CUSTOMER SERVICE...........................1-2 INTRODUCTION...............................2 GETTING STARTED............................2 SELECTING COLORS...........................4 SELECTING TOOLS............................4 TOOL DESCRIPTIONS..........................4-5 CHANGING THE ZOOM SIZE.....................5 CHANGING FILE FORMATS......................6 USING THE FILE REQUESTER...................7-8 ADDING GRAPHICS TO YOUR PROGRAMS...........8 A NOTE TO REGISTERED USERS.................8 REGISTERING RASTER MASTER..................9 OTHER SCARBOROUGH DIGITAL PRODUCTS.........9 DISCLAIMER ----------- Scarborough Digital will not be liable for any damage that may result from the use of this program. This program comes with NO WARRANTY written or implied. Use this program at your own risk. ACKNOWLEDGMENTS ---------------- IBM is a registered trademark of International Business Machines Inc. Turbo Pascal is a trademark of Borland International. Windows is a registered trade mark of Microsoft Inc. REQUIREMENTS ------------- IBM Compatible Machine Mouse VGA card DOS 3.3 or higher (or any Compatible DOS) Turbo Pascal 5/5.5/6 LICENSING ---------- This program has been released for distribution as shareware. You have been given the chance to sample the full capabilities of Raster Master without risk! You are granted a 60 day evaluation period to use Raster Master, if you find that Raster Master is a valuable tool and expect to use it beyond the evaluation period, then you are expected to register. The cost of registering Raster Master is $20.00. See REGISTER.TXT. For a site licence please call or write. CUSTOMER SERVICE ----------------- If you have any questions, comments, or suggestions, Scarborough Digital can be contacted through several means. VOICE PHONE - The Scarborough Digital phone number is (416) 438-5049 Page 1 Email - Private E-Mail may be sent through Internet to nick.onoufriou@rose.uucp BBS - CRS Members leave a message to Neil Bojkovski. - Rose Media Members leave a message to Nick Onoufriou. - PC Connect (416) 733-9052 leave a message to Nick Onoufriou at the main conference. - We also monitor the Shareware and C/BASIC/Pascal conferences on the major Networks. MAIL - Scarborough Digital 7305 Woodbine Ave., Unit 45 Markham, Ontario Canada L3R 3V7 INTRODUCTION ------------- Raster Master is a graphic editor that helps Turbo Pascal Programmers add graphics to their programs. Raster Master is capable of handling graphics up to 100 X 100 pixels in size with 16 colors. The popular PCX format is supported along with the Windows ICO format used for MS Windows Icons. Other formats are also supported to make adding graphics to your programs simple. GETTING STARTED ---------------- If you have not yet tried the program, please try it now, this will allow you to get a better understanding for the proceeding information. Remember to use the door in order to exit the program. The Raster Master display is divided into five areas, the top left corner contains the actual size image of the icon, the far right contains a zoom image of the icon, the lower left contains a box with the 'RM' letters, above that is the tool box, and at the lower right is the color box. All drawing and editing is done in the zoom area. Page 2 Actual Size Box Zoom Box ΙΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝ» ΙΝΡΝΡΝΡΝΡΝΡΝΡΝΡΝΡΝΡΝΡΝΡΝΡΝΡΝΡΝΡΝΡΝΡΝΡΝΡΝΡΝΡΝ» Ί Ί ΗΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΆ Ί Ί ΗΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΆ Ί Ί ΗΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΆ Ί Ί ΗΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΆ Ί Ί ΗΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΆ Ί Ί ΗΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΆ ΘΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΌ ΗΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΆ ΗΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΆ Tool Box ΗΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΆ ΙΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝ» ΗΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΆ Ί ΪΔΔΔΔΔΔΏ ΪΔΔΏ Ί ΗΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΆ Ί ³ 1 ³ ³6 ³ Ί ΗΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΆ Ί ΐΔΔΔΔΔΔΩ ΐΔΔΩ Ί ΗΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΆ Ί ΪΔΔΔΔΔΔΏ ΪΔΔΏ Ί ΗΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΆ Ί ³ 2 ³ ³7 ³ Ί ΗΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΆ Ί ΐΔΔΔΔΔΔΩ ΐΔΔΩ Ί ΗΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΆ Ί ΪΔΔΔΔΔΔΏ ΪΔΔΏ Ί ΗΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΆ Ί ³ 3 ³ ³8 ³ Ί ΗΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΆ Ί ΐΔΔΔΔΔΔΩ ΐΔΔΩ Ί ΗΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΆ Ί ΪΔΔΔΔΔΔΏ ΪΔΔΏ Ί ΗΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΆ Ί ³ 4 ³ ³9 ³ Ί ΗΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΆ Ί ΐΔΔΔΔΔΔΩ ΐΔΔΩ Ί ΗΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΆ Ί ΪΔΔΔΔΔΔΏ ΪΔΔΏ Ί ΗΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΆ Ί ³ 5 ³ ³10³ Ί ΗΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΆ Ί ΐΔΔΔΔΔΔΩ ΐΔΔΩ Ί ΗΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΆ Ί ΪΔΔΏ ΪΔΔΏ ΪΔΔΏ Ί ΗΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΆ Ί ³11³ ³12³ ³13³ Ί ΗΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΆ Ί ΐΔΔΩ ΐΔΔΩ ΐΔΔΩ Ί ΗΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΆ Ί ΪΔΔΏ ΪΔΔΏ ΪΔΔΏ Ί ΗΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΆ Ί ³14³ ³15³ ³16³ Ί ΗΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΆ Ί ΐΔΔΩ ΐΔΔΩ ΐΔΔΩ Ί ΗΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΆ ΘΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΌ ΗΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΆ ΗΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΆ ΗΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΆ ΗΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΆ ΗΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΆ ΗΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΕΔΆ ΘΝΟΝΟΝΟΝΟΝΟΝΟΝΟΝΟΝΟΝΟΝΟΝΟΝΟΝΟΝΟΝΟΝΟΝΟΝΟΝΟΝΟΝΌ RM Box ΙΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝ» Ί Ί Ί **** * * Ί Color Box Ί * * ** ** Ί ΙΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝ» Ί **** * * * Ί Ί ΪΔΔΔΔΔΔΏ ΪΔΔΏ ΪΔΔΏ ΪΔΔΏ ΪΔΔΏ ΪΔΔΏ ΪΔΔΏ ΪΔΔΏΊ Ί * * * * Ί Ί ³ ³ ³ ³ ³ ³ ³ ³ ³ ³ ³ ³ ³ ³ ³ ³Ί Ί * * * * Ί Ί ΐΔΔΔΔΔΔΩ ΐΔΔΩ ΐΔΔΩ ΐΔΔΩ ΐΔΔΩ ΐΔΔΩ ΐΔΔΩ ΐΔΔΩΊ Ί Ί Ί Ί ΘΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΌ ΘΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΌ 1. Open 6. Undo 11. Circle 16. Filled Square 2. Save 7. Grid 12. Filled Circle 3. CLR 8. Door 13. Spray 4. View 9. Paint 14. Dot 5. Clip 10. Line 15. Square Page 3 SELECTING COLORS ----------------- To select a color move the mouse pointer in color box area, point to one of the colors and press the left mouse button. SELECTING TOOLS ---------------- To select any of the tools move the mouse pointer in the tool box area, point to one of the tools and press the left mouse button. TOOL DESCRIPTION ----------------- -Open : Read image file (see USING THE FILE REQUESTER) (see CHANGING FORMATS) -Save : Save Image to file (see CHANGING FORMATS) (see USING THE FILE REQUESTER) -Dot : Point where to plot dot, press left mouse button. -Line : Point where to plot the starting end of the line and press left mouse button, move pointer to extend the line, release button. -Square : Point where to plot the starting corner of the square and press left mouse button, move pointer to expand the square, release button. -Filled Square : Point where to plot the starting corner of the square and press left mouse button, move pointer to expand the square, release button. -Circle : Point where the centre of the circle will be and press left mouse button, move pointer to expand the circle, release button. -Filled Circle : Point where the centre of the circle will be and press left mouse button, move pointer to expand the circle, release button. Page 4 -Spray : Point where to spray dots and press left mouse button, release button. -Paint : Point to area that you want painted and press left mouse button, release button. -Undo : Removes the last thing you plotted. -Grid : Toggles the grid in the zoom box. -CLR : Clears the display. -Door : Allows you to exit the program. -View : Allows you to view your image in different resolutions. -Clip : Point where to mark the starting corner of the clip area and press left the left mouse button, move pointer to expand the clip area, release button. -Open : Reads file into the clipped area. -Save : Saves image area that is clipped. -HFLIP : Flips the image horizontally -VFLIP : Flips the image vertically. -Up : Scrolls the image up. -Down : Scrolls the image down. -Left : Scrolls the image to the left. -Right : Scrolls the image to the right. CHANGING THE ZOOM SIZE ----------------------- Move the pointer to the Grid gadget and press the RIGHT mouse button. Page 5 CHANGING FILE FORMATS ---------------------- By moving the mouse pointer over the SAVE or OPEN gadget and pressing the RIGHT mouse button you are given a list of file formats. Select a format and press the OK gadget. XGF - Internal Graphic Format used by Turbo Pascal. Sample programs are provided on how to read and write images using this format. See ReadXgf.pas and WriteXgf.pas DEF - HEX type format This is a regular text file where each pixel color is represented by a HEX digit from 0-F) This format is provided as a means of adding features to your graphics that Raster Master is not capable of. See ReadDef.pas and WriteDef.pas ICO - Windows Icon Format Remember when saving in this format that only the first 32 X 32 pixels starting from the left top corner will be saved. If you clip save the file and its less than 32 X 32 the image will be padded to 32 X 32. PCX - Used By PC Paintbrush and other popular programs. Images that are larger than 100 X 100 pixels will be truncated. Support is provided for images with 16 colors or less. CON - Creates a text file containing an image array that can be included in your programs. See DisCon.pas for using this format. Page 6 USING THE FILE REQUESTER ------------------------- ΙΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝ» Ί Ί ΜΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΉ Ί 1 Ί 1. File Path Box ΜΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΛΝΝΝΝΉ 2. File Name Box Ί ΊΙΝΝ»Ί 3. Up Gadget Ί ΊΊ3 ΊΊ 4. Scroller Gadget Ί ΊΘΝΝΌΊ 5. Down Gadget Ί ΊΙΛΛ»Ί 6. Parent Gadget Ί ΊΊ4 ΊΊ 7. Cancel Gadget Ί ΊΜΚΚΉΊ 8. OK Gadget Ί ΊΊ ΊΊ Ί ΊΊ ΊΊ Ί ΊΊ ΊΊ Ί ΊΊ ΊΊ Ί ΊΊ ΊΊ Ί ΊΘΝΝΌΊ ΜΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΉΙΝΝ»Ί Ί 2 ΊΊ5 ΊΊ ΜΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΌΘΝΝΌΊ ΊΙΝΝΝΝΝ»ΙΝΝΝΝΝΝΝΝΝ»ΙΝΝΝΝ»Ί ΊΊ 6 ΊΊ 7 ΊΊ 8 ΊΊ ΊΘΝΝΝΝΝΌΘΝΝΝΝΝΝΝΝΝΌΘΝΝΝΝΌΊ ΘΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΌ SELECTING A FILENAME ------------------------ If it appears in the file list, point to the file and press the left mouse button, point to OK gadget and press the left mouse button. OR Point to the filename box and press the left mouse button, enter the name, point to OK gadget and press left mouse button. CHANGING THE PATH --------------------- Point to the parent gadget and press the left mouse button. OR Point to a file directory in the file list box and press the left mouse button. OR Point to the file path box and press the left mouse button, then type in the desired path. Page 7 SCROLLING THROUGH THE FILE LIST ----------------------------------- Point to the Up or Down gadget and press the left mouse button. OR Point to the scroller gadget, press the left mouse button and position to desired location, release mouse button. ADDING GRAPHICS TO YOUR OWN PROGRAMS ------------------------------------- Sample files are provided for reading and writing graphic files that are supported by Raster Master. Raster Master created XGF files can only be displayed in the EGA/VGA 16 color modes. ReadXgf.pas - Reads an XGF file. WriteXgf.pas - Creates an XGF file. ReadDef.pas - Reads a DEF file. WriteDef.pas - Creates a DEF file. DisCon.pas - Displays a CON file that has been included as part of the source code. DisObj.pas - Displays an XGF file that has been converted to an object file. A NOTE TO REGISTERED USERS --------------------------- Thank you for registering Raster Master. Your key file (RMASTER.KEY) should be placed in the same directory as your RMASTER.EXE file in order to deactivate the registration reminders. Your key file is encoded with your name and address and should not be redistributed in any form. Please disregard the next page if you have already registered Raster Master. Page 8 REGISTERING RASTER MASTER -------------------------- Why should you register Raster Master? When you register Raster Master your letting us know your using this program and would like to see similar programs released through the shareware process. It also allows us to devote more time making the program better if we are provided with an incentive to do so. Upon registering you will receive the latest and greatest version of Raster Master and a 'KEY' file that removes the reminders for registration from the current and any future versions of the program. Registered users receive BONUS PCX file routines. These routines are capable of reading and writing files from 2 to 256 colors. We also provide code to read and write Windows 16 color ICO files. If you have decided that this program is worth registering please print a copy of REGISTER.TXT and fill it out. OTHER SCARBOROUGH DIGITAL PRODUCTS ----------------------------------- Raster Master for Turbo Pascal 5/5.5/6 Raster Master for Turbo C V2.0 Raster Master for QuickC V2.5 Raster Master for QuickBASIC/GWBASIC/PowerBASIC Raster Master for Fastgraph Nicon - Icon editor for creating Windows 3 ICO files Page 9