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.

3. Operations<br />

void col.set rgb(int r, int g, int b) sets the rgb-value of col to (r, g, b).<br />

void col.get rgb(int& r, int& g, int& b)<br />

assigns the rgb-value of col to (r, g, b).<br />

void col.set red(int r) changes the r-value of col to r.<br />

void col.set green(int g) changes the g-value of col to g.<br />

void col.set blue(int b) changes the b-value of col to b.

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

Saved successfully!

Ooh no, something went wrong!