•  Back 
  •  Main 
  •  Index 
  •  Tree View 
  •  Cross references 
  •  Help 
  •  Show info about hypertext 
  •  View a new file 
Topic       : The GFA-Basic Compendium
Author      : GFA Systemtechnik GmbH
Version     : GFABasic.HYP v2.98 (12/31/2023)
Subject     : Documentation/Programming
Nodes       : 899
Index Size  : 28056
HCP-Version : 3
Compiled on : Atari
@charset    : atarist
@lang       : 
@default    : Document not found
@help       : Help
@options    : +g -i -s +z
@width      : 75
@hostname   : STRNGSRV
@hostname   : CAB     
@hostname   : HIGHWIRE
@hostname   : THING   
View Ref-FileDEFMARK [color],[type],[height]

color, type, height: iexp

DEFMARK determines the color, type, and height of the marks, at the corner
points of a polygon, which are displayed by the command POLYMARK. According to
the actual screen resolution, values between 0 and 255 can be assigned to the
numerical expression 'color' (see the start of this chapter). The 'type'
parameter gives the following corner marks:

    Type  Description  Output
index=560
1 Dot (single pixel) 2 Plus 3 Star 4 Square 5 Cross 6 Diamond Values larger than 6 result in the use of the star as the corner mark. Values for the 'height' of the shape are specified in pixels. Thus a value of 8 will produce a mark that is 8 x 8 pixels in height. When only the second parameter or third parameter of the command are required, one can omit the parameter in question and enter only the parameter-separating commas. Thus, DEFMARK ,,4 means that the first two parameters keep their current value and the height of the marks is set to 4. Example: DIM x%(1),y%(1) x%(0)=50 y%(0)=50 x%(1)=150 y%(1)=150 DEFMARK 1,4,2 POLYMARK 2,x%(),y%() DEFMARK ,3,4 POLYMARK 2,x%(),y%() OFFSET 100,0 --> This draws two pairs of points with different corner marks. VDI calls: DEFMARK vsm_color(),vsm_type(),vsm_height() Memo: Editor accepts DEFMARK with no parameters. Has no effect. Generates no code compiled. vsm_color()+, vsm_type()+, vsm_height()+