Home
last modified time | relevance | path

Searched refs:stroked (Results 1 - 2 of 2) sorted by relevance

/third_party/skia/src/gpu/ops/
H A DShadowRRectOp.cpp40 // For stroked circles, we use two nested octagons.
60 int circle_type_to_vert_count(bool stroked) { in circle_type_to_vert_count() argument
61 return stroked ? kVertsPerStrokeCircle : kVertsPerFillCircle; in circle_type_to_vert_count()
64 int circle_type_to_index_count(bool stroked) { in circle_type_to_index_count() argument
65 return stroked ? kIndicesPerStrokeCircle : kIndicesPerFillCircle; in circle_type_to_index_count()
68 const uint16_t* circle_type_to_indices(bool stroked) { in circle_type_to_indices() argument
69 return stroked ? gStrokeCircleIndices : gFillCircleIndices; in circle_type_to_indices()
133 // we place this at the end so that we can skip these indices when rendering as stroked
487 // Effectively this is an additional stroked rrect, with its in fillInRRectVerts()
H A DGrOvalOpFactory.cpp89 b->addBool(fStroke, "stroked" );
561 b->addBool(fStroke, "stroked");
633 // For stroked ellipses, we use the full ellipse equation (x^2/a^2 + y^2/b^2 = 1)
735 * specified as a 2D offset from center for both the outer and inner paths (if stroked). The
943 // For stroked circles, we use two nested octagons.
991 static int circle_type_to_vert_count(bool stroked) {
992 return stroked ? kVertsPerStrokeCircle : kVertsPerFillCircle;
995 static int circle_type_to_index_count(bool stroked) {
996 return stroked ? kIndicesPerStrokeCircle : kIndicesPerFillCircle;
999 static const uint16_t* circle_type_to_indices(bool stroked) {
[all...]

Completed in 4 milliseconds