/* Drawing::drawBorderedRect * Draws a filled rectangle with a border from [x1,y1] to [x2,y2] *******************************************************************/ void Drawing::drawBorderedRect(fpoint2_t tl, fpoint2_t br, rgba_t colour, rgba_t border_colour) { drawBorderedRect(tl.x, tl.y, br.x, br.y, colour, border_colour); }
// ----------------------------------------------------------------------------- // Draws a filled rectangle with a border from [x1,y1] to [x2,y2] // ----------------------------------------------------------------------------- void Drawing::drawBorderedRect(Vec2d tl, Vec2d br, const ColRGBA& colour, const ColRGBA& border_colour) { drawBorderedRect(tl.x, tl.y, br.x, br.y, colour, border_colour); }