Home
last modified time | relevance | path

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

12345678

/third_party/boost/boost/geometry/algorithms/detail/
Dassign_box_corners.hpp78 inline void assign_box_corners_oriented(Box const& box, Range& corners) in assign_box_corners_oriented() argument
84 range::at(corners, 0), range::at(corners, 1), in assign_box_corners_oriented()
85 range::at(corners, 3), range::at(corners, 2)); in assign_box_corners_oriented()
91 range::at(corners, 0), range::at(corners, 3), in assign_box_corners_oriented()
92 range::at(corners, 1), range::at(corners, 2)); in assign_box_corners_oriented()
/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/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/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/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/boost/libs/geometry/doc/generated/
Dbuffer_join_miter.qbk19 Let the buffer create sharp corners.
22 …hm. It creates a sharp corners around each convex vertex. It can be applied for (multi)linestrings…
36 …* double]: ['miter_limit]: The miter limit, to avoid excessively long miters around sharp corners
Dbuffer_join_round.qbk19 Let the buffer create rounded corners.
22 This strategy can be used as JoinStrategy for the buffer algorithm. It creates a rounded corners ar…
/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/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/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.

12345678