void Rectangle(PixelScalar left, PixelScalar top, PixelScalar right, PixelScalar bottom) { DrawFilledRectangle(left, top, right, bottom, brush); if (IsPenOverBrush()) DrawOutlineRectangle(left, top, right, bottom); }
void Rectangle(PixelScalar left, PixelScalar top, PixelScalar right, PixelScalar bottom) { DrawFilledRectangle(left, top, right, bottom, brush); if (pen_over_brush()) DrawOutlineRectangle(left, top, right, bottom, pen.GetColor()); }
void DrawFocusRectangle(const PixelRect &rc) { DrawOutlineRectangle(rc.left, rc.top, rc.right, rc.bottom, COLOR_DARK_GRAY); }
void Rectangle(int left, int top, int right, int bottom) { DrawFilledRectangle(left, top, right, bottom, brush); if (IsPenOverBrush()) DrawOutlineRectangle(left, top, right, bottom, pen); }
void Canvas::DrawFocusRectangle(PixelRect rc) { DrawOutlineRectangle(rc.left, rc.top, rc.right, rc.bottom, COLOR_DARK_GRAY); }