Home
last modified time | relevance | path

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

/external/pdfium/core/src/fxge/win32/
Dfx_win32_gdipext.cpp772 FX_FLOAT on_phase = pGraphState->m_DashArray[i]; in _GdipCreatePen() local
775 off_phase = on_phase; in _GdipCreatePen()
779 on_phase /= width; in _GdipCreatePen()
781 if (on_phase + off_phase <= 0.00002f) { in _GdipCreatePen()
782 on_phase = 1.0f / 10; in _GdipCreatePen()
791 on_phase += 1; in _GdipCreatePen()
793 if (on_phase == 0 || off_phase == 0) { in _GdipCreatePen()
795 on_leftover += on_phase; in _GdipCreatePen()
798 pDashArray[nCount - 2] += on_phase; in _GdipCreatePen()
802 pDashArray[nCount++] = on_phase + on_leftover; in _GdipCreatePen()