Home
last modified time | relevance | path

Searched refs:m_ColorState (Results 1 – 10 of 10) 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.cpp279 m_pCurStates->m_ColorState.Emplace(); in CPDF_StreamContentParser()
430 pObj->m_ColorState = m_pCurStates->m_ColorState; in SetGraphicStates()
696 m_pCurStates->m_ColorState.GetMutableFillColor()->SetColorSpace(pCS); in Handle_SetColorSpace_Fill()
704 m_pCurStates->m_ColorState.GetMutableStrokeColor()->SetColorSpace(pCS); in Handle_SetColorSpace_Stroke()
771 status.m_ColorState = m_pCurStates->m_ColorState; in AddForm()
868 m_pCurStates->m_ColorState.SetFillColor(pCS, &value, 1); in Handle_SetGray_Fill()
874 m_pCurStates->m_ColorState.SetStrokeColor(pCS, &value, 1); in Handle_SetGray_Stroke()
922 m_pCurStates->m_ColorState.SetFillColor(pCS, values, 4); in Handle_SetCMYKColor_Fill()
934 m_pCurStates->m_ColorState.SetStrokeColor(pCS, values, 4); in Handle_SetCMYKColor_Stroke()
999 m_pCurStates->m_ColorState.SetFillColor(pCS, values, 3); in Handle_SetRGBColor_Fill()
[all …]
Dcpdf_graphicstates.h26 CPDF_ColorState m_ColorState; variable
Dcpdf_contentparser.cpp164 m_pParser->GetCurStates()->m_ColorState.SetDefault(); in Continue()
/external/pdfium/core/fpdfapi/render/
Dcpdf_renderstatus.cpp1047 if (!m_InitialStates.m_ColorState.HasFillColor()) { in Initialize()
1048 m_InitialStates.m_ColorState.SetFillRGB( in Initialize()
1049 pParentState->m_InitialStates.m_ColorState.GetFillRGB()); in Initialize()
1050 m_InitialStates.m_ColorState.GetMutableFillColor()->Copy( in Initialize()
1051 pParentState->m_InitialStates.m_ColorState.GetFillColor()); in Initialize()
1053 if (!m_InitialStates.m_ColorState.HasStrokeColor()) { in Initialize()
1054 m_InitialStates.m_ColorState.SetStrokeRGB( in Initialize()
1055 pParentState->m_InitialStates.m_ColorState.GetFillRGB()); in Initialize()
1056 m_InitialStates.m_ColorState.GetMutableStrokeColor()->Copy( in Initialize()
1057 pParentState->m_InitialStates.m_ColorState.GetStrokeColor()); in Initialize()
[all …]
Dcpdf_imagerenderer.cpp100 const CPDF_Color* pColor = m_pImageObject->m_ColorState.GetFillColor(); in StartRenderDIBSource()
/external/pdfium/fpdfsdk/
Dfpdfeditpath.cpp68 pPathObj->m_ColorState.SetStrokeColor( in FPDFPath_SetStrokeColor()
84 uint32_t strokeRGB = pPathObj->m_ColorState.GetStrokeRGB(); in FPDFPath_GetStrokeColor()
121 uint32_t fillRGB = pPathObj->m_ColorState.GetFillRGB(); in FPDFPath_GetFillColor()
Dfpdfeditpage.cpp347 pPageObj->m_ColorState.SetFillColor( in FPDFPageObj_SetFillColor()
/external/pdfium/core/fpdfapi/edit/
Dcpdf_pagecontentgenerator_unittest.cpp121 pPathObj->m_ColorState.SetFillColor(pCS, rgb, 3); in TEST_F()
124 pPathObj->m_ColorState.SetStrokeColor(pCS, rgb2, 3); in TEST_F()
178 pTextObj->m_ColorState.SetFillColor(pCS, rgb, 3); in TEST_F()
181 pTextObj->m_ColorState.SetStrokeColor(pCS, rgb2, 3); in TEST_F()
Dcpdf_pagecontentgenerator.cpp269 if (GetColor(pPageObj->m_ColorState.GetFillColor(), fillColor)) { in ProcessGraphics()
274 if (GetColor(pPageObj->m_ColorState.GetStrokeColor(), strokeColor)) { in ProcessGraphics()