lab 5 progress
This commit is contained in:
20
Lab5/line.h
20
Lab5/line.h
@@ -1,8 +1,10 @@
|
||||
#ifndef line_h
|
||||
#define line_h
|
||||
/**
|
||||
* @file line.h
|
||||
* @author your name (you@domain.com)
|
||||
* @author Trevor Barnes (barnestr@msoe.edu)
|
||||
* @brief
|
||||
* @version 0.1
|
||||
* @version 1.0
|
||||
* @date 2022-04-12
|
||||
*
|
||||
* @copyright Copyright (c) 2022
|
||||
@@ -11,11 +13,17 @@
|
||||
|
||||
#include "shape.h"
|
||||
#include "matrix.h"
|
||||
#include "x11context.h"
|
||||
|
||||
class Line: public Shape{
|
||||
public:
|
||||
// Line constructor
|
||||
Line(int x0, int y0, int x1, int y1, uint32_t color);
|
||||
Line(const Line& from);
|
||||
~Line();
|
||||
Line& operator=(const Line& rhs);
|
||||
void draw(GraphicsContext *gc);
|
||||
Shape* clone();
|
||||
};
|
||||
|
||||
private:
|
||||
|
||||
|
||||
}
|
||||
#endif
|
||||
Reference in New Issue
Block a user