Searched refs:colrv1_paint (Results 1 – 1 of 1) sorted by relevance
492 FT_COLR_Paint colrv1_paint, SkPaint* paint) { in colrv1_configure_skpaint() argument516 switch (colrv1_paint.format) { in colrv1_configure_skpaint()519 SkColorSetARGB(palette[colrv1_paint.u.solid.color.palette_index].alpha * in colrv1_configure_skpaint()520 SkColrV1AlphaToFloat(colrv1_paint.u.solid.color.alpha), in colrv1_configure_skpaint()521 palette[colrv1_paint.u.solid.color.palette_index].red, in colrv1_configure_skpaint()522 palette[colrv1_paint.u.solid.color.palette_index].green, in colrv1_configure_skpaint()523 palette[colrv1_paint.u.solid.color.palette_index].blue); in colrv1_configure_skpaint()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()[all …]