mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-28 13:21:28 +00:00
fixing bug 74129 r=shaver sr=blizzard
This commit is contained in:
parent
c4053df510
commit
d5963adaba
@ -1989,3 +1989,17 @@ nsRenderingContextGTK::my_gdk_draw_text (GdkDrawable *drawable,
|
||||
else
|
||||
g_error("undefined font type\n");
|
||||
}
|
||||
|
||||
|
||||
|
||||
NS_IMETHODIMP nsRenderingContextGTK::DrawImage(imgIContainer *aImage, const nsRect * aSrcRect, const nsPoint * aDestPoint)
|
||||
{
|
||||
UpdateGC();
|
||||
return nsRenderingContextImpl::DrawImage(aImage, aSrcRect, aDestPoint);
|
||||
}
|
||||
|
||||
NS_IMETHODIMP nsRenderingContextGTK::DrawScaledImage(imgIContainer *aImage, const nsRect * aSrcRect, const nsRect * aDestRect)
|
||||
{
|
||||
UpdateGC();
|
||||
return nsRenderingContextImpl::DrawScaledImage(aImage, aSrcRect, aDestRect);
|
||||
}
|
||||
|
@ -173,6 +173,9 @@ public:
|
||||
const nsRect &aDestBounds, PRUint32 aCopyFlags);
|
||||
NS_IMETHOD RetrieveCurrentNativeGraphicData(PRUint32 * ngd);
|
||||
|
||||
NS_IMETHOD DrawImage(imgIContainer *aImage, const nsRect * aSrcRect, const nsPoint * aDestPoint);
|
||||
NS_IMETHOD DrawScaledImage(imgIContainer *aImage, const nsRect * aSrcRect, const nsRect * aDestRect);
|
||||
|
||||
#ifdef MOZ_MATHML
|
||||
/**
|
||||
* Returns metrics (in app units) of an 8-bit character string
|
||||
@ -188,6 +191,7 @@ public:
|
||||
PRUint32 aLength,
|
||||
nsBoundingMetrics& aBoundingMetrics,
|
||||
PRInt32* aFontID = nsnull);
|
||||
|
||||
#endif /* MOZ_MATHML */
|
||||
|
||||
//locals
|
||||
|
Loading…
x
Reference in New Issue
Block a user