Home
last modified time | relevance | path

Searched refs:m_DashArray (Results 1 – 12 of 12) sorted by relevance

/external/pdfium/core/fpdfdoc/
Dcpdf_annot.cpp504 graph_state.m_DashArray = in DrawBorder()
506 if (graph_state.m_DashArray.size() % 2) in DrawBorder()
507 graph_state.m_DashArray.push_back(graph_state.m_DashArray.back()); in DrawBorder()
509 graph_state.m_DashArray = {3.0f, 3.0f}; in DrawBorder()
/external/pdfium/core/fxge/
Dcfx_graphstatedata.h42 std::vector<float> m_DashArray; variable
Dcfx_graphstate.cpp29 pData->m_DashArray = std::move(dashes); in SetLineDash()
Dcfx_renderdevice.cpp1222 gsd.m_DashArray = {3.0f, 3.0f}; in DrawBorder()
/external/pdfium/core/fxge/win32/
Dfx_win32_device.cpp98 if (!pGraphState->m_DashArray.empty()) in CreateExtPen()
132 if (!pGraphState->m_DashArray.empty()) { in CreateExtPen()
133 dashes.resize(pGraphState->m_DashArray.size()); in CreateExtPen()
134 for (size_t i = 0; i < pGraphState->m_DashArray.size(); i++) { in CreateExtPen()
136 pMatrix ? pMatrix->TransformDistance(pGraphState->m_DashArray[i]) in CreateExtPen()
137 : pGraphState->m_DashArray[i]); in CreateExtPen()
142 pGraphState->m_DashArray.size(), in CreateExtPen()
994 (pGraphState && !pGraphState->m_DashArray.empty()))) { in DrawPath()
1023 !pGraphState->m_DashArray.empty()) { in DrawPath()
Dfx_win32_gdipext.cpp430 if (!pGraphState->m_DashArray.empty()) { in GdipCreatePenImpl()
432 FX_Alloc(float, FxAlignToBoundary<2>(pGraphState->m_DashArray.size())); in GdipCreatePenImpl()
435 for (size_t i = 0; i < pGraphState->m_DashArray.size(); i += 2) { in GdipCreatePenImpl()
436 float on_phase = pGraphState->m_DashArray[i]; in GdipCreatePenImpl()
438 if (i == pGraphState->m_DashArray.size() - 1) in GdipCreatePenImpl()
441 off_phase = pGraphState->m_DashArray[i + 1]; in GdipCreatePenImpl()
Dcfx_psrenderer.cpp255 m_CurGraphState.m_DashArray != pGraphState->m_DashArray) { in SetGraphState()
257 for (const auto& dash : pGraphState->m_DashArray) in SetGraphState()
/external/pdfium/xfa/fxgraphics/
Dcxfa_graphics.cpp146 m_info.graphState.m_DashArray.resize(dashCount); in SetLineDash()
148 m_info.graphState.m_DashArray[i] = dashArray[i] * scale; in SetLineDash()
152 m_info.graphState.m_DashArray.clear(); in SetSolidLineDash()
/external/pdfium/core/fxge/skia/
Dfx_skia_device.cpp1199 bool dashArray = pState && !pState->m_DashArray.empty(); in DashChanged()
1200 if (!dashArray && refState.m_DashArray.empty()) in DashChanged()
1202 if (!dashArray || refState.m_DashArray.empty()) in DashChanged()
1205 pState->m_DashArray != refState.m_DashArray; in DashChanged()
1567 if (!pGraphState->m_DashArray.empty()) { in PaintStroke()
1568 size_t count = (pGraphState->m_DashArray.size() + 1) / 2; in PaintStroke()
1573 float on = pGraphState->m_DashArray[i * 2]; in PaintStroke()
1576 float off = i * 2 + 1 == pGraphState->m_DashArray.size() in PaintStroke()
1578 : pGraphState->m_DashArray[i * 2 + 1]; in PaintStroke()
/external/pdfium/core/fxge/agg/
Dfx_agg_driver.cpp289 if (!pGraphState->m_DashArray.empty()) { in RasterizeStroke()
292 for (size_t i = 0; i < (pGraphState->m_DashArray.size() + 1) / 2; i++) { in RasterizeStroke()
293 float on = pGraphState->m_DashArray[i * 2]; in RasterizeStroke()
296 float off = i * 2 + 1 == pGraphState->m_DashArray.size() in RasterizeStroke()
298 : pGraphState->m_DashArray[i * 2 + 1]; in RasterizeStroke()
/external/pdfium/fpdfsdk/pwl/
Dcpwl_edit.cpp203 gsd.m_DashArray = {static_cast<float>(GetBorderDash().nDash), in DrawThisAppearance()
/external/pdfium/fpdfsdk/formfiller/
Dcffl_interactiveformfiller.cpp91 gsd.m_DashArray = {1.0f}; in OnDraw()