/third_party/flutter/skia/gm/ |
D | collapsepaths.cpp | 118 path.moveTo(SkDoubleToScalar( 13.25), SkDoubleToScalar(197.75)); in test_collapse9() 119 path.lineTo(SkDoubleToScalar( 34.75), SkDoubleToScalar(174.75)); in test_collapse9() 120 path.lineTo(SkDoubleToScalar( 99.0364), SkDoubleToScalar(140.364)); in test_collapse9() 121 path.lineTo(SkDoubleToScalar( 99.25), SkDoubleToScalar(140.25)); in test_collapse9() 122 path.lineTo(SkDoubleToScalar(100.167), SkDoubleToScalar(140.096)); in test_collapse9() 123 path.lineTo(SkDoubleToScalar(130.50), SkDoubleToScalar(135.00)); in test_collapse9() 124 path.moveTo(SkDoubleToScalar( 39.25), SkDoubleToScalar( 47.50)); in test_collapse9() 125 path.lineTo(SkDoubleToScalar(100.167), SkDoubleToScalar(140.096)); in test_collapse9() 126 path.lineTo(SkDoubleToScalar( 99.0364), SkDoubleToScalar(140.364)); in test_collapse9() 127 path.lineTo(SkDoubleToScalar( 94.25), SkDoubleToScalar(141.50)); in test_collapse9()
|
D | imagefilterstransformed.cpp | 101 canvas->scale(SkDoubleToScalar(0.8), SkDoubleToScalar(0.8)); in onDraw() 105 canvas->skew(SkDoubleToScalar(0.5), SkDoubleToScalar(0.2)); in onDraw() 108 canvas->drawOval(SkRect::MakeXYWH(0, size * SkDoubleToScalar(0.1), in onDraw() 109 size, size * SkDoubleToScalar(0.6)), paint); in onDraw()
|
D | matriximagefilter.cpp | 51 matrix.setSkew(SkDoubleToScalar(0.5), SkDoubleToScalar(0.2));
|
/third_party/skia/gm/ |
D | collapsepaths.cpp | 118 path.moveTo(SkDoubleToScalar( 13.25), SkDoubleToScalar(197.75)); in test_collapse9() 119 path.lineTo(SkDoubleToScalar( 34.75), SkDoubleToScalar(174.75)); in test_collapse9() 120 path.lineTo(SkDoubleToScalar( 99.0364), SkDoubleToScalar(140.364)); in test_collapse9() 121 path.lineTo(SkDoubleToScalar( 99.25), SkDoubleToScalar(140.25)); in test_collapse9() 122 path.lineTo(SkDoubleToScalar(100.167), SkDoubleToScalar(140.096)); in test_collapse9() 123 path.lineTo(SkDoubleToScalar(130.50), SkDoubleToScalar(135.00)); in test_collapse9() 124 path.moveTo(SkDoubleToScalar( 39.25), SkDoubleToScalar( 47.50)); in test_collapse9() 125 path.lineTo(SkDoubleToScalar(100.167), SkDoubleToScalar(140.096)); in test_collapse9() 126 path.lineTo(SkDoubleToScalar( 99.0364), SkDoubleToScalar(140.364)); in test_collapse9() 127 path.lineTo(SkDoubleToScalar( 94.25), SkDoubleToScalar(141.50)); in test_collapse9()
|
D | imagefilterstransformed.cpp | 103 canvas->scale(SkDoubleToScalar(0.8), SkDoubleToScalar(0.8)); in onDraw() 107 canvas->skew(SkDoubleToScalar(0.5), SkDoubleToScalar(0.2)); in onDraw() 110 canvas->drawOval(SkRect::MakeXYWH(0, size * SkDoubleToScalar(0.1), in onDraw() 111 size, size * SkDoubleToScalar(0.6)), paint); in onDraw()
|
D | matriximagefilter.cpp | 51 matrix.setSkew(SkDoubleToScalar(0.5), SkDoubleToScalar(0.2));
|
/third_party/skia/src/pathops/ |
D | SkPathOpsTypes.h | 238 return AlmostEqualUlps(SkDoubleToScalar(a), SkDoubleToScalar(b)); in AlmostEqualUlps() 243 return AlmostEqualUlpsNoNormalCheck(SkDoubleToScalar(a), SkDoubleToScalar(b)); in AlmostEqualUlpsNoNormalCheck() 248 return AlmostEqualUlps_Pin(SkDoubleToScalar(a), SkDoubleToScalar(b)); in AlmostEqualUlps_Pin() 257 return NotAlmostEqualUlps(SkDoubleToScalar(a), SkDoubleToScalar(b)); in NotAlmostEqualUlps() 262 return NotAlmostEqualUlps_Pin(SkDoubleToScalar(a), SkDoubleToScalar(b)); in NotAlmostEqualUlps_Pin() 267 return NotAlmostDequalUlps(SkDoubleToScalar(a), SkDoubleToScalar(b)); in NotAlmostDequalUlps() 273 return AlmostBequalUlps(SkDoubleToScalar(a), SkDoubleToScalar(b)); in AlmostBequalUlps() 278 return AlmostPequalUlps(SkDoubleToScalar(a), SkDoubleToScalar(b)); in AlmostPequalUlps() 283 return RoughlyEqualUlps(SkDoubleToScalar(a), SkDoubleToScalar(b)); in RoughlyEqualUlps() 288 return AlmostLessUlps(SkDoubleToScalar(a), SkDoubleToScalar(b)); in AlmostLessUlps() [all …]
|
D | SkPathOpsCurve.cpp | 68 bounds->setLTRB(SkDoubleToScalar(dRect.fLeft), SkDoubleToScalar(dRect.fTop), in setConicBounds() 69 SkDoubleToScalar(dRect.fRight), SkDoubleToScalar(dRect.fBottom)); in setConicBounds() 78 bounds->setLTRB(SkDoubleToScalar(dRect.fLeft), SkDoubleToScalar(dRect.fTop), in setCubicBounds() 79 SkDoubleToScalar(dRect.fRight), SkDoubleToScalar(dRect.fBottom)); in setCubicBounds() 88 bounds->setLTRB(SkDoubleToScalar(dRect.fLeft), SkDoubleToScalar(dRect.fTop), in setQuadBounds() 89 SkDoubleToScalar(dRect.fRight), SkDoubleToScalar(dRect.fBottom)); in setQuadBounds()
|
D | SkPathOpsBounds.h | 44 if (pt.fX < fLeft) fLeft = SkDoubleToScalar(pt.fX); in add() 45 if (pt.fY < fTop) fTop = SkDoubleToScalar(pt.fY); in add() 46 if (pt.fX > fRight) fRight = SkDoubleToScalar(pt.fX); in add() 47 if (pt.fY > fBottom) fBottom = SkDoubleToScalar(pt.fY); in add()
|
/third_party/flutter/skia/src/pathops/ |
D | SkPathOpsTypes.h | 238 return AlmostEqualUlps(SkDoubleToScalar(a), SkDoubleToScalar(b)); in AlmostEqualUlps() 243 return AlmostEqualUlpsNoNormalCheck(SkDoubleToScalar(a), SkDoubleToScalar(b)); in AlmostEqualUlpsNoNormalCheck() 248 return AlmostEqualUlps_Pin(SkDoubleToScalar(a), SkDoubleToScalar(b)); in AlmostEqualUlps_Pin() 257 return NotAlmostEqualUlps(SkDoubleToScalar(a), SkDoubleToScalar(b)); in NotAlmostEqualUlps() 262 return NotAlmostEqualUlps_Pin(SkDoubleToScalar(a), SkDoubleToScalar(b)); in NotAlmostEqualUlps_Pin() 267 return NotAlmostDequalUlps(SkDoubleToScalar(a), SkDoubleToScalar(b)); in NotAlmostDequalUlps() 273 return AlmostBequalUlps(SkDoubleToScalar(a), SkDoubleToScalar(b)); in AlmostBequalUlps() 278 return AlmostPequalUlps(SkDoubleToScalar(a), SkDoubleToScalar(b)); in AlmostPequalUlps() 283 return RoughlyEqualUlps(SkDoubleToScalar(a), SkDoubleToScalar(b)); in RoughlyEqualUlps() 288 return AlmostLessUlps(SkDoubleToScalar(a), SkDoubleToScalar(b)); in AlmostLessUlps() [all …]
|
D | SkPathOpsCurve.cpp | 68 bounds->set(SkDoubleToScalar(dRect.fLeft), SkDoubleToScalar(dRect.fTop), in setConicBounds() 69 SkDoubleToScalar(dRect.fRight), SkDoubleToScalar(dRect.fBottom)); in setConicBounds() 78 bounds->set(SkDoubleToScalar(dRect.fLeft), SkDoubleToScalar(dRect.fTop), in setCubicBounds() 79 SkDoubleToScalar(dRect.fRight), SkDoubleToScalar(dRect.fBottom)); in setCubicBounds() 88 bounds->set(SkDoubleToScalar(dRect.fLeft), SkDoubleToScalar(dRect.fTop), in setQuadBounds() 89 SkDoubleToScalar(dRect.fRight), SkDoubleToScalar(dRect.fBottom)); in setQuadBounds()
|
D | SkPathOpsBounds.h | 44 if (pt.fX < fLeft) fLeft = SkDoubleToScalar(pt.fX); in add() 45 if (pt.fY < fTop) fTop = SkDoubleToScalar(pt.fY); in add() 46 if (pt.fX > fRight) fRight = SkDoubleToScalar(pt.fX); in add() 47 if (pt.fY > fBottom) fBottom = SkDoubleToScalar(pt.fY); in add()
|
D | SkPathOpsPoint.h | 52 SkVector v = {SkDoubleToScalar(fX), SkDoubleToScalar(fY)}; in asSkVector() 218 SkPoint pt = {SkDoubleToScalar(fX), SkDoubleToScalar(fY)}; in asSkPoint()
|
/third_party/skia/docs/examples/ |
D | bug767834.cpp | 1233 path.moveTo(SkDoubleToScalar(wedge.fMove[0]), SkDoubleToScalar(wedge.fMove[1])); in draw() 1234 path.lineTo(SkDoubleToScalar(wedge.fLine1[0]), SkDoubleToScalar(wedge.fLine1[1])); in draw() 1237 SkScalar start = SkDoubleToScalar(wedge.fArc1Angles[0] * 180.f / SK_ScalarPI); in draw() 1238 SkScalar end = SkDoubleToScalar(wedge.fArc1Angles[1] * 180.f / SK_ScalarPI); in draw() 1243 path.lineTo(SkDoubleToScalar(wedge.fLine2[0]), SkDoubleToScalar(wedge.fLine2[1])); in draw()
|
D | bug583299.cpp | 829 path.moveTo(SkDoubleToScalar(wedge.fMove[0]), SkDoubleToScalar(wedge.fMove[1])); in draw() 830 path.lineTo(SkDoubleToScalar(wedge.fLine1[0]), SkDoubleToScalar(wedge.fLine1[1])); in draw() 833 SkScalar start = SkDoubleToScalar(wedge.fArc1Angles[0] * 180.f / SK_ScalarPI); in draw() 834 SkScalar end = SkDoubleToScalar(wedge.fArc1Angles[1] * 180.f / SK_ScalarPI); in draw() 839 path.lineTo(SkDoubleToScalar(wedge.fLine2[0]), SkDoubleToScalar(wedge.fLine2[1])); in draw()
|
/third_party/flutter/engine/flutter/third_party/txt/src/skia/ |
D | paragraph_builder_skia.cc | 50 text_style.setFontSize(SkDoubleToScalar(txt.font_size)); in TxtToSkia() 51 text_style.setHeight(SkDoubleToScalar(txt.height)); in TxtToSkia() 59 strut_style.setFontSize(SkDoubleToScalar(txt.strut_font_size)); in TxtToSkia() 60 strut_style.setHeight(SkDoubleToScalar(txt.strut_height)); in TxtToSkia() 91 SkDoubleToScalar(txt.decoration_thickness_multiplier)); in TxtToSkia() 101 skia.setFontSize(SkDoubleToScalar(txt.font_size)); in TxtToSkia() 102 skia.setLetterSpacing(SkDoubleToScalar(txt.letter_spacing)); in TxtToSkia() 103 skia.setWordSpacing(SkDoubleToScalar(txt.word_spacing)); in TxtToSkia() 104 skia.setHeight(SkDoubleToScalar(txt.height)); in TxtToSkia()
|
/third_party/flutter/txt/src/skia/ |
D | paragraph_builder_skia.cc | 50 text_style.setFontSize(SkDoubleToScalar(txt.font_size)); in TxtToSkia() 51 text_style.setHeight(SkDoubleToScalar(txt.height)); in TxtToSkia() 60 strut_style.setFontSize(SkDoubleToScalar(txt.strut_font_size)); in TxtToSkia() 61 strut_style.setHeight(SkDoubleToScalar(txt.strut_height)); in TxtToSkia() 95 SkDoubleToScalar(txt.decoration_thickness_multiplier)); in TxtToSkia() 105 skia.setFontSize(SkDoubleToScalar(txt.font_size)); in TxtToSkia() 106 skia.setLetterSpacing(SkDoubleToScalar(txt.letter_spacing)); in TxtToSkia() 107 skia.setWordSpacing(SkDoubleToScalar(txt.word_spacing)); in TxtToSkia() 108 skia.setHeight(SkDoubleToScalar(txt.height)); in TxtToSkia()
|
/third_party/flutter/skia/tests/ |
D | PathOpsConicIntersectionTest.cpp | 129 SkScalarRoundToInt(SkDoubleToScalar(bounds.width())), in writeDPng() 130 SkScalarRoundToInt(SkDoubleToScalar(bounds.height())))); in writeDPng() 135 canvas.translate(SkDoubleToScalar(-bounds.fLeft), SkDoubleToScalar(-bounds.fTop)); in writeDPng() 166 if (!conic.chopAt(SkDoubleToScalar(t), chopped)) { in chopBothWays() 266 SkScalarRoundToInt(SkDoubleToScalar(bounds.width())), in writeFrames() 267 SkScalarRoundToInt(SkDoubleToScalar(bounds.height())))); in writeFrames() 272 canvas.translate(SkDoubleToScalar(-bounds.fLeft), SkDoubleToScalar(-bounds.fTop)); in writeFrames()
|
/third_party/skia/tests/ |
D | PathOpsConicIntersectionTest.cpp | 129 SkScalarRoundToInt(SkDoubleToScalar(bounds.width())), in writeDPng() 130 SkScalarRoundToInt(SkDoubleToScalar(bounds.height())))); in writeDPng() 135 canvas.translate(SkDoubleToScalar(-bounds.fLeft), SkDoubleToScalar(-bounds.fTop)); in writeDPng() 166 if (!conic.chopAt(SkDoubleToScalar(t), chopped)) { in chopBothWays() 266 SkScalarRoundToInt(SkDoubleToScalar(bounds.width())), in writeFrames() 267 SkScalarRoundToInt(SkDoubleToScalar(bounds.height())))); in writeFrames() 272 canvas.translate(SkDoubleToScalar(-bounds.fLeft), SkDoubleToScalar(-bounds.fTop)); in writeFrames()
|
/third_party/flutter/skia/tools/ |
D | using_skia_and_harfbuzz.cpp | 138 font.setSize(SkDoubleToScalar(config->font_size.value)); in Placement() 156 SkDoubleToScalar(config->page_width.value), in WriteLine() 157 SkDoubleToScalar(config->page_height.value)); in WriteLine() 163 blob.get(), SkDoubleToScalar(current_x), in WriteLine() 164 SkDoubleToScalar(current_y), glyph_paint); in WriteLine()
|
/third_party/skia/tools/ |
D | using_skia_and_harfbuzz.cpp | 141 font.setSize(SkDoubleToScalar(config->font_size.value)); in Placement() 159 SkDoubleToScalar(config->page_width.value), in WriteLine() 160 SkDoubleToScalar(config->page_height.value)); in WriteLine() 166 blob.get(), SkDoubleToScalar(current_x), in WriteLine() 167 SkDoubleToScalar(current_y), glyph_paint); in WriteLine()
|
/third_party/skia/src/xps/ |
D | SkXPSDocument.cpp | 45 const SkScalar kPointsPerMeter = SkDoubleToScalar(360000.0 / 127.0); 47 SkScalar pixelsPerMeterScale = SkDoubleToScalar(dpi * 5000.0 / 127.0);
|
/third_party/flutter/skia/src/xps/ |
D | SkXPSDocument.cpp | 44 const SkScalar kPointsPerMeter = SkDoubleToScalar(360000.0 / 127.0); 46 SkScalar pixelsPerMeterScale = SkDoubleToScalar(dpi * 5000.0 / 127.0);
|
/third_party/skia/samplecode/ |
D | SamplePathClip.cpp | 87 p0.fX = SkDoubleToScalar(p0.fX + dxdy * (bounds.top() - p0.fY)); 91 p1.fX = SkDoubleToScalar(p1.fX + dxdy * (bounds.bottom() - p1.fY)); 117 float y = SkDoubleToScalar(p0.fY + (bounds.left() - p0.fX) / dxdy); 123 float y = SkDoubleToScalar(p0.fY + (bounds.right() - p0.fX) / dxdy);
|
/third_party/flutter/skia/samplecode/ |
D | SamplePathClip.cpp | 89 p0.fX = SkDoubleToScalar(p0.fX + dxdy * (bounds.top() - p0.fY)); 93 p1.fX = SkDoubleToScalar(p1.fX + dxdy * (bounds.bottom() - p1.fY)); 119 float y = SkDoubleToScalar(p0.fY + (bounds.left() - p0.fX) / dxdy); 125 float y = SkDoubleToScalar(p0.fY + (bounds.right() - p0.fX) / dxdy);
|