Home
last modified time | relevance | path

Searched refs:scaleX (Results 1 – 25 of 108) sorted by relevance

12345

/third_party/flutter/engine/flutter/shell/platform/android/
Dandroid_external_texture_gl.cc75 SkSize ScaleToFill(float scaleX, float scaleY) { in ScaleToFill() argument
78 const double minScale = fmin(scaleX, fabs(scaleY)); in ScaleToFill()
80 return SkSize::Make(scaleX * rescale, scaleY * rescale); in ScaleToFill()
92 float scaleX = m[0], scaleY = m[5]; in UpdateTransform() local
93 const SkSize scaled = ScaleToFill(scaleX, scaleY); in UpdateTransform()
/third_party/skia/src/gpu/effects/
DGrYUVtoRGBEffect.cpp67 float scaleX = 1.f; in Make() local
70 scaleX = 1.f/ssx; in Make()
75 planeMatrix.postConcat(SkMatrix::Scale(scaleX, scaleY)); in Make()
77 planeSubset = {subset->fLeft *scaleX, in Make()
79 subset->fRight *scaleX, in Make()
85 planeDomain = {domain->fLeft *scaleX, in Make()
87 domain->fRight *scaleX, in Make()
95 float maxRight = view.width() - dx*scaleX; in Make()
155 {scaleX/2.f, scaleY/2.f}, in Make()
/third_party/skia/docs/examples/
DMatrix_isTranslate.cpp8 for (SkScalar scaleX : { 1, 2 } ) { in draw()
10 matrix.setAll(scaleX, 0, translateX, 0, 1, 0, 0, 0, 1); in draw()
DMatrix_isScaleTranslate.cpp8 for (SkScalar scaleX : { 1, 2 } ) { in draw()
10 matrix.setAll(scaleX, 0, translateX, 0, 1, 0, 0, 0, 1); in draw()
/third_party/flutter/skia/docs/examples/
DMatrix_isScaleTranslate.cpp8 for (SkScalar scaleX : { 1, 2 } ) { in draw()
10 matrix.setAll(scaleX, 0, translateX, 0, 1, 0, 0, 0, 1); in draw()
DMatrix_isTranslate.cpp8 for (SkScalar scaleX : { 1, 2 } ) { in draw()
10 matrix.setAll(scaleX, 0, translateX, 0, 1, 0, 0, 0, 1); in draw()
/third_party/typescript/tests/baselines/reference/
DmethodsReturningThis.types83 Class.prototype.m6 = function (x, y, pivotX, pivotY, scaleX, scaleY, rotation, skewX, skewY) { retu…
84 …x, y, pivotX, pivotY, scaleX, scaleY, rotation, skewX, skewY) { return this; } : (x: any, y: any, …
90 …x, y, pivotX, pivotY, scaleX, scaleY, rotation, skewX, skewY) { return this; } : (x: any, y: any, …
95 >scaleX : any
DmethodsReturningThis.js15 Class.prototype.m6 = function (x, y, pivotX, pivotY, scaleX, scaleY, rotation, skewX, skewY) { retu… argument
33 Class.prototype.m6 = function (x, y, pivotX, pivotY, scaleX, scaleY, rotation, skewX, skewY) { retu… argument
DmethodsReturningThis.symbols63 Class.prototype.m6 = function (x, y, pivotX, pivotY, scaleX, scaleY, rotation, skewX, skewY) { retu…
72 >scaleX : Symbol(scaleX, Decl(input.js, 13, 52))
/third_party/skia/tests/
DPathRendererCacheTests.cpp39 float scaleX = 1.f) { in draw_path() argument
50 matrix.setScaleX(scaleX); in draw_path()
122 float scaleX = 1 + ((float)i + 1)/20.f; in test_path() local
123 draw_path(dContext.get(), sdc.get(), path, pathRenderer.get(), aaType, style, scaleX); in test_path()
/third_party/flutter/engine/flutter/flow/layers/
Dmask_layer.h20 MaskLayer(double x, double y, double scaleX, double scaleY, const sk_sp<SkSVGDOM>& svgDom) in MaskLayer() argument
21 : isSvgMask_(true), svgX_(x), svgY_(y), scaleX_(scaleX), scaleY_(scaleY), svgDom_(svgDom) {} in MaskLayer()
/third_party/flutter/engine/flutter/flow/ohos_layers/
Dmask_layer.h24 MaskLayer(double x, double y, double scaleX, double scaleY, const sk_sp<SkSVGDOM>& svgDom) in MaskLayer() argument
25 : isSvgMask_(true), svgX_(x), svgY_(y), scaleX_(scaleX), scaleY_(scaleY), svgDom_(svgDom) {} in MaskLayer()
Dlayer_tree_builder.cpp89 void LayerTreeBuilder::PushSvgMask(const sk_sp<SkSVGDOM>& svgDom, double x, double y, double scaleX in PushSvgMask() argument
91 auto layer = std::make_shared<MaskLayer>(x, y, scaleX, scaleY, svgDom); in PushSvgMask()
/third_party/flutter/skia/gm/
Dlightingshader2.cpp114 void positionCTM(SkCanvas *canvas, SkScalar scaleX, SkScalar scaleY, SkScalar rotate) const { in positionCTM() argument
116 canvas->scale(scaleX, scaleY); in positionCTM()
121 void drawRect(SkCanvas* canvas, SkScalar scaleX, SkScalar scaleY, in drawRect() argument
126 this->positionCTM(canvas, scaleX, scaleY, rotate); in drawRect()
Dbmpfilterqualityrepeat.cpp61 void drawAll(SkCanvas* canvas, SkScalar scaleX) const { in drawAll()
74 lm.setScaleX(scaleX); in drawAll()
Dpictureimagegenerator.cpp141 SkScalar scaleX, scaleY; in onDraw() member
173 SkMatrix m = SkMatrix::MakeScale(configs[i].scaleX, configs[i].scaleY); in onDraw()
174 if (configs[i].scaleX < 0) { in onDraw()
/third_party/flutter/skia/src/core/
DSkFontPriv.h39 static SkMatrix MakeTextMatrix(SkScalar size, SkScalar scaleX, SkScalar skewX) { in MakeTextMatrix() argument
40 SkMatrix m = SkMatrix::MakeScale(size * scaleX, size); in MakeTextMatrix()
/third_party/skia/src/core/
DSkFontPriv.h40 static SkMatrix MakeTextMatrix(SkScalar size, SkScalar scaleX, SkScalar skewX) { in MakeTextMatrix() argument
41 SkMatrix m = SkMatrix::Scale(size * scaleX, size); in MakeTextMatrix()
/third_party/flutter/engine/flutter/third_party/txt/src/minikin/
DMinikinFont.h40 scaleX(0), in MinikinPaint()
53 float scaleX; member
/third_party/skia/gm/
Dbmpfilterqualityrepeat.cpp60 void drawAll(SkCanvas* canvas, SkScalar scaleX) const { in drawAll()
63 lm.setScaleX(scaleX); in drawAll()
Dpictureimagegenerator.cpp139 SkScalar scaleX, scaleY; in onDraw() member
171 SkMatrix m = SkMatrix::Scale(configs[i].scaleX, configs[i].scaleY); in onDraw()
172 if (configs[i].scaleX < 0) { in onDraw()
/third_party/flutter/skia/modules/pathkit/
Dpathkit_wasm_bindings.cpp349 SkScalar scaleX, SkScalar skewX, SkScalar transX, in ApplyAddPath() argument
352 SkMatrix m = SkMatrix::MakeAll(scaleX, skewX , transX, in ApplyAddPath()
429 SkScalar scaleX, skewX, transX; member
435 return SkMatrix::MakeAll(sm.scaleX, sm.skewX , sm.transX, in toSkMatrix()
445 SkScalar scaleX, SkScalar skewX, SkScalar transX, in ApplyTransform() argument
448 SkMatrix m = SkMatrix::MakeAll(scaleX, skewX , transX, in ApplyTransform()
615 .element(&SimpleMatrix::scaleX) in EMSCRIPTEN_BINDINGS()
/third_party/skia/modules/pathkit/
Dpathkit_wasm_bindings.cpp336 SkScalar scaleX, SkScalar skewX, SkScalar transX, in ApplyAddPath() argument
339 SkMatrix m = SkMatrix::MakeAll(scaleX, skewX , transX, in ApplyAddPath()
416 SkScalar scaleX, skewX, transX; member
422 return SkMatrix::MakeAll(sm.scaleX, sm.skewX , sm.transX, in toSkMatrix()
432 SkScalar scaleX, SkScalar skewX, SkScalar transX, in ApplyTransform() argument
435 SkMatrix m = SkMatrix::MakeAll(scaleX, skewX , transX, in ApplyTransform()
602 .element(&SimpleMatrix::scaleX) in EMSCRIPTEN_BINDINGS()
/third_party/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_meta_util.c227 float scaleX = (float) (*srcX1 - *srcX0) / (*dstX1 - *dstX0); in brw_meta_mirror_clip_and_scissor() local
234 scaleX, true); in brw_meta_mirror_clip_and_scissor()
240 scaleX, false); in brw_meta_mirror_clip_and_scissor()
/third_party/flutter/skia/include/core/
DSkFont.h65 SkFont(sk_sp<SkTypeface> typeface, SkScalar size, SkScalar scaleX, SkScalar skewX);
256 void setScaleX(SkScalar scaleX);

12345