Home
last modified time | relevance | path

Searched refs:m_DashCount (Results 1 – 9 of 9) sorted by relevance

/external/pdfium/core/src/fxge/ge/
Dfx_ge_path.cpp583 m_DashCount = 0; in CFX_GraphStateData()
598 m_DashCount = src.m_DashCount; in Copy()
607 if (m_DashCount) { in Copy()
608 m_DashArray = FX_Alloc(FX_FLOAT, m_DashCount); in Copy()
609 FXSYS_memcpy32(m_DashArray, src.m_DashArray, m_DashCount * sizeof(FX_FLOAT)); in Copy()
624 m_DashCount = count; in SetDashCount()
Dfx_ge_ps.cpp244 if (!m_bGraphStateSet || m_CurGraphState.m_DashCount != pGraphState->m_DashCount || in SetGraphState()
245 …rGraphState.m_DashArray, pGraphState->m_DashArray, sizeof(FX_FLOAT)*m_CurGraphState.m_DashCount)) { in SetGraphState()
247 for (int i = 0; i < pGraphState->m_DashCount; i ++) { in SetGraphState()
/external/pdfium/core/src/fpdfdoc/
Ddoc_annot.cpp342 pGraphState->m_DashCount = dash_count; in GetBorder()
352 pGraphState->m_DashCount = 2; in GetBorder()
438 graph_state.m_DashCount = dash_count; in DrawBorder()
448 graph_state.m_DashCount = 2; in DrawBorder()
/external/pdfium/core/src/fxge/win32/
Dfx_win32_device.cpp621 if(pGraphState->m_DashCount) { in _CreatePen()
656 if (pGraphState->m_DashCount) { in _CreatePen()
657 pDash = FX_Alloc(FX_DWORD, pGraphState->m_DashCount); in _CreatePen()
658 for (int i = 0; i < pGraphState->m_DashCount; i ++) { in _CreatePen()
665 …HPEN hPen = ExtCreatePen(PenStyle, (DWORD)FXSYS_ceil(width), &lb, pGraphState->m_DashCount, (const… in _CreatePen()
793 … != FXDC_PRINTER && !(fill_mode & FXFILL_FULLCOVER)) || pGraphState && pGraphState->m_DashCount)) { in DrawPath()
818 if (pPathData->GetPointCount() == 2 && pGraphState && pGraphState->m_DashCount) { in DrawPath()
Dfx_win32_gdipext.cpp767 if(pGraphState->m_DashCount) { in _GdipCreatePen()
768 …FX_FLOAT* pDashArray = FX_Alloc(FX_FLOAT, pGraphState->m_DashCount + pGraphState->m_DashCount % 2); in _GdipCreatePen()
771 for (int i = 0; i < pGraphState->m_DashCount; i += 2) { in _GdipCreatePen()
774 if (i == pGraphState->m_DashCount - 1) { in _GdipCreatePen()
/external/pdfium/core/src/fxge/apple/
Dfx_quartz_device.cpp978 if (graphState->m_DashCount) { in setStrokeInfo()
980 CGFloat* dashArray = new CGFloat[graphState->m_DashCount]; in setStrokeInfo()
984 for (int index = 0; index < graphState->m_DashCount; ++index) { in setStrokeInfo()
990 CGContextSetLineDash(_context, graphState->m_DashPhase, dashArray, graphState->m_DashCount); in setStrokeInfo()
/external/pdfium/core/src/fxge/skia/
Dfx_skia_device.cpp212 int count = (pGraphState->m_DashCount+1)/2; in SkRasterizeStroke()
218 FX_FIXFLOAT off = i*2+1 == pGraphState->m_DashCount ? on : in SkRasterizeStroke()
/external/pdfium/core/include/fxge/
Dfx_ge.h243 int m_DashCount; variable
/external/pdfium/core/src/fxge/agg/agg23/
Dfx_agg_driver.cpp166 for (int i = 0; i < (pGraphState->m_DashCount + 1) / 2; i ++) { in RasterizeStroke()
171 FX_FLOAT off = i * 2 + 1 == pGraphState->m_DashCount ? on : in RasterizeStroke()