31.01.2014 Views

Version 5.0 The LEDA User Manual

Version 5.0 The LEDA User Manual

Version 5.0 The LEDA User Manual

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

4. Minimal and maximal coordinates of the drawing area xmin (default 0), xmax<br />

(default 100), ymin (default 0).<br />

5. <strong>The</strong> grid width parameter (default 0) defines the width of the grid that is used in<br />

the drawing area. A grid width of 0 indicates that no grid is to be used.<br />

6. <strong>The</strong> frame label parameter defines a string to be displayed in the frame of the<br />

window.<br />

7. <strong>The</strong> show coordinates flag (default true) determines whether the current coordinates<br />

of the mouse cursor in the drawing section are displayed in the upper right corner.<br />

8. <strong>The</strong> flush output flag (default true) determines whether the graphics output stream<br />

is flushed after each draw action.<br />

9. <strong>The</strong> line width parameter (default value 1 pixel) defines the width of all kinds of<br />

lines (segments, arrows, edges, circles, polygons).<br />

10. <strong>The</strong> line style parameter defines the style of lines. Possible line styles are solid<br />

(default), dashed, and dotted.<br />

11. <strong>The</strong> point style parameter defines the style points are drawn by the draw point<br />

operation. Possible point styles are pixel point, cross point (default), plus point,<br />

circle point, disc point, rect point, and box point.<br />

12. <strong>The</strong> node width parameter (default value 8 pixels) defines the diameter of nodes<br />

created by the draw node and draw filled node operations.<br />

13. <strong>The</strong> text mode parameter defines how text is inserted into the window. Possible<br />

values are transparent (default) and opaque.<br />

14. <strong>The</strong> show orientation parameter defines, whether or not the direction or orientation<br />

of segments, lines, rays, triangles, polygons and gen polygons will be shown (default<br />

false.)<br />

15. <strong>The</strong> drawing mode parameter defines the logical operation that is used for setting<br />

pixels in all drawing operations. Possible values are src mode (default) and<br />

xor mode. In src mode pixels are set to the respective color value, in xor mode the<br />

value is bitwise added to the current pixel value.<br />

16. <strong>The</strong> redraw function parameter is a pointer to a function of type void (∗F)(window∗).<br />

It is called with a pointer to the corresponding window as argument to redraw (parts<br />

of) the window whenever a redrawing is necessary, e.g., if the shape of the window<br />

is changed or previously hidden parts of it become visible.<br />

17. <strong>The</strong> window delete handler parameter is a pointer to a function of type void<br />

(∗F)(window∗). It is called with a pointer to the corresponding window as argument<br />

when the window is to be closed by the window manager (e.g. by pressing<br />

the ×-button on Windows-NT systems). <strong>The</strong> default window delete handler closes<br />

the window and terminates the program.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!