Bug 1064087 - Remove nsRenderingContext::InvertRect(). r=Bas

--HG--
extra : rebase_source : 64ed4f9fa0e2e67aef00209dfc060dc9e87fc24a
This commit is contained in:
Jonathan Watt 2014-09-09 16:59:06 +01:00
parent 7445e55767
commit 3069002d6d
2 changed files with 0 additions and 12 deletions

View File

@ -352,16 +352,6 @@ nsRenderingContext::FillRect(nscoord aX, nscoord aY,
FillRect(nsRect(aX, aY, aWidth, aHeight));
}
void
nsRenderingContext::InvertRect(const nsRect& aRect)
{
gfxContext::GraphicsOperator lastOp = mThebes->CurrentOperator();
mThebes->SetOperator(gfxContext::OPERATOR_XOR);
FillRect(aRect);
mThebes->SetOperator(lastOp);
}
void
nsRenderingContext::DrawEllipse(nscoord aX, nscoord aY,
nscoord aWidth, nscoord aHeight)

View File

@ -88,8 +88,6 @@ public:
void FillEllipse(const nsRect& aRect);
void FillEllipse(nscoord aX, nscoord aY, nscoord aWidth, nscoord aHeight);
void InvertRect(const nsRect& aRect);
// Text
void SetFont(nsFontMetrics *aFontMetrics);