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.cpp436 float on_phase = pGraphState->m_DashArray[i]; in GdipCreatePenImpl() local
439 off_phase = on_phase; in GdipCreatePenImpl()
442 on_phase /= width; in GdipCreatePenImpl()
444 if (on_phase + off_phase <= 0.00002f) { in GdipCreatePenImpl()
445 on_phase = 1.0f / 10; in GdipCreatePenImpl()
453 on_phase += 1; in GdipCreatePenImpl()
455 if (on_phase == 0 || off_phase == 0) { in GdipCreatePenImpl()
457 on_leftover += on_phase; in GdipCreatePenImpl()
460 pDashArray[nCount - 2] += on_phase; in GdipCreatePenImpl()
464 pDashArray[nCount++] = on_phase + on_leftover; in GdipCreatePenImpl()