Coordinate system on which a graphics command depends and effects of transformation

Some Graphics commands are affected by transformation and some are not.
These dependency relation are shortly shown as follows.

grey shows original enhancement (incompatible with ISO Full BASIC)

Graphics command Physical
coordinate
Problem
coordinate
Not
transformed
Transfromed Remarks
PLOT POINTS
PLOT LINES
PLOT AREA
 ✓  ✓  
MAT PLOT POINTS
MAT PLOT LINES
MAT PLOT AREA
MAT PLOT CELLS
 ✓  ✓  
GRAPH POINTS
GRAPH LINES
GRAPH AREA
 ✓✓     
MAT GRAPH POINTS
MAT GRAPH LINES
MAT GRAPH AREA
MAT GRAPH CELLS
 ✓✓   
PLOT TEXT shapes and angle base point base point(*)
GRAPH TEXTshapes and anglebase point✓  
PLOT LETTERS  ✓ ✓
SET TEXT HEIGHT  ✓     
SET TEXT FONT ✓        
DRAW DISK
DRAW CIRCLE
 ✓  ✓
PAINT
FLOOD
 ✓  ✓ Available only on Windows
SET AREA STYLE INDEX ✓       Hatch patterns are defined on physical coordinates
GET POINT
MAT GET POINT
  ✓   ✓  
MOUSE POLL   ✓   ✓  
ASK PIXEL SIZE
ASK PIXEL ARRAY
  ✓ ✓    
LOCATE POINT
MAT LOCATE POINT
LOCATE VALUE
LOCATE CHOICE
  ✓ ✓    
PROBLEMX function
PROBLEMY function
✓ ✓    
PIXELX function
PIXELY function
✓ ✓    
GLOAD ✓    ✓    

Note(*). Decimal BASIC ignores the demand that text is described with respect to problem coordinates, which ANS requires.

This table shows the behavior on the Option Compatibily setting where "Text Figure" is set to "Physical coordinate (ISO)".

PLOT TEXT does not draw any letters when the line of infinity crosses the drawing area for letters.
DRAW DISK and DRAW CIRCLE does not work correctly when the line of infinity crosses the circle.

Graphics commands that are available on Microsoft BASIC compatible mode are not transformed.


Back