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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

void W.set show coord object(const window handler& obj )<br />

sets the show coordinate object parameter to<br />

obj.<br />

void<br />

W.set redraw(void (∗F )(window∗))<br />

sets the redraw function parameter to F .<br />

void W.set redraw(const window handler& obj )<br />

sets the redraw object parameter to obj.<br />

void W.set redraw(void (∗F )(window∗, double, double, double, double) = 0)<br />

sets the redraw function parameter to F .<br />

void W.set redraw2(const window handler& obj )<br />

sets the redraw object parameter to obj.<br />

void<br />

W.set bg redraw(void (∗F )(window∗, double, double, double,<br />

double) = 0)<br />

sets the background redraw function parameter<br />

to F .<br />

void W.set bg redraw(const window handler& obj )<br />

sets the background redraw object parameter to<br />

obj.<br />

void<br />

W.start timer(int msec, void (∗F )(window∗))<br />

starts a timer that runs F every msec milliseconds<br />

with a pointer to W .<br />

void W.start timer(int msec, const window handler& obj )<br />

void W.stop timer( ) stops the timer.<br />

starts a timer that runs the operator() of obj<br />

every msec milliseconds.<br />

void W.set flush(bool b) sets the flush parameter to b.<br />

void<br />

W.set icon pixrect(char ∗ pr)<br />

makes pr the new icon of W .<br />

void∗ W.set client data(void ∗ p, int i = 0)<br />

3.3 Reading parameters<br />

sets the i-th client data pointer of W to p and<br />

returns its previous value. Precondition: i < 16.<br />

int W.get line width( ) returns the current line width.<br />

line style W.get line style( ) returns the current line style.

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

Saved successfully!

Ooh no, something went wrong!