Home
last modified time | relevance | path

Searched refs:corners (Results 1 – 25 of 186) sorted by relevance

12345678

/third_party/flutter/skia/tools/lua/
Dclassify_rrect_clips.lua38 local corners = "corners"
42 corners = "adjacent_" .. corners
44 corners = "opposite_" .. corners
47 corners = "corner"
50 return "circles_with_" .. numSquare .. "_square_" .. corners
52 return "ovals_with_" .. numSquare .. "_square_" .. corners
/third_party/vk-gl-cts/modules/gles2/functional/
Des2fMultisampleTests.cpp678 Vec2 corners[4] = in iterate() local
696 renderTriangle(corners[(0+quadNdx) % 4] + center, in iterate()
697 corners[(1+quadNdx) % 4] + center, in iterate()
698 corners[(2+quadNdx) % 4] + center, in iterate()
703 renderTriangle(corners[(3+quadNdx) % 4] + center, in iterate()
704 corners[(2+quadNdx) % 4] + center, in iterate()
705 corners[(0+quadNdx) % 4] + center, in iterate()
710 renderTriangle(corners[(0+quadNdx) % 4] + center, in iterate()
711 corners[(2+quadNdx) % 4] + center, in iterate()
712 corners[(3+quadNdx) % 4] + center, in iterate()
[all …]
/third_party/vk-gl-cts/modules/gles3/functional/
Des3fMultisampleTests.cpp840 Vec2 corners[4] = in iterate() local
858 renderTriangle(corners[(0+quadNdx) % 4] + center, in iterate()
859 corners[(1+quadNdx) % 4] + center, in iterate()
860 corners[(2+quadNdx) % 4] + center, in iterate()
865 renderTriangle(corners[(3+quadNdx) % 4] + center, in iterate()
866 corners[(2+quadNdx) % 4] + center, in iterate()
867 corners[(0+quadNdx) % 4] + center, in iterate()
872 renderTriangle(corners[(0+quadNdx) % 4] + center, in iterate()
873 corners[(2+quadNdx) % 4] + center, in iterate()
874 corners[(3+quadNdx) % 4] + center, in iterate()
[all …]
/third_party/flutter/skia/gm/
Dbleed.cpp345 SkPoint corners[] = {{0, 0}, { 0, kBottom }, { kWidth, kBottom }, {kWidth, 0} }; in onDraw() local
346 matrices[matrices.count()-1].mapPoints(corners, 4); in onDraw()
347 SkScalar y = (corners[0].fY + corners[1].fY + corners[2].fY + corners[3].fY) / 4; in onDraw()
348 SkScalar x = SkTMax(SkTMax(corners[0].fX, corners[1].fX), in onDraw()
349 SkTMax(corners[2].fX, corners[3].fX)); in onDraw()
405 SkPoint corners[] = { { 0, 0 },{ 0, kBottom },{ kWidth, kBottom },{ kWidth, 0 } }; in onDraw() local
406 matrices[m].mapPoints(corners, 4); in onDraw()
407 SkScalar x = kBlockSize + SkTMax(SkTMax(corners[0].fX, corners[1].fX), in onDraw()
408 SkTMax(corners[2].fX, corners[3].fX)); in onDraw()
/third_party/flutter/skia/docs/examples/
DRect_toQuad.cpp8 SkPoint corners[4]; in draw() local
9 rect.toQuad(corners); in draw()
12 for (auto corner : corners) { in draw()
DRRect_dump_2.cpp10 const SkPoint corners[] = { in draw() local
17 copy.setRectRadii(bounds, corners); in draw()
DRRect_dumpHex.cpp13 const SkPoint corners[] = { in draw() local
20 copy.setRectRadii(bounds, corners); in draw()
DRRect_setRectRadii.cpp16 SkVector corners[] = {{15, 17}, {17, 19}, {19, 15}, {15, 15}}; in draw() local
17 rrect.setRectRadii({20, 20, 100, 100}, corners); in draw()
DRRect_Corner.cpp10 SkVector corners[] = {{25, 17}, {17, 19}, {19, 15}, {15, 15}}; in draw() local
11 rrect.setRectRadii({30, 10, 100, 60}, corners); in draw()
/third_party/skia/docs/examples/
DRect_toQuad.cpp8 SkPoint corners[4]; in draw() local
9 rect.toQuad(corners); in draw()
12 for (auto corner : corners) { in draw()
DRRect_dump_2.cpp10 const SkPoint corners[] = { in draw() local
17 copy.setRectRadii(bounds, corners); in draw()
DRRect_dumpHex.cpp13 const SkPoint corners[] = { in draw() local
20 copy.setRectRadii(bounds, corners); in draw()
DRRect_setRectRadii.cpp16 SkVector corners[] = {{15, 17}, {17, 19}, {19, 15}, {15, 15}}; in draw() local
17 rrect.setRectRadii({20, 20, 100, 100}, corners); in draw()
DRRect_Corner.cpp10 SkVector corners[] = {{25, 17}, {17, 19}, {19, 15}, {15, 15}}; in draw() local
11 rrect.setRectRadii({30, 10, 100, 60}, corners); in draw()
/third_party/skia/src/core/
DSkGlyphRunPainter.cpp149 SkPoint corners[4]; in drawForBitmapDevice() local
155 runMatrix.mapRectToQuad(corners, rect); in drawForBitmapDevice()
157 SkScalar scale = (corners[1] - corners[0]).length() / rect.width(); in drawForBitmapDevice()
160 scale = (corners[2] - corners[1]).length() / rect.height(); in drawForBitmapDevice()
163 scale = (corners[3] - corners[2]).length() / rect.width(); in drawForBitmapDevice()
166 scale = (corners[0] - corners[3]).length() / rect.height(); in drawForBitmapDevice()
/third_party/skia/gm/
Dbleed.cpp238 SkPoint corners[] = {{0, 0}, {0, kBottom}, {kWidth, kBottom}, {kWidth, 0}}; in onDraw() local
239 matrices.back().mapPoints(corners, 4); in onDraw()
240 m.setTranslate(std::max({corners[0].fX, corners[1].fX, corners[2].fX, corners[3].fX}), in onDraw()
241 (corners[0].fY + corners[1].fY + corners[2].fY + corners[3].fY) / 4); in onDraw()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_tracing/
DvktRayTracingShaderBindingTableTests.cpp222 std::vector<tcu::Vec3> corners; in initBottomAccelerationStructures() local
228 corners.push_back(tcu::Vec3((float)x, (float)y, 0.0f)); in initBottomAccelerationStructures()
232 rnd.shuffle(begin(corners), end(corners)); in initBottomAccelerationStructures()
240 for (size_t cornerNdx = 0; cornerNdx < corners.size(); cornerNdx += HIT_GEOMETRY_COUNT) in initBottomAccelerationStructures()
243 …size_t geometryCount = std::min(corners.size() - cornerNdx, size_t(HIT_GEOMETRY_COU… in initBottomAccelerationStructures()
248 geometry->addVertex(corners[idx] + v0); in initBottomAccelerationStructures()
249 geometry->addVertex(corners[idx] + v1); in initBottomAccelerationStructures()
250 geometry->addVertex(corners[idx] + v2); in initBottomAccelerationStructures()
251 geometry->addVertex(corners[idx] + v2); in initBottomAccelerationStructures()
252 geometry->addVertex(corners[idx] + v1); in initBottomAccelerationStructures()
[all …]
/third_party/skia/third_party/externals/freetype/src/sfnt/
Dttcolr.c836 FT_Vector corners[4]; in tt_face_get_color_glyph_clipbox() local
895 corners[0].x = font_clip_box.xMin; in tt_face_get_color_glyph_clipbox()
896 corners[1].x = font_clip_box.xMin; in tt_face_get_color_glyph_clipbox()
897 corners[2].x = font_clip_box.xMax; in tt_face_get_color_glyph_clipbox()
898 corners[3].x = font_clip_box.xMax; in tt_face_get_color_glyph_clipbox()
900 corners[0].y = font_clip_box.yMin; in tt_face_get_color_glyph_clipbox()
901 corners[1].y = font_clip_box.yMax; in tt_face_get_color_glyph_clipbox()
902 corners[2].y = font_clip_box.yMax; in tt_face_get_color_glyph_clipbox()
903 corners[3].y = font_clip_box.yMin; in tt_face_get_color_glyph_clipbox()
908 FT_Vector_Transform( &corners[j], in tt_face_get_color_glyph_clipbox()
[all …]
/third_party/freetype/src/sfnt/
Dttcolr.c846 FT_Vector corners[4]; in tt_face_get_color_glyph_clipbox() local
926 corners[0].x = font_clip_box.xMin; in tt_face_get_color_glyph_clipbox()
927 corners[1].x = font_clip_box.xMin; in tt_face_get_color_glyph_clipbox()
928 corners[2].x = font_clip_box.xMax; in tt_face_get_color_glyph_clipbox()
929 corners[3].x = font_clip_box.xMax; in tt_face_get_color_glyph_clipbox()
931 corners[0].y = font_clip_box.yMin; in tt_face_get_color_glyph_clipbox()
932 corners[1].y = font_clip_box.yMax; in tt_face_get_color_glyph_clipbox()
933 corners[2].y = font_clip_box.yMax; in tt_face_get_color_glyph_clipbox()
934 corners[3].y = font_clip_box.yMin; in tt_face_get_color_glyph_clipbox()
939 FT_Vector_Transform( &corners[j], in tt_face_get_color_glyph_clipbox()
[all …]
/third_party/vk-gl-cts/framework/referencerenderer/
DrrRasterizer.cpp321 } corners[] = in doesLineSegmentExitDiamond() local
330 for (int ndx = 0; ndx < DE_LENGTH_OF_ARRAY(corners); ++ndx) in doesLineSegmentExitDiamond()
332 const tcu::Vector<deInt64,2> p = diamondCenter + corners[ndx].dp; in doesLineSegmentExitDiamond()
341 if (corners[ndx].lineBehavior == DiamondCorners::CORNER_EDGE_CASE_HIT) in doesLineSegmentExitDiamond()
345 if (corners[ndx].lineBehavior == DiamondCorners::CORNER_EDGE_CASE_HIT_FIRST_QUARTER && in doesLineSegmentExitDiamond()
350 if (corners[ndx].lineBehavior == DiamondCorners::CORNER_EDGE_CASE_HIT_SECOND_QUARTER && in doesLineSegmentExitDiamond()
356 if (lineInCornerAngleRange(line, corners[ndx].dp)) in doesLineSegmentExitDiamond()
358 const bool startIsInside = corners[ndx].pointInclusive || p != line.m_v0; in doesLineSegmentExitDiamond()
359 const bool endIsOutside = !corners[ndx].pointInclusive || p != line.m_v1; in doesLineSegmentExitDiamond()
369 if (corners[ndx].endBehavior == DiamondCorners::CORNER_END_CASE_DIRECTION || in doesLineSegmentExitDiamond()
[all …]
/third_party/rust/crates/cxx/book/diagram/
Doverview.tex22 \node[draw, rounded corners=5, inner xsep=30pt, inner ysep=2pt]
24 \node[draw, rounded corners, inner xsep=10pt, inner ysep=6pt, text depth=1pt]
26 \node[draw, rounded corners, inner xsep=10pt, inner ysep=6pt, text depth=1pt]
/third_party/skia/samplecode/
DSampleDegenerateQuads.cpp64 static SkScalar get_area_coverage(const bool edgeAA[4], const SkPoint corners[4], in get_area_coverage()
67 shape.addPoly(corners, 4, true); in get_area_coverage()
94 SkPoint e0 = corners[i]; in get_area_coverage()
95 SkPoint e1 = corners[(i + 1) % 4]; in get_area_coverage()
117 static SkScalar get_edge_dist_coverage(const bool edgeAA[4], const SkPoint corners[4], in get_edge_dist_coverage()
126 SkScalar d = signed_distance(corners[i], outsetLines[j * 2], outsetLines[j * 2 + 1]); in get_edge_dist_coverage()
/third_party/flutter/skia/samplecode/
DSampleDegenerateQuads.cpp58 static SkScalar get_area_coverage(const bool edgeAA[4], const SkPoint corners[4], in get_area_coverage()
61 shape.addPoly(corners, 4, true); in get_area_coverage()
88 SkPoint e0 = corners[i]; in get_area_coverage()
89 SkPoint e1 = corners[(i + 1) % 4]; in get_area_coverage()
111 static SkScalar get_edge_dist_coverage(const bool edgeAA[4], const SkPoint corners[4], in get_edge_dist_coverage()
120 SkScalar d = signed_distance(corners[i], outsetLines[j * 2], outsetLines[j * 2 + 1]); in get_edge_dist_coverage()
/third_party/flutter/flutter/packages/flutter/lib/src/material/
Darc.dart212 /// A [Tween] that interpolates a [Rect] by having its opposite corners follow
216 /// growing or shrinking linearly, opposite corners of the rectangle follow arcs
219 /// Specifically, the rectangle corners whose diagonals are closest to the overall
276 /// The path of the corresponding [begin], [end] rectangle corners that lead
287 /// The path of the corresponding [begin], [end] rectangle corners that trail
341 /// its opposite corners follow circular arcs.
/third_party/skia/third_party/externals/angle2/src/libANGLE/
Dangletypes.h60 explicit constexpr RectangleImpl(const T corners[4]) in RectangleImpl()
61 : x(corners[0]), in RectangleImpl()
62 y(corners[1]), in RectangleImpl()
63 width(corners[2] - corners[0]), in RectangleImpl()
64 height(corners[3] - corners[1]) in RectangleImpl()

12345678