Newer
Older
Import / research / signals-slots / src / gui / painter.cpp
@John Ryland John Ryland on 22 Dec 2020 767 bytes import NUC files
#include <painter.h>


void Painter::drawEllipse(Point2D origin, Size2D size, LineStyle lineStyle, FillStyle fillStyle)
{
    /*
        Should perhaps have version where using 2 focal points
    */

    // (x - h)2 / a2  + (y - k)2 / b2 = 1
}


void Painter::drawRect(Point2D origin, Size2D size, LineStyle lineStyle, FillStyle fillStyle)
{
//    for ( int i = 0;
//    target
}


void Painter::drawLine(Point2D origin, Size2D size, LineStyle lineStyle)
{
}


void Painter::drawCurve(Point2D a, Point2D b, Point2D controlA, Point2D controlB, LineStyle lineStyle)
{
}


void Painter::drawImage(Point2D origin, Size2D size, Image *src, Point2D srcOrigin)
{
}


void Painter::drawText(Point2D origin, const char *string, LineStyle lineStyle, FillStyle fillStyle)
{
}