|
Open CASCADE Technology
6.5.4
|
A colorscale class
#include <V3d_ColorScale.hxx>

Public Member Functions | |
| V3d_ColorScale (const Handle< V3d_LayerMgr > &aMgr) | |
| Returns returns ColorScale from V3d. //! Returns View from V3d. | |
| void | Display () |
| void | Erase () |
| Standard_Boolean | IsDisplayed () const |
| virtual void | PaintRect (const Standard_Integer X, const Standard_Integer Y, const Standard_Integer W, const Standard_Integer H, const Quantity_Color &aColor, const Standard_Boolean aFilled=Standard_False) |
| virtual void | PaintText (const TCollection_ExtendedString &aText, const Standard_Integer X, const Standard_Integer Y, const Quantity_Color &aColor) |
| virtual Standard_Integer | TextWidth (const TCollection_ExtendedString &aText) const |
| virtual Standard_Integer | TextHeight (const TCollection_ExtendedString &aText) const |
| void | TextSize (const TCollection_ExtendedString &AText, const Standard_Integer AHeight, Standard_Integer &AWidth, Standard_Integer &AnAscent, Standard_Integer &ADescent) const |
| void | DrawScale () |
Protected Member Functions | |
| virtual void | UpdateColorScale () |
| V3d_ColorScale::V3d_ColorScale | ( | const Handle< V3d_LayerMgr > & | aMgr | ) |
| Standard_Boolean V3d_ColorScale::IsDisplayed | ( | ) | const |
| virtual void V3d_ColorScale::PaintRect | ( | const Standard_Integer | X, |
| const Standard_Integer | Y, | ||
| const Standard_Integer | W, | ||
| const Standard_Integer | H, | ||
| const Quantity_Color & | aColor, | ||
| const Standard_Boolean | aFilled = Standard_False |
||
| ) | [virtual] |
Implements Aspect_ColorScale.
| virtual void V3d_ColorScale::PaintText | ( | const TCollection_ExtendedString & | aText, |
| const Standard_Integer | X, | ||
| const Standard_Integer | Y, | ||
| const Quantity_Color & | aColor | ||
| ) | [virtual] |
Implements Aspect_ColorScale.
| virtual Standard_Integer V3d_ColorScale::TextHeight | ( | const TCollection_ExtendedString & | aText | ) | const [virtual] |
Implements Aspect_ColorScale.
| void V3d_ColorScale::TextSize | ( | const TCollection_ExtendedString & | AText, |
| const Standard_Integer | AHeight, | ||
| Standard_Integer & | AWidth, | ||
| Standard_Integer & | AnAscent, | ||
| Standard_Integer & | ADescent | ||
| ) | const |
| virtual Standard_Integer V3d_ColorScale::TextWidth | ( | const TCollection_ExtendedString & | aText | ) | const [virtual] |
Implements Aspect_ColorScale.
| virtual void V3d_ColorScale::UpdateColorScale | ( | ) | [protected, virtual] |
Reimplemented from Aspect_ColorScale.
1.8.0