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.cpp1022 FX_FLOAT on_phase = pGraphState->m_DashArray[i]; in _GdipCreatePen() local
1025 off_phase = on_phase; in _GdipCreatePen()
1029 on_phase /= width; in _GdipCreatePen()
1031 if (on_phase + off_phase <= 0.00002f) { in _GdipCreatePen()
1032 on_phase = 1.0f / 10; in _GdipCreatePen()
1041 on_phase += 1; in _GdipCreatePen()
1043 if (on_phase == 0 || off_phase == 0) { in _GdipCreatePen()
1045 on_leftover += on_phase; in _GdipCreatePen()
1048 pDashArray[nCount - 2] += on_phase; in _GdipCreatePen()
1052 pDashArray[nCount++] = on_phase + on_leftover; in _GdipCreatePen()