diff options
author | Lei Zhang <thestig@chromium.org> | 2018-05-22 15:38:58 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-05-22 15:38:58 +0000 |
commit | 47b75ce767469170658a2ec73f25aa24d89b5099 (patch) | |
tree | 8aeca486b8b3b5bafbd88633a140f329f2ae0cf2 /core/fxcodec/jbig2/JBig2_Image.h | |
parent | 366df7fd6e6b75e0500e67960a20dc3129c703d6 (diff) | |
download | pdfium-47b75ce767469170658a2ec73f25aa24d89b5099.tar.xz |
Fix method style in JBig2_Image.
Rename fooBar() to FooBar().
Change-Id: I87775fa14ce7e4f4a5897780d0d02fb61c7693ff
Reviewed-on: https://pdfium-review.googlesource.com/32739
Commit-Queue: Ryan Harrison <rharrison@chromium.org>
Reviewed-by: Ryan Harrison <rharrison@chromium.org>
Diffstat (limited to 'core/fxcodec/jbig2/JBig2_Image.h')
-rw-r--r-- | core/fxcodec/jbig2/JBig2_Image.h | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/core/fxcodec/jbig2/JBig2_Image.h b/core/fxcodec/jbig2/JBig2_Image.h index d8a3e9cdc1..7c087c2385 100644 --- a/core/fxcodec/jbig2/JBig2_Image.h +++ b/core/fxcodec/jbig2/JBig2_Image.h @@ -36,11 +36,11 @@ class CJBig2_Image { int32_t stride() const { return m_nStride; } uint8_t* data() const { return m_pData.Get(); } - int getPixel(int32_t x, int32_t y) const; - int32_t setPixel(int32_t x, int32_t y, int bVal); + int GetPixel(int32_t x, int32_t y) const; + int32_t SetPixel(int32_t x, int32_t y, int bVal); - void copyLine(int32_t hTo, int32_t hFrom); - void fill(bool v); + void CopyLine(int32_t hTo, int32_t hFrom); + void Fill(bool v); bool ComposeFrom(int32_t x, int32_t y, CJBig2_Image* pSrc, JBig2ComposeOp op); bool ComposeFromWithRect(int32_t x, @@ -49,12 +49,11 @@ class CJBig2_Image { const FX_RECT& rtSrc, JBig2ComposeOp op); - std::unique_ptr<CJBig2_Image> subImage(int32_t x, + std::unique_ptr<CJBig2_Image> SubImage(int32_t x, int32_t y, int32_t w, int32_t h); - void expand(int32_t h, bool v); - + void Expand(int32_t h, bool v); bool ComposeTo(CJBig2_Image* pDst, int32_t x, int32_t y, JBig2ComposeOp op); bool ComposeToWithRect(CJBig2_Image* pDst, |