first commit
This commit is contained in:
108
Lab4/circle.h
Normal file
108
Lab4/circle.h
Normal file
@@ -0,0 +1,108 @@
|
||||
//## begin module.cm preserve=no
|
||||
|
||||
// %X% %Q% %Z% %W%
|
||||
|
||||
//## end module.cm
|
||||
|
||||
|
||||
|
||||
//## begin module.cp preserve=no
|
||||
|
||||
//## end module.cp
|
||||
|
||||
|
||||
|
||||
//## Module: Circle; Pseudo Package specification
|
||||
|
||||
//## Subsystem: Figures
|
||||
|
||||
//## Source file: H:\WebDocs\skola\Avancerad_C++\Lab4\Rose\Circle.h
|
||||
|
||||
|
||||
|
||||
#ifndef Circle_h
|
||||
|
||||
#define Circle_h 1
|
||||
|
||||
|
||||
|
||||
//## begin module.additionalIncludes preserve=no
|
||||
|
||||
//## end module.additionalIncludes
|
||||
|
||||
|
||||
|
||||
//## begin module.includes preserve=yes
|
||||
|
||||
//## end module.includes
|
||||
|
||||
|
||||
|
||||
// Point
|
||||
|
||||
#include "H:\WebDocs\skola\Avancerad_C++\Lab4\Rose\Point.h"
|
||||
|
||||
// Figure
|
||||
|
||||
#include "H:\WebDocs\skola\Avancerad_C++\Lab4\Rose\Figure.h"
|
||||
|
||||
//## begin module.additionalDeclarations preserve=yes
|
||||
|
||||
//## end module.additionalDeclarations
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
//## Class: Circle
|
||||
|
||||
//## Category: Figures
|
||||
|
||||
//## Subsystem: Figures
|
||||
|
||||
//## Persistence: Transient
|
||||
|
||||
//## Cardinality/Multiplicity: n
|
||||
|
||||
|
||||
|
||||
class Circle : public Figure //## Inherits: <unnamed>
|
||||
|
||||
{
|
||||
|
||||
//## begin Circle.initialDeclarations preserve=yes
|
||||
|
||||
//## end Circle.initialDeclarations
|
||||
|
||||
|
||||
|
||||
public:
|
||||
|
||||
//## Constructors (generated)
|
||||
|
||||
Circle();
|
||||
|
||||
|
||||
|
||||
//## Constructors (specified)
|
||||
|
||||
//## Operation: Circle%939623931
|
||||
|
||||
Circle (int x, int y, int r, Color color);
|
||||
|
||||
|
||||
|
||||
//## Destructor (generated)
|
||||
|
||||
~Circle();
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
//## Other Operations (specified)
|
||||
|
||||
//## Operation: draw%937398670
|
||||
|
||||
void draw (Graphics &g);
|
||||
|
||||
Reference in New Issue
Block a user