home *** CD-ROM | disk | FTP | other *** search
- The Graphics Wizard's Library for BASIC
- Quick Reference
-
-
-
- BFont FontNr%
- Sets the font to be used by G#Banner (0 - 2).
-
- EBlink Blink%
- Sets blink vs. background intensity for EGA modes (-1 blink, 0 intense).
-
- EBorder Colour%
- Sets the border color for EGA modes.
-
- EGetBorder%
- Gets the border color in EGA modes.
-
- EGetPalette% (PaletteRegister%)
- Gets the color associated with a specified palette register.
-
- EPalette PaletteRegister%, Colour%
- Sets a specified palette register to the given color.
-
- GetBFont%
- Gets the font being used by G#Banner (0 - 2).
-
- G#Banner St$, X%, Y%, Xmul%, Ymul%
- Displays a string at graphics coordinates, in text of a specified size.
-
- G#Box X1%, Y1%, X2%, Y2%, Fill%
- Draws a box in SCREEN # mode. Fill% should be non-zero to fill the box.
-
- G#Cls
- Clears the screen in SCREEN # mode.
-
- G#Color Foreground%, Background%
- Sets foreground and background colors for SCREEN # mode.
-
- G#Display
- Displays a printer page for N2 mode. Requires set-up: see docs.
-
- G#Ellipse CenterX%, CenterY%, RadiusX%, RadiusY%
- Draws a circle or ellipse for SCREEN # mode.
-
- G#Get X1%, Y1%, X2%, Y2%, Image%()
- Gets a specified picture from the screen (SCREEN 2, 13 only).
-
- G#GetColor Foreground%, Background%
- Gets foreground and background colors in SCREEN # mode.
-
- G#GetLocate Row%, Column%
- Gets the cursor position in SCREEN # mode.
-
- G#GetPel% (X%, Y%)
- Gets the color of a specified point in SCREEN # mode.
-
- G#Line X1%, Y1%, X2%, Y2%
- Draws a line in SCREEN # mode.
-
- G#Locate Row%, Column%
- Sets the cursor position in SCREEN # mode.
-
- G#MirrorH Original%(), Flipped%()
- Converts a GET/PUT image by rotating it 180 degrees.
-
- G#Mode Graphics%
- Sets screen mode. Use zero for text, anything else for SCREEN #.
- Used -only- if you are not using any BASIC graphics handling!
-
- G#Plot X%, Y%
- Sets the color of the specified point on the screen, for SCREEN #.
-
- G#Polygon X%, Y%, Radius%, Vertices%, Angle!
- Draws the specified polygon at center (X%,Y%), rotated Angle! radians.
-
- G#Print Device$
- Prints an N2-mode page onto the specified printer device (or file).
-
- G#Put X%, Y%, Image%()
- Puts a specified picture on the screen (SCREEN 2, 13 only).
-
- G#Write St$
- Displays a string in SCREEN # mode.
-
- G#WriteLn St$
- Displays a string followed by a carriage return and linefeed for SCREEN #.
-
- G1PaletteA PaletteNr%
- Selects palette for SCREEN 1 (cross-compatible). Use a PaletteNr% of 0
- for Red, Green, Yellow, or 1 for Cyan, Violet, White.
-
- G1PaletteB PaletteNr%
- Selects palette for SCREEN 1 (CGA only). Use a PaletteNr% of 0 for Red,
- Green, Brown; 1 for Cyan, Violet, White; 2 for Cyan, Red, White. Add 4 to
- make palette brighter (bright brown shows as yellow, by the way).
-
- G2LoadMAC File$, Image%(), StartRow%
- Loads part of a .MAC file into a GET/PUT image for SCREEN 2.
-
- G2LoadPCX File$, Image%(), ErrCode%
- Loads a .PCX file into a GET/PUT image for SCREEN 2.
-
- PrintScreen ScreenMode%
- Sends a screen image to an Epson-type printer. Modes 0-2, 7-9, 11-13.
-
- ScreenSize Rows%, Columns%
- Gets the size of a text-mode screen (SCREEN 0).
-
- VGetPalette PaletteRegister%, Red%, Green%, Blue%
- Gets the color associated with a specified palette register.
-
- VPalette PaletteRegister%, Red%, Green%, Blue%
- Sets a specified palette register to the given color.
- The Red%, Green%, and Blue% intensities may each vary between 0 - 63.
-