示例#1
0
void DrawRect(const rtRect &r, uint32 color, float lineWidth)
{
	DrawRect((float)r.left, (float)r.top, (float)r.GetWidth(), (float)r.GetHeight(), color, lineWidth);
}
示例#2
0
void DrawFilledRect(rtRect &r, uint32 color)
{
	GenerateFillRect(color, (float)r.left, (float)r.top, (float)r.GetWidth(), (float)r.GetHeight());
}