mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1064087 - Remove nsRenderingContext::InvertRect(). r=Bas
--HG-- extra : rebase_source : 64ed4f9fa0e2e67aef00209dfc060dc9e87fc24a
This commit is contained in:
parent
7445e55767
commit
3069002d6d
@ -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)
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user