#include <Prs2d_DrawSymbol.hxx>
Inheritance diagram for Prs2d_DrawSymbol:
Public Member Functions | |
Standard_EXPORT | Prs2d_DrawSymbol (const Handle(Graphic2d_GraphicObject)&aGO, const Prs2d_TypeOfSymbol aSymbType, const Standard_Real aX, const Standard_Real aY, const Standard_Real aWidth=10.0, const Standard_Real aHeight=10.0, const Standard_Real anAngle=0.0) |
Creates the predefined marker index <anindex> at position <ax>, <ay> and size <awidth>,<aheight>. //! Trigger - Raises SymbolDefinitionError if the symbol type isn't defined, or the symbol size < aWidth, aHeight > is null. . | |
virtual Standard_EXPORT void | Save (Aspect_FStream &aFStream) const |
Standard_EXPORT const | Handle (Standard_Type)&DynamicType() const |
Protected Member Functions | |
Standard_EXPORT void | Draw (const Handle(Graphic2d_Drawer)&aDrawer) |
Draws the symbol <me>. . | |
Standard_EXPORT Standard_Boolean | Pick (const Standard_ShortReal X, const Standard_ShortReal Y, const Standard_ShortReal aPrecision, const Handle(Graphic2d_Drawer)&aDrawer) |
Returns Standard_True if the symbol <me> is picked, Standard_False if not. Warning: Checks only if the point <x>, <y> is in the boundary rectangle of <me> . | |
Private Attributes | |
Prs2d_TypeOfSymbol | myTypeSymb |
Standard_ShortReal | myX |
Standard_ShortReal | myY |
Standard_ShortReal | myWidth |
Standard_ShortReal | myHeight |
Standard_ShortReal | myAngle |
|
|
|
Implements Graphic2d_Primitive. |
|
Reimplemented from Graphic2d_Line. |
|
Implements Graphic2d_Primitive. |
|
Reimplemented from Graphic2d_Line. |
|
|
|
|
|
|
|
|
|
|
|
|