home *** CD-ROM | disk | FTP | other *** search
/ ProfitPress Mega CDROM2 …eeware (MSDOS)(1992)(Eng) / ProfitPress-MegaCDROM2.B6I / PROG / BASIC / GRAFWZ15.ZIP / GRAFWIZ.REF < prev    next >
Encoding:
Text File  |  1990-12-24  |  3.5 KB  |  115 lines

  1.                     The Graphics Wizard's Library for BASIC
  2.                                 Quick Reference
  3.  
  4.  
  5.  
  6. BFont FontNr%
  7.    Sets the font to be used by G#Banner (0 - 2).
  8.  
  9. EBlink Blink%
  10.    Sets blink vs. background intensity for EGA modes (-1 blink, 0 intense).
  11.  
  12. EBorder Colour%
  13.    Sets the border color for EGA modes.
  14.  
  15. EGetBorder%
  16.    Gets the border color in EGA modes.
  17.  
  18. EGetPalette% (PaletteRegister%)
  19.    Gets the color associated with a specified palette register.
  20.  
  21. EPalette PaletteRegister%, Colour%
  22.    Sets a specified palette register to the given color.
  23.  
  24. GetBFont%
  25.    Gets the font being used by G#Banner (0 - 2).
  26.  
  27. G#Banner St$, X%, Y%, Xmul%, Ymul%
  28.    Displays a string at graphics coordinates, in text of a specified size.
  29.  
  30. G#Box X1%, Y1%, X2%, Y2%, Fill%
  31.    Draws a box in SCREEN # mode.  Fill% should be non-zero to fill the box.
  32.  
  33. G#Cls
  34.    Clears the screen in SCREEN # mode.
  35.  
  36. G#Color Foreground%, Background%
  37.    Sets foreground and background colors for SCREEN # mode.
  38.  
  39. G#Display
  40.    Displays a printer page for N2 mode.  Requires set-up: see docs.
  41.  
  42. G#Ellipse CenterX%, CenterY%, RadiusX%, RadiusY%
  43.    Draws a circle or ellipse for SCREEN # mode.
  44.  
  45. G#Get X1%, Y1%, X2%, Y2%, Image%()
  46.    Gets a specified picture from the screen (SCREEN 2, 13 only).
  47.  
  48. G#GetColor Foreground%, Background%
  49.    Gets foreground and background colors in SCREEN # mode.
  50.  
  51. G#GetLocate Row%, Column%
  52.    Gets the cursor position in SCREEN # mode.
  53.  
  54. G#GetPel% (X%, Y%)
  55.    Gets the color of a specified point in SCREEN # mode.
  56.  
  57. G#Line X1%, Y1%, X2%, Y2%
  58.    Draws a line in SCREEN # mode.
  59.  
  60. G#Locate Row%, Column%
  61.    Sets the cursor position in SCREEN # mode.
  62.  
  63. G#MirrorH Original%(), Flipped%()
  64.    Converts a GET/PUT image by rotating it 180 degrees.
  65.  
  66. G#Mode Graphics%
  67.    Sets screen mode.  Use zero for text, anything else for SCREEN #.
  68.    Used -only- if you are not using any BASIC graphics handling!
  69.  
  70. G#Plot X%, Y%
  71.    Sets the color of the specified point on the screen, for SCREEN #.
  72.  
  73. G#Polygon X%, Y%, Radius%, Vertices%, Angle!
  74.    Draws the specified polygon at center (X%,Y%), rotated Angle! radians.
  75.  
  76. G#Print Device$
  77.    Prints an N2-mode page onto the specified printer device (or file).
  78.  
  79. G#Put X%, Y%, Image%()
  80.    Puts a specified picture on the screen (SCREEN 2, 13 only).
  81.  
  82. G#Write St$
  83.    Displays a string in SCREEN # mode.
  84.  
  85. G#WriteLn St$
  86.    Displays a string followed by a carriage return and linefeed for SCREEN #.
  87.  
  88. G1PaletteA PaletteNr%
  89.    Selects palette for SCREEN 1 (cross-compatible).  Use a PaletteNr% of 0
  90.    for Red, Green, Yellow, or 1 for Cyan, Violet, White.
  91.  
  92. G1PaletteB PaletteNr%
  93.    Selects palette for SCREEN 1 (CGA only).  Use a PaletteNr% of 0 for Red,
  94.    Green, Brown; 1 for Cyan, Violet, White; 2 for Cyan, Red, White.  Add 4 to
  95.    make palette brighter (bright brown shows as yellow, by the way).
  96.  
  97. G2LoadMAC File$, Image%(), StartRow%
  98.    Loads part of a .MAC file into a GET/PUT image for SCREEN 2.
  99.  
  100. G2LoadPCX File$, Image%(), ErrCode%
  101.    Loads a .PCX file into a GET/PUT image for SCREEN 2.
  102.  
  103. PrintScreen ScreenMode%
  104.    Sends a screen image to an Epson-type printer.  Modes 0-2, 7-9, 11-13.
  105.  
  106. ScreenSize Rows%, Columns%
  107.    Gets the size of a text-mode screen (SCREEN 0).
  108.  
  109. VGetPalette PaletteRegister%, Red%, Green%, Blue%
  110.    Gets the color associated with a specified palette register.
  111.  
  112. VPalette PaletteRegister%, Red%, Green%, Blue%
  113.    Sets a specified palette register to the given color.
  114.    The Red%, Green%, and Blue% intensities may each vary between 0 - 63.
  115.