lab 5 progress

This commit is contained in:
2022-04-25 19:10:06 -05:00
parent 75ac03dd08
commit bf5490504c
10 changed files with 405 additions and 26 deletions

View File

@@ -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