Home
last modified time | relevance | path

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

/external/pdfium/core/fxge/win32/
Dfx_win32_gdipext.cpp1023 FX_FLOAT on_phase = pGraphState->m_DashArray[i]; in _GdipCreatePen() local
1026 off_phase = on_phase; in _GdipCreatePen()
1030 on_phase /= width; in _GdipCreatePen()
1032 if (on_phase + off_phase <= 0.00002f) { in _GdipCreatePen()
1033 on_phase = 1.0f / 10; in _GdipCreatePen()
1042 on_phase += 1; in _GdipCreatePen()
1044 if (on_phase == 0 || off_phase == 0) { in _GdipCreatePen()
1046 on_leftover += on_phase; in _GdipCreatePen()
1049 pDashArray[nCount - 2] += on_phase; in _GdipCreatePen()
1053 pDashArray[nCount++] = on_phase + on_leftover; in _GdipCreatePen()