diff options
Diffstat (limited to 'core/fpdfapi/fpdf_render/include')
4 files changed, 9 insertions, 9 deletions
diff --git a/core/fpdfapi/fpdf_render/include/cpdf_progressiverenderer.h b/core/fpdfapi/fpdf_render/include/cpdf_progressiverenderer.h index 11ece71406..96e30412d5 100644 --- a/core/fpdfapi/fpdf_render/include/cpdf_progressiverenderer.h +++ b/core/fpdfapi/fpdf_render/include/cpdf_progressiverenderer.h @@ -54,7 +54,7 @@ class CPDF_ProgressiveRenderer { const CPDF_RenderOptions* const m_pOptions; std::unique_ptr<CPDF_RenderStatus> m_pRenderStatus; CFX_FloatRect m_ClipRect; - FX_DWORD m_LayerIndex; + uint32_t m_LayerIndex; CPDF_RenderContext::Layer* m_pCurrentLayer; CPDF_PageObjectList::iterator m_LastObjectRendered; }; diff --git a/core/fpdfapi/fpdf_render/include/cpdf_rendercontext.h b/core/fpdfapi/fpdf_render/include/cpdf_rendercontext.h index b2566ad007..2974a658b4 100644 --- a/core/fpdfapi/fpdf_render/include/cpdf_rendercontext.h +++ b/core/fpdfapi/fpdf_render/include/cpdf_rendercontext.h @@ -50,8 +50,8 @@ class CPDF_RenderContext { const CPDF_RenderOptions* pOptions, CFX_Matrix* pFinalMatrix); - FX_DWORD CountLayers() const { return m_Layers.GetSize(); } - Layer* GetLayer(FX_DWORD index) { return m_Layers.GetDataPtr(index); } + uint32_t CountLayers() const { return m_Layers.GetSize(); } + Layer* GetLayer(uint32_t index) { return m_Layers.GetDataPtr(index); } CPDF_Document* GetDocument() const { return m_pDocument; } CPDF_Dictionary* GetPageResources() const { return m_pPageResources; } diff --git a/core/fpdfapi/fpdf_render/include/cpdf_renderoptions.h b/core/fpdfapi/fpdf_render/include/cpdf_renderoptions.h index f28fae4f3d..a78838ac58 100644 --- a/core/fpdfapi/fpdf_render/include/cpdf_renderoptions.h +++ b/core/fpdfapi/fpdf_render/include/cpdf_renderoptions.h @@ -41,11 +41,11 @@ class CPDF_RenderOptions { int m_ColorMode; FX_COLORREF m_BackColor; FX_COLORREF m_ForeColor; - FX_DWORD m_Flags; + uint32_t m_Flags; int m_Interpolation; - FX_DWORD m_AddFlags; + uint32_t m_AddFlags; IPDF_OCContext* m_pOCContext; - FX_DWORD m_dwLimitCacheSize; + uint32_t m_dwLimitCacheSize; int m_HalftoneLimit; }; diff --git a/core/fpdfapi/fpdf_render/include/cpdf_textrenderer.h b/core/fpdfapi/fpdf_render/include/cpdf_textrenderer.h index 7c04e4a705..2d3ce44e46 100644 --- a/core/fpdfapi/fpdf_render/include/cpdf_textrenderer.h +++ b/core/fpdfapi/fpdf_render/include/cpdf_textrenderer.h @@ -42,7 +42,7 @@ class CPDF_TextRenderer { static FX_BOOL DrawTextPath(CFX_RenderDevice* pDevice, int nChars, - FX_DWORD* pCharCodes, + uint32_t* pCharCodes, FX_FLOAT* pCharPos, CPDF_Font* pFont, FX_FLOAT font_size, @@ -56,7 +56,7 @@ class CPDF_TextRenderer { static FX_BOOL DrawNormalText(CFX_RenderDevice* pDevice, int nChars, - FX_DWORD* pCharCodes, + uint32_t* pCharCodes, FX_FLOAT* pCharPos, CPDF_Font* pFont, FX_FLOAT font_size, @@ -66,7 +66,7 @@ class CPDF_TextRenderer { static FX_BOOL DrawType3Text(CFX_RenderDevice* pDevice, int nChars, - FX_DWORD* pCharCodes, + uint32_t* pCharCodes, FX_FLOAT* pCharPos, CPDF_Font* pFont, FX_FLOAT font_size, |