Searched refs:m_DashArray (Results 1 – 12 of 12) sorted by relevance
504 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()
42 std::vector<float> m_DashArray; variable
29 pData->m_DashArray = std::move(dashes); in SetLineDash()
1222 gsd.m_DashArray = {3.0f, 3.0f}; in DrawBorder()
98 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()
430 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()
255 m_CurGraphState.m_DashArray != pGraphState->m_DashArray) { in SetGraphState()257 for (const auto& dash : pGraphState->m_DashArray) in SetGraphState()
146 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()
1199 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()
289 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()
203 gsd.m_DashArray = {static_cast<float>(GetBorderDash().nDash), in DrawThisAppearance()
91 gsd.m_DashArray = {1.0f}; in OnDraw()