Skip to content

Commit

Permalink
Add definition for Window::DrawPolygon.
Browse files Browse the repository at this point in the history
  • Loading branch information
BartVandewoestyne committed Feb 12, 2024
1 parent 426430b commit 62ac889
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Structural_Patterns/Bridge/Window.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ void Window::DrawRect (const Point& p1, const Point& p2) {
imp->DeviceRect(p1.X(), p1.Y(), p2.X(), p2.Y());
}

void Window::DrawPolygon(const Point[], int n)
{
// TODO
}

WindowImp* Window::GetWindowImp () {
if (_imp == 0) {
_imp = WindowSystemFactory::Instance()->MakeWindowImp();
Expand Down

0 comments on commit 62ac889

Please sign in to comment.