/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/skia/gm/ |
H A D | stroke_rect_shader.cpp | 29 constexpr SkRect kRect {0, 0, 100, 100}; variable 30 constexpr SkPoint kPts[] {{kRect.fLeft, kRect.fTop}, {kRect.fRight, kRect.fBottom}}; 39 canvas->translate(kRect.centerX(), kRect.centerY()); 49 canvas->drawRect(kRect, paint); 50 canvas->translate(kRect.width() + kPad, 0); 53 canvas->drawRect(kRect, paint); 54 canvas->translate(kRect.width() + kPad, 0); 58 canvas->drawRect(kRect, paint); 59 canvas->translate(kRect.width() + kPad, 0); 62 canvas->drawRect(kRect, paint); [all …]
|
H A D | dstreadshuffle.cpp | 59 const SkRect kRect = SkRect::MakeXYWH(0, 0, 75.f, 85.f); in drawShape() local 62 canvas->drawCircle(kRect.centerX(), kRect.centerY(), kRect.width() / 2.f, *paint); in drawShape() 65 canvas->drawRoundRect(kRect, 15.f, 15.f, *paint); in drawShape() 68 canvas->drawRect(kRect, *paint); in drawShape() 73 kRect.toQuad(points); in drawShape()
|
H A D | tessellation.cpp | 39 constexpr static SkRect kRect = {20.5f, 340.5f, 640.5f, 480.5f}; variable 41 constexpr static int kWidth = (int)kRect.fRight + 21; 42 constexpr static int kHeight = (int)kRect.fBottom + 21; 262 })", kRect.left(), kRect.top(), kRect.right(), kRect.bottom()); in getTessEvaluationShaderGLSL() 389 canvas->drawRect(kRect.makeOutset(1.5f, 1.5f), borderPaint); in onDraw()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/skia/gm/ |
H A D | stroke_rect_shader.cpp | 29 constexpr SkRect kRect {0, 0, 100, 100}; variable 30 constexpr SkPoint kPts[] {{kRect.fLeft, kRect.fTop}, {kRect.fRight, kRect.fBottom}}; 39 canvas->translate(kRect.centerX(), kRect.centerY()); 49 canvas->drawRect(kRect, paint); 50 canvas->translate(kRect.width() + kPad, 0); 53 canvas->drawRect(kRect, paint); 54 canvas->translate(kRect.width() + kPad, 0); 58 canvas->drawRect(kRect, paint); 59 canvas->translate(kRect.width() + kPad, 0); 62 canvas->drawRect(kRect, paint); [all …]
|
H A D | dstreadshuffle.cpp | 59 const SkRect kRect = SkRect::MakeXYWH(0, 0, 75.f, 85.f); in drawShape() local 62 canvas->drawCircle(kRect.centerX(), kRect.centerY(), kRect.width() / 2.f, *paint); in drawShape() 65 canvas->drawRoundRect(kRect, 15.f, 15.f, *paint); in drawShape() 68 canvas->drawRect(kRect, *paint); in drawShape() 73 kRect.toQuad(points); in drawShape()
|
H A D | tessellation.cpp | 39 constexpr static SkRect kRect = {20.5f, 340.5f, 640.5f, 480.5f}; variable 41 constexpr static int kWidth = (int)kRect.fRight + 21; 42 constexpr static int kHeight = (int)kRect.fBottom + 21; 274 })", kRect.left(), kRect.top(), kRect.right(), kRect.bottom()); in getTessEvaluationShaderGLSL() 403 canvas->drawRect(kRect.makeOutset(1.5f, 1.5f), borderPaint); in onDraw()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/skia/tests/ |
H A D | RoundRectTest.cpp | 1111 kA, kB, kRect enumerator 1193 verify_success(reporter, a, b, kRect, kRect, kRect, kRect); in test_conservative_intersection() 1195 verify_success(reporter, a.makeOffset(6.f, 0.f), b, kA, kRect, kRect, kA); in test_conservative_intersection() 1214 verify_success(reporter, c, cT, kA, kA, kRect, kRect); in test_conservative_intersection() 1215 verify_success(reporter, cT, c, kB, kB, kRect, kRect); in test_conservative_intersection() 1217 verify_success(reporter, c, cB, kRect, kRect, kA, kA); in test_conservative_intersection() 1218 verify_success(reporter, cB, c, kRect, kRect, kB, kB); in test_conservative_intersection() 1220 verify_success(reporter, c, cL, kA, kRect, kRect, kA); in test_conservative_intersection() 1221 verify_success(reporter, cL, c, kB, kRect, kRect, kB); in test_conservative_intersection() 1223 verify_success(reporter, c, cR, kRect, kA, kA, kRect); in test_conservative_intersection() [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/blink/renderer/core/frame/ |
H A D | document_loading_rendering_test.cc | 248 EXPECT_TRUE(frame1.Contains(SimCanvas::kRect, "white")); in TEST_F() 274 EXPECT_TRUE(frame2.Contains(SimCanvas::kRect, "white")); in TEST_F() 287 EXPECT_TRUE(frame3.Contains(SimCanvas::kRect, "white")); in TEST_F() 290 EXPECT_TRUE(frame3.Contains(SimCanvas::kRect, "pink")); in TEST_F() 292 EXPECT_TRUE(frame3.Contains(SimCanvas::kRect, "green")); in TEST_F() 293 EXPECT_TRUE(frame3.Contains(SimCanvas::kRect, "blue")); in TEST_F() 294 EXPECT_TRUE(frame3.Contains(SimCanvas::kRect, "red")); in TEST_F() 342 EXPECT_TRUE(frame1.Contains(SimCanvas::kRect, "red")); in TEST_F() 343 EXPECT_FALSE(frame1.Contains(SimCanvas::kRect, "blue")); in TEST_F() 356 EXPECT_TRUE(frame2.Contains(SimCanvas::kRect, "red")); in TEST_F() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/blink/renderer/core/frame/ |
H A D | document_loading_rendering_test.cc | 248 EXPECT_TRUE(frame1.Contains(SimCanvas::kRect, "white")); in TEST_F() 274 EXPECT_TRUE(frame2.Contains(SimCanvas::kRect, "white")); in TEST_F() 287 EXPECT_TRUE(frame3.Contains(SimCanvas::kRect, "white")); in TEST_F() 290 EXPECT_TRUE(frame3.Contains(SimCanvas::kRect, "pink")); in TEST_F() 292 EXPECT_TRUE(frame3.Contains(SimCanvas::kRect, "green")); in TEST_F() 293 EXPECT_TRUE(frame3.Contains(SimCanvas::kRect, "blue")); in TEST_F() 294 EXPECT_TRUE(frame3.Contains(SimCanvas::kRect, "red")); in TEST_F() 341 EXPECT_TRUE(frame1.Contains(SimCanvas::kRect, "red")); in TEST_F() 342 EXPECT_FALSE(frame1.Contains(SimCanvas::kRect, "blue")); in TEST_F() 355 EXPECT_TRUE(frame2.Contains(SimCanvas::kRect, "red")); in TEST_F() [all …]
|
/dports/audio/muse-sequencer/muse-4.0.0/src/muse/widgets/ |
H A D | knob_and_meter.cpp | 142 aRect.setRect(kRect.x() + d_borderWidth, in drawKnob() 143 kRect.y() + d_borderWidth, in drawKnob() 144 kRect.width() - 2*d_borderWidth, in drawKnob() 145 kRect.height() - 2*d_borderWidth); in drawKnob() 147 int width = kRect.width(); in drawKnob() 148 int height = kRect.height(); in drawKnob()
|
H A D | knob.cpp | 216 repaint(kRect); in valueChange() 392 r = kRect.width() / 2; in getScrollMode() 394 dx = kRect.x() + r - p.x(); in getScrollMode() 395 dy = kRect.y() + r - p.y(); in getScrollMode() 458 kRect.setRect(x, y, width, width); in resizeEvent() 460 x = kRect.x() - d_scaleDist; in resizeEvent() 461 y = kRect.y() - d_scaleDist; in resizeEvent() 497 drawKnob(&p, kRect); in paintEvent() 530 radius = kRect.width() / 2 - d_borderWidth + d_shineWidth; in drawMarker() 532 int ym = kRect.y() + radius + d_borderWidth - d_shineWidth; in drawMarker() [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/skia/src/gpu/effects/generated/ |
H A D | GrConfigConversionEffect.h | 77 static const SkRect kRect = SkRect::MakeIWH(kSize, kSize); in TestForPreservingPMConversions() local 96 readRTC->fillRectToRect(GrNoClip(), std::move(paint1), GrAA::kNo, SkMatrix::I(), kRect, in TestForPreservingPMConversions() 97 kRect); in TestForPreservingPMConversions() 111 tempRTC->fillRectToRect(GrNoClip(), std::move(paint2), GrAA::kNo, SkMatrix::I(), kRect, in TestForPreservingPMConversions() 112 kRect); in TestForPreservingPMConversions() 119 readRTC->fillRectToRect(GrNoClip(), std::move(paint3), GrAA::kNo, SkMatrix::I(), kRect, in TestForPreservingPMConversions() 120 kRect); in TestForPreservingPMConversions()
|
/dports/lang/spidermonkey60/firefox-60.9.0/gfx/skia/skia/src/gpu/effects/ |
H A D | GrConfigConversionEffect.h | 74 static const SkRect kRect = SkRect::MakeIWH(kSize, kSize); in TestForPreservingPMConversions() local 92 readRTC->fillRectToRect(GrNoClip(), std::move(paint1), GrAA::kNo, SkMatrix::I(), kRect, in TestForPreservingPMConversions() 93 kRect); in TestForPreservingPMConversions() 106 tempRTC->fillRectToRect(GrNoClip(), std::move(paint2), GrAA::kNo, SkMatrix::I(), kRect, in TestForPreservingPMConversions() 107 kRect); in TestForPreservingPMConversions() 113 readRTC->fillRectToRect(GrNoClip(), std::move(paint3), GrAA::kNo, SkMatrix::I(), kRect, in TestForPreservingPMConversions() 114 kRect); in TestForPreservingPMConversions()
|
H A D | GrConfigConversionEffect.fp | 70 static const SkRect kRect = SkRect::MakeIWH(kSize, kSize); 88 readRTC->fillRectToRect(GrNoClip(), std::move(paint1), GrAA::kNo, SkMatrix::I(), kRect, 89 kRect); 102 tempRTC->fillRectToRect(GrNoClip(), std::move(paint2), GrAA::kNo, SkMatrix::I(), kRect, 103 kRect); 109 readRTC->fillRectToRect(GrNoClip(), std::move(paint3), GrAA::kNo, SkMatrix::I(), kRect, 110 kRect);
|
/dports/www/firefox-esr/firefox-91.8.0/gfx/skia/skia/src/gpu/effects/generated/ |
H A D | GrConfigConversionEffect.h | 78 static const SkRect kRect = SkRect::MakeIWH(kSize, kSize); in TestForPreservingPMConversions() local 96 readRTC->fillRectToRect(GrNoClip(), std::move(paint1), GrAA::kNo, SkMatrix::I(), kRect, in TestForPreservingPMConversions() 97 kRect); in TestForPreservingPMConversions() 110 tempRTC->fillRectToRect(GrNoClip(), std::move(paint2), GrAA::kNo, SkMatrix::I(), kRect, in TestForPreservingPMConversions() 111 kRect); in TestForPreservingPMConversions() 117 readRTC->fillRectToRect(GrNoClip(), std::move(paint3), GrAA::kNo, SkMatrix::I(), kRect, in TestForPreservingPMConversions() 118 kRect); in TestForPreservingPMConversions()
|
/dports/www/firefox/firefox-99.0/gfx/skia/skia/src/gpu/effects/generated/ |
H A D | GrConfigConversionEffect.h | 78 static const SkRect kRect = SkRect::MakeIWH(kSize, kSize); in TestForPreservingPMConversions() local 96 readRTC->fillRectToRect(GrNoClip(), std::move(paint1), GrAA::kNo, SkMatrix::I(), kRect, in TestForPreservingPMConversions() 97 kRect); in TestForPreservingPMConversions() 110 tempRTC->fillRectToRect(GrNoClip(), std::move(paint2), GrAA::kNo, SkMatrix::I(), kRect, in TestForPreservingPMConversions() 111 kRect); in TestForPreservingPMConversions() 117 readRTC->fillRectToRect(GrNoClip(), std::move(paint3), GrAA::kNo, SkMatrix::I(), kRect, in TestForPreservingPMConversions() 118 kRect); in TestForPreservingPMConversions()
|
/dports/mail/thunderbird/thunderbird-91.8.0/gfx/skia/skia/src/gpu/effects/generated/ |
H A D | GrConfigConversionEffect.h | 78 static const SkRect kRect = SkRect::MakeIWH(kSize, kSize); in TestForPreservingPMConversions() local 96 readRTC->fillRectToRect(GrNoClip(), std::move(paint1), GrAA::kNo, SkMatrix::I(), kRect, in TestForPreservingPMConversions() 97 kRect); in TestForPreservingPMConversions() 110 tempRTC->fillRectToRect(GrNoClip(), std::move(paint2), GrAA::kNo, SkMatrix::I(), kRect, in TestForPreservingPMConversions() 111 kRect); in TestForPreservingPMConversions() 117 readRTC->fillRectToRect(GrNoClip(), std::move(paint3), GrAA::kNo, SkMatrix::I(), kRect, in TestForPreservingPMConversions() 118 kRect); in TestForPreservingPMConversions()
|
/dports/lang/spidermonkey78/firefox-78.9.0/gfx/skia/skia/src/gpu/effects/generated/ |
H A D | GrConfigConversionEffect.h | 78 static const SkRect kRect = SkRect::MakeIWH(kSize, kSize); in TestForPreservingPMConversions() local 96 readRTC->fillRectToRect(GrNoClip(), std::move(paint1), GrAA::kNo, SkMatrix::I(), kRect, in TestForPreservingPMConversions() 97 kRect); in TestForPreservingPMConversions() 110 tempRTC->fillRectToRect(GrNoClip(), std::move(paint2), GrAA::kNo, SkMatrix::I(), kRect, in TestForPreservingPMConversions() 111 kRect); in TestForPreservingPMConversions() 117 readRTC->fillRectToRect(GrNoClip(), std::move(paint3), GrAA::kNo, SkMatrix::I(), kRect, in TestForPreservingPMConversions() 118 kRect); in TestForPreservingPMConversions()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/skia/src/gpu/geometry/ |
H A D | GrShape.cpp | 21 case Type::kRect: in operator =() 189 this->setType(Type::kRect); in simplifyRect() 241 SkASSERT((fType == Type::kRect || fType == Type::kRRect) || in simplify() 257 case Type::kRect: in simplify() 290 case Type::kRect: in conservativeContains() 315 case Type::kRect: in conservativeContains() 328 case Type::kRect: // fall through in closed() 346 case Type::kRect: // fall through in convex() 371 case Type::kRect: in bounds() 412 case Type::kRect: in segmentMask() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/skia/src/gpu/effects/generated/ |
H A D | GrConfigConversionEffect.cpp | 140 static const SkRect kRect = SkRect::MakeIWH(kSize, kSize); in TestForPreservingPMConversions() local 152 readRTC->fillRectToRect(nullptr, std::move(paint1), GrAA::kNo, SkMatrix::I(), kRect, kRect); in TestForPreservingPMConversions() 167 tempRTC->fillRectToRect(nullptr, std::move(paint2), GrAA::kNo, SkMatrix::I(), kRect, kRect); in TestForPreservingPMConversions() 175 readRTC->fillRectToRect(nullptr, std::move(paint3), GrAA::kNo, SkMatrix::I(), kRect, kRect); in TestForPreservingPMConversions()
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/ui/gfx/mojom/ |
H A D | rrect_f_mojom_traits.h | 21 case gfx::RRectF::Type::kRect: in GfxRRectFTypeToMojo() 22 return gfx::mojom::RRectFType::kRect; in GfxRRectFTypeToMojo() 40 case gfx::mojom::RRectFType::kRect: in MojoRRectFTypeToGfx() 41 return gfx::RRectF::Type::kRect; in MojoRRectFTypeToGfx() 86 if (type <= gfx::RRectF::Type::kRect) {
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/ui/gfx/mojom/ |
H A D | rrect_f_mojom_traits.h | 21 case gfx::RRectF::Type::kRect: in GfxRRectFTypeToMojo() 22 return gfx::mojom::RRectFType::kRect; in GfxRRectFTypeToMojo() 40 case gfx::mojom::RRectFType::kRect: in MojoRRectFTypeToGfx() 41 return gfx::RRectF::Type::kRect; in MojoRRectFTypeToGfx() 86 if (type <= gfx::RRectF::Type::kRect) {
|
/dports/www/firefox-esr/firefox-91.8.0/gfx/skia/skia/src/core/ |
H A D | SkClipStack.cpp | 26 case DeviceSpaceType::kRect: // Rect uses rrect in Element() 68 case DeviceSpaceType::kRect: in operator ==() 81 case DeviceSpaceType::kRect: // fallthrough in getBounds() 96 case DeviceSpaceType::kRect: in contains() 112 case DeviceSpaceType::kRect: in contains() 129 case DeviceSpaceType::kRect: in invertShapeFillType() 168 fDeviceSpaceType = DeviceSpaceType::kRect; in initRect() 183 fDeviceSpaceType = DeviceSpaceType::kRect; in initRRect() 228 case DeviceSpaceType::kRect: in asDeviceSpacePath() 482 case DeviceSpaceType::kRect: in updateBoundAndGenID() [all …]
|
/dports/lang/spidermonkey78/firefox-78.9.0/gfx/skia/skia/src/core/ |
H A D | SkClipStack.cpp | 26 case DeviceSpaceType::kRect: // Rect uses rrect in Element() 68 case DeviceSpaceType::kRect: in operator ==() 81 case DeviceSpaceType::kRect: // fallthrough in getBounds() 96 case DeviceSpaceType::kRect: in contains() 112 case DeviceSpaceType::kRect: in contains() 129 case DeviceSpaceType::kRect: in invertShapeFillType() 168 fDeviceSpaceType = DeviceSpaceType::kRect; in initRect() 183 fDeviceSpaceType = DeviceSpaceType::kRect; in initRRect() 228 case DeviceSpaceType::kRect: in asDeviceSpacePath() 482 case DeviceSpaceType::kRect: in updateBoundAndGenID() [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/skia/src/core/ |
H A D | SkClipStack.cpp | 25 case DeviceSpaceType::kRect: // Rect uses rrect in Element() 67 case DeviceSpaceType::kRect: in operator ==() 80 case DeviceSpaceType::kRect: // fallthrough in getBounds() 95 case DeviceSpaceType::kRect: in contains() 111 case DeviceSpaceType::kRect: in contains() 128 case DeviceSpaceType::kRect: in invertShapeFillType() 167 fDeviceSpaceType = DeviceSpaceType::kRect; in initRect() 182 fDeviceSpaceType = DeviceSpaceType::kRect; in initRRect() 227 case DeviceSpaceType::kRect: in asDeviceSpacePath() 481 case DeviceSpaceType::kRect: in updateBoundAndGenID() [all …]
|