Polygon  ( hdc *apt cpt -- fl )

publication: 21 novembre 2024 / mis à jour 21 novembre 2024

Read this page in english

 

vocabulaire: graphics

Trace un polygone.

Paramètres:

Exemple:

\ Definition: 
\ draw a polygone 
z" Polygon"   3 Gdi32 Polygon ( hdc *apt cpt -- fl ) 
 
\ Example: 
create POYGON01 
     30 L, 37 L, 
     44 L, 22 L, 
     58 L, 41 L, 
     43 L, 54 L, 
     56 L, 68 L, 
     43 L, 79 L, 
     31 L, 65 L, 
     20 L, 75 L, 
      5 L, 58 L, 
     19 L, 47 L, 
      6 L, 31 L, 
     19 L, 22 L, 
: drawPolygon 
    setPens 
    setBrushes 
    hdc HPEN_RED    SelectObject drop 
    hdc HBRUSH_BLUE SelectObject drop 
    hdc POYGON01 12 Polygon drop 
  ; 

Legal: site web personnel sans commerce / personal site without seling