OECastleArcFxn¶
class OECastleArcFxn : public OESurfaceArcFxnBase
This class represents OECastleArcFxn. See example in Figure: Example of drawing molecule surface using OECastleArcFxn.
 
Example of drawing molecule surface using OECastleArcFxn¶
See also
- OEDrawCastleSurfaceArcfunction
- OESetSurfaceArcFxnfunction
- OEDraw2DSurfacefunction
The following methods are publicly inherited from OESurfaceArcFxnBase:
Constructors¶
OECastleArcFxn(const OEDepict::OEPen &pen=OEDepict::OEBlackPen)
Default constructor.
- pen
- The graphical properties of the arc. 
operator()¶
bool operator()(OEDepict::OEImageBase &image, const OESurfaceArc &arc) const
Draws a surface arc with the
OESurfaceArcStyle.Castle style.
See example in Figure: Example of drawing molecule surface using OECastleArcFxn.
- image
- The image on which the surface arc is drawn. 
- arc
- The object that stores the parameters of the surface arc. 
See also
- OESurfaceArc class 
CreateCopy¶
OESurfaceArcFxnBase *CreateCopy() const
Deep copy constructor that returns a copy of the object. The memory for the returned OECastleArcFxn object is dynamically allocated and owned by the caller.