コード例 #1
0
ファイル: Drawing.cpp プロジェクト: Monsterovich/SLADE
/* 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);
}
コード例 #2
0
ファイル: Drawing.cpp プロジェクト: sirjuddington/SLADE
// -----------------------------------------------------------------------------
// 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);
}