All Frameworks Class Hierarchy This Framework Indexes
typedef const unsigned int CATPredefinedColorNameSpecifies a group of predefined color names.
CATxxRep *rep = new CATxxRep();
rep->GetGraphicAttributeSet().SetColor(TRUECOLOR);
rep->GetGraphicAttributeSet().SetColorRGBA(255,0,0);
But the easiest way to do that is:
rep->SetColorRGBA(255,0,0);
Copyright © 2003, Dassault Systèmes. All rights reserved.