You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
377 B
C

2 years ago
#pragma once
#include "core/color.h"
#include "core/point.h"
2 years ago
namespace kku
{
/// Line
///
/// Graphical 2D line
2 years ago
class Line
{
public:
2 years ago
virtual ~Line() = default;
virtual void setPosition(const kku::Point &p1, const kku::Point &p2) = 0;
virtual void setColor(const kku::Color &c1, const kku::Color &c2) = 0;
2 years ago
virtual void display() = 0;
};
} // namespace kku