Home
last modified time | relevance | path

Searched refs:m_ColorState (Results 1 – 11 of 11) sorted by relevance

/external/pdfium/core/fpdfapi/page/
Dcpdf_graphicstates.cpp14 m_ColorState.Emplace(); in DefaultStates()
15 m_ColorState.SetDefault(); in DefaultStates()
21 m_ColorState = src.m_ColorState; in CopyStates()
Dcpdf_streamcontentparser.cpp278 m_pCurStates->m_ColorState.Emplace(); in CPDF_StreamContentParser()
420 pObj->m_ColorState = m_pCurStates->m_ColorState; in SetGraphicStates()
693 m_pCurStates->m_ColorState.GetMutableFillColor()->SetColorSpace(pCS); in Handle_SetColorSpace_Fill()
701 m_pCurStates->m_ColorState.GetMutableStrokeColor()->SetColorSpace(pCS); in Handle_SetColorSpace_Stroke()
770 status.m_ColorState = m_pCurStates->m_ColorState; in AddForm()
888 m_pCurStates->m_ColorState.SetFillColor(pCS, GetNumbers(1)); in Handle_SetGray_Fill()
894 m_pCurStates->m_ColorState.SetStrokeColor(pCS, GetNumbers(1)); in Handle_SetGray_Stroke()
939 m_pCurStates->m_ColorState.SetFillColor(pCS, GetNumbers(4)); in Handle_SetCMYKColor_Fill()
948 m_pCurStates->m_ColorState.SetStrokeColor(pCS, GetNumbers(4)); in Handle_SetCMYKColor_Stroke()
1009 m_pCurStates->m_ColorState.SetFillColor(pCS, GetNumbers(3)); in Handle_SetRGBColor_Fill()
[all …]
Dcpdf_graphicstates.h26 CPDF_ColorState m_ColorState; variable
Dcpdf_tilingpattern.cpp46 allStates.m_ColorState.Emplace(); in Load()
Dcpdf_contentparser.cpp192 m_pParser->GetCurStates()->m_ColorState.SetDefault(); in Parse()
/external/pdfium/core/fpdfapi/render/
Dcpdf_renderstatus.cpp180 if (!m_InitialStates.m_ColorState.HasFillColor()) { in Initialize()
181 m_InitialStates.m_ColorState.SetFillColorRef( in Initialize()
182 pParentStatus->m_InitialStates.m_ColorState.GetFillColorRef()); in Initialize()
183 *m_InitialStates.m_ColorState.GetMutableFillColor() = in Initialize()
184 *pParentStatus->m_InitialStates.m_ColorState.GetFillColor(); in Initialize()
186 if (!m_InitialStates.m_ColorState.HasStrokeColor()) { in Initialize()
187 m_InitialStates.m_ColorState.SetStrokeColorRef( in Initialize()
188 pParentStatus->m_InitialStates.m_ColorState.GetFillColorRef()); in Initialize()
189 *m_InitialStates.m_ColorState.GetMutableStrokeColor() = in Initialize()
190 *pParentStatus->m_InitialStates.m_ColorState.GetStrokeColor(); in Initialize()
[all …]
Dcpdf_imagerenderer.cpp97 const CPDF_Color* pColor = m_pImageObject->m_ColorState.GetFillColor(); in StartRenderDIBBase()
/external/pdfium/core/fpdfapi/edit/
Dcpdf_pagecontentgenerator_unittest.cpp90 pPathObj->m_ColorState.SetFillColor(pCS, rgb); in TEST_F()
91 pPathObj->m_ColorState.SetStrokeColor(pCS, rgb); in TEST_F()
112 pPathObj->m_ColorState.SetFillColor(pCS, rgb); in TEST_F()
113 pPathObj->m_ColorState.SetStrokeColor(pCS, rgb); in TEST_F()
193 pPathObj->m_ColorState.SetFillColor(pCS, rgb); in TEST_F()
196 pPathObj->m_ColorState.SetStrokeColor(pCS, rgb2); in TEST_F()
259 pTextObj->m_ColorState.SetFillColor(pCS, rgb); in TEST_F()
262 pTextObj->m_ColorState.SetStrokeColor(pCS, rgb2); in TEST_F()
Dcpdf_pagecontentgenerator.cpp406 if (GetColor(pPageObj->m_ColorState.GetFillColor(), fillColor)) { in ProcessGraphics()
411 if (GetColor(pPageObj->m_ColorState.GetStrokeColor(), strokeColor)) { in ProcessGraphics()
/external/pdfium/fpdfsdk/
Dfpdf_editpage.cpp690 pPageObj->m_ColorState.SetFillColor( in FPDFPageObj_SetFillColor()
706 if (!pPageObj->m_ColorState.HasRef()) in FPDFPageObj_GetFillColor()
709 FX_COLORREF fill_color = pPageObj->m_ColorState.GetFillColorRef(); in FPDFPageObj_GetFillColor()
747 pPageObj->m_ColorState.SetStrokeColor( in FPDFPageObj_SetStrokeColor()
763 if (!pPageObj->m_ColorState.HasRef()) in FPDFPageObj_GetStrokeColor()
766 FX_COLORREF stroke_color = pPageObj->m_ColorState.GetStrokeColorRef(); in FPDFPageObj_GetStrokeColor()
Dfpdf_text.cpp159 FX_COLORREF fill_color = charinfo.m_pTextObj->m_ColorState.GetFillColorRef(); in FPDFText_GetFillColor()
184 charinfo.m_pTextObj->m_ColorState.GetStrokeColorRef(); in FPDFText_GetStrokeColor()