mirror of https://github.com/CGAL/cgal
Bug fix in Color manual
This commit is contained in:
parent
866214ec29
commit
117f427e44
|
|
@ -8,7 +8,7 @@
|
||||||
\ccDefinition
|
\ccDefinition
|
||||||
An object of the class \ccRefName\ is a color available
|
An object of the class \ccRefName\ is a color available
|
||||||
for drawing operations in many \cgal\ output streams.
|
for drawing operations in many \cgal\ output streams.
|
||||||
Each color is defined by a triple of integers $(r,g,b)$ with
|
Each color is defined by a triple of unsigned chars $(r,g,b)$ with
|
||||||
$0\le r,g,b \le 255$, the so-called {\em rgb-value} of the color.
|
$0\le r,g,b \le 255$, the so-called {\em rgb-value} of the color.
|
||||||
|
|
||||||
\ccInclude{CGAL/IO/Color.h}
|
\ccInclude{CGAL/IO/Color.h}
|
||||||
|
|
@ -28,7 +28,7 @@ $0\le r,g,b \le 255$, the so-called {\em rgb-value} of the color.
|
||||||
\ccConstructor{Color();}
|
\ccConstructor{Color();}
|
||||||
{creates a color with rgb-value $(0,0,0)$, i.e.\ black.}
|
{creates a color with rgb-value $(0,0,0)$, i.e.\ black.}
|
||||||
|
|
||||||
\ccConstructor{Color(int red, int green, int blue);}
|
\ccConstructor{Color(unsigned char red, unsigned char green, unsigned char blue);}
|
||||||
{creates a color with rgb-value \ccStyle{(red,green,blue)}.}
|
{creates a color with rgb-value \ccStyle{(red,green,blue)}.}
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -44,13 +44,13 @@ $0\le r,g,b \le 255$, the so-called {\em rgb-value} of the color.
|
||||||
\ccMethod{bool operator!=(const Color &q) const;}
|
\ccMethod{bool operator!=(const Color &q) const;}
|
||||||
{Test for inequality.}
|
{Test for inequality.}
|
||||||
|
|
||||||
\ccMethod{int red() const;}
|
\ccMethod{unsigned char red() const;}
|
||||||
{returns the red component of \ccVar.}
|
{returns the red component of \ccVar.}
|
||||||
\ccGlue
|
\ccGlue
|
||||||
\ccMethod{int green() const;}
|
\ccMethod{unsigned char green() const;}
|
||||||
{returns the green component of \ccVar.}
|
{returns the green component of \ccVar.}
|
||||||
\ccGlue
|
\ccGlue
|
||||||
\ccMethod{int blue() const;}
|
\ccMethod{unsigned char blue() const;}
|
||||||
{returns the blue component of \ccVar.}
|
{returns the blue component of \ccVar.}
|
||||||
|
|
||||||
\ccConstants
|
\ccConstants
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue