The ICap class encapsulates common functionality for frame Caps. Caps will only be created by the pen at points of Co (C - zero discontinuity). Typically these include a Polyline, Polygon etc. A special pen can, however, change this default behavior. The start and end points have caps attached.
Use the constructors and destructor in this group to create and destroy objects of class ICap.
![]() |
public:
~ICap()
Destructs an object of class ICap.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
public:
ICap(ECapType = kFlush)
Windows | OS/2 | AIX |
Yes | Yes | Yes |
public:
ICap(const ICap&)
Windows | OS/2 | AIX |
Yes | Yes | Yes |
Use the operator in this group to assign the given object to the target one.
![]() |
public:
ICap& operator =(const ICap& source)
Windows | OS/2 | AIX |
Yes | Yes | Yes |
Use the operators in this group to test two ICap objects for equality or inequality.
![]() |
public:
virtual bool operator !=(const ICap&) const
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
public:
virtual bool operator ==(const ICap&) const
Windows | OS/2 | AIX |
Yes | Yes | Yes |
Use the functions in this group to identify the cap type or set it.
![]() |
public:
ECapType capType() const
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
public:
void setCapType(ECapType capType)
Windows | OS/2 | AIX |
Yes | Yes | Yes |
Use the functions in this group to read the object in from the specified stream or write it out to it.
![]() |
protected:
virtual void readFromStream(IDataStream& toWhere)
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
protected:
virtual void writeToStream(IDataStream& toWhere) const
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
enum ECapType { kFlush, kRound, kSquare, kUnknownCap }
Windows | OS/2 | AIX |
Yes | Yes | Yes |
virtual ~IMStreamable()
void externalizeToStream(IDataStream& towhere) const
void internalizeFromStream(IDataStream& fromwhere)
virtual const ITypeRepresentation& typeRepresentation() const = 0
IMStreamable(const IMStreamable& other)
IMStreamable()
virtual void readFromStream(IDataStream& fromwhere) = 0
virtual void writeToStream(IDataStream& towhere) const = 0