Home
last modified time | relevance | path

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

/external/skia/src/ports/
DSkFontHost_FreeType_common.cpp531 SkPoint line_positions[2]; in colrv1_configure_skpaint() local
532 line_positions[0].fX = colrv1_paint.u.linear_gradient.p0.x; in colrv1_configure_skpaint()
533 line_positions[0].fY = -colrv1_paint.u.linear_gradient.p0.y; in colrv1_configure_skpaint()
534 line_positions[1].fX = colrv1_paint.u.linear_gradient.p1.x; in colrv1_configure_skpaint()
535 line_positions[1].fY = -colrv1_paint.u.linear_gradient.p1.y; in colrv1_configure_skpaint()
537 SkPoint& p0 = line_positions[0]; in colrv1_configure_skpaint()
538 SkPoint& p1 = line_positions[1]; in colrv1_configure_skpaint()
552 line_positions[1] = p0 + SkVectorProjection((p1 - p0), perpendicular_to_p2_p0); in colrv1_configure_skpaint()
559 line_positions, colors.data(), stops.data(), stops.size(), in colrv1_configure_skpaint()