adopting correct implementation virtualization for Do/GradientFillConcentric
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41482 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
562f54a7ba
commit
fb63a24232
@ -168,7 +168,8 @@ public:
|
||||
void GradientFillConcentric(const wxRect& rect,
|
||||
const wxColour& initialColour,
|
||||
const wxColour& destColour,
|
||||
const wxPoint& circleCenter);
|
||||
const wxPoint& circleCenter)
|
||||
{ DoGradientFillConcentric(rect, initialColour, destColour, circleCenter); }
|
||||
|
||||
// fill the area specified by rect with a linear gradient
|
||||
void GradientFillLinear(const wxRect& rect,
|
||||
@ -658,6 +659,11 @@ protected:
|
||||
const wxColour& destColour,
|
||||
wxDirection nDirection = wxEAST);
|
||||
|
||||
virtual void DoGradientFillConcentric(const wxRect& rect,
|
||||
const wxColour& initialColour,
|
||||
const wxColour& destColour,
|
||||
const wxPoint& circleCenter);
|
||||
|
||||
virtual bool DoGetPixel(wxCoord x, wxCoord y, wxColour *col) const = 0;
|
||||
|
||||
virtual void DoDrawPoint(wxCoord x, wxCoord y) = 0;
|
||||
|
@ -776,7 +776,7 @@ void wxDCBase::DoGradientFillLinear(const wxRect& rect,
|
||||
SetPen(oldPen);
|
||||
}
|
||||
|
||||
void wxDCBase::GradientFillConcentric(const wxRect& rect,
|
||||
void wxDCBase::DoGradientFillConcentric(const wxRect& rect,
|
||||
const wxColour& initialColour,
|
||||
const wxColour& destColour,
|
||||
const wxPoint& circleCenter)
|
||||
|
Loading…
Reference in New Issue
Block a user