зеркало из https://github.com/mozilla/gecko-dev.git
Bug 276431 Patch 7: Add sentinel value "mozilla::imagelib::kFullImageSpaceRect" in imgIContainer. r=joe a=blocking
This commit is contained in:
Родитель
beaf4e127a
Коммит
31396d0604
|
@ -52,7 +52,20 @@ interface imgIDecoderObserver;
|
|||
#include "gfxPattern.h"
|
||||
#include "gfxASurface.h"
|
||||
#include "nsRect.h"
|
||||
#include "limits.h"
|
||||
|
||||
class nsIFrame;
|
||||
|
||||
namespace mozilla {
|
||||
namespace imagelib {
|
||||
/**
|
||||
* A sentinel value that can be passed to various imagelib methods
|
||||
* to represent "the full image space".
|
||||
*/
|
||||
static const nsIntRect kFullImageSpaceRect(0, 0, INT_MAX, INT_MAX);
|
||||
}
|
||||
}
|
||||
|
||||
%}
|
||||
|
||||
[ptr] native gfxImageSurface(gfxImageSurface);
|
||||
|
|
Загрузка…
Ссылка в новой задаче