Fade2D Documentation pages v2.16.8
Delaunay Features
Color.h File Reference
#include "common.h"

Go to the source code of this file.

Classes

class  GEOM_FADE2D::Color
 Color for visualization. More...
 

Enumerations

enum  GEOM_FADE2D::Colorname {
  GEOM_FADE2D::CRED , GEOM_FADE2D::CGREEN , GEOM_FADE2D::CBLUE , GEOM_FADE2D::CBLACK ,
  GEOM_FADE2D::CYELLOW , GEOM_FADE2D::CPINK , GEOM_FADE2D::CGRAY , GEOM_FADE2D::CWHITE ,
  GEOM_FADE2D::CORANGE , GEOM_FADE2D::CLIGHTBLUE , GEOM_FADE2D::CLIGHTBROWN , GEOM_FADE2D::CDARKBROWN ,
  GEOM_FADE2D::CPURPLE , GEOM_FADE2D::COLIVE , GEOM_FADE2D::CLAWNGREEN , GEOM_FADE2D::CPALEGREEN ,
  GEOM_FADE2D::CCYAN , GEOM_FADE2D::CTRANSPARENT
}
 Predefined colors for convenience. More...
 

Functions

std::ostream & GEOM_FADE2D::operator<< (std::ostream &stream, const Color &c)
 

Enumeration Type Documentation

◆ Colorname

Enumerator
CRED 

Red: (1.0, 0.0, 0.0)

CGREEN 

Green: (0.0, 1.0, 0.0)

CBLUE 

Blue: (0.0, 0.0, 1.0)

CBLACK 

Black: (0.0, 0.0, 0.0)

CYELLOW 

Yellow: (1.0, 1.0, 0.0)

CPINK 

Pink: (1.0, 0.4, 0.7)

CGRAY 

Gray: (0.5, 0.5, 0.5)

CWHITE 

White: (1.0, 1.0, 1.0)

CORANGE 

Orange: (1.0, 0.627, 0.0)

CLIGHTBLUE 

Light Blue: (0.0, 0.749, 1.0)

CLIGHTBROWN 

Light Brown: (0.823, 0.705, 0.549)

CDARKBROWN 

Dark Brown: (0.545, 0.271, 0.074)

CPURPLE 

Purple: (0.627, 0.125, 0.941)

COLIVE 

Olive: (0.5, 0.5, 0.0)

CLAWNGREEN 

Clawngreen: (0.49, 0.99, 0.0)

CPALEGREEN 

Pale Green: (0.60, 0.98, 0.6)

CCYAN 

Cyan: (0.0, 1.0, 1.0)

CTRANSPARENT 

Transparent: (-1.0, -1.0, -1.0, no drawing)

Function Documentation

◆ operator<<()

std::ostream& GEOM_FADE2D::operator<< ( std::ostream &  stream,
const Color c 
)
inline

This function outputs the color information (red, green, blue, linewidth, and fill status) of a Color object to the provided output stream.

Parameters
[in]streamThe output stream to which the color information will be printed.
[in]cThe Color object whose details are to be printed.
Returns
The output stream with the color information appended.