Enrollment 28.2.0
Loading...
Searching...
No Matches
ImageShapeDrawer Class Referenceabstract

It is used by ImageShape to draw its shape. More...

#include <ImageShape.h>

Collaboration diagram for ImageShapeDrawer:

Public Member Functions

virtual void DrawLine (const Line &line, const ImageShapeAttributes &attr)=0
 Draws line.
virtual void DrawCircle (const Circle &circle, const ImageShapeAttributes &attr)=0
 Draws circle.
virtual void DrawRectangle (const Rectangle &rectangle, const ImageShapeAttributes &attr)=0
 Draws rectangle.

Detailed Description

It is used by ImageShape to draw its shape.

Member Function Documentation

◆ DrawCircle()

virtual void DrawCircle ( const Circle & circle,
const ImageShapeAttributes & attr )
pure virtual

Draws circle.

Parameters
circlecircle to draw
attrImageShapeAttributes of circle

◆ DrawLine()

virtual void DrawLine ( const Line & line,
const ImageShapeAttributes & attr )
pure virtual

Draws line.

Parameters
lineline to draw
attrImageShapeAttributes of line

◆ DrawRectangle()

virtual void DrawRectangle ( const Rectangle & rectangle,
const ImageShapeAttributes & attr )
pure virtual

Draws rectangle.

Parameters
rectangleRectangle to draw
attrImageShapeAttributes of rectangle

The documentation for this class was generated from the following file: