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.cpp1072 float on_phase = pGraphState->m_DashArray[i]; in _GdipCreatePen() local
1075 off_phase = on_phase; in _GdipCreatePen()
1078 on_phase /= width; in _GdipCreatePen()
1080 if (on_phase + off_phase <= 0.00002f) { in _GdipCreatePen()
1081 on_phase = 1.0f / 10; in _GdipCreatePen()
1089 on_phase += 1; in _GdipCreatePen()
1091 if (on_phase == 0 || off_phase == 0) { in _GdipCreatePen()
1093 on_leftover += on_phase; in _GdipCreatePen()
1096 pDashArray[nCount - 2] += on_phase; in _GdipCreatePen()
1100 pDashArray[nCount++] = on_phase + on_leftover; in _GdipCreatePen()