Home
last modified time | relevance | path

Searched refs:getScaleX (Results 1 – 25 of 57) sorted by relevance

123

/third_party/skia/src/gpu/tessellate/
DWangsFormula.h73 fScaleXSkewY = {m.getScaleX(), m.getSkewY()};
75 fScaleXYXY = {m.getScaleX(), m.getScaleY(), m.getScaleX(), m.getScaleY()};
79 fScaleXY = {m.getScaleX(), m.getScaleY()};
80 fScaleXYXY = {m.getScaleX(), m.getScaleY(), m.getScaleX(), m.getScaleY()};
DCullTest.h34 fMatX = {m.getScaleX(), m.getSkewY(), -m.getScaleX(), -m.getSkewY()}; in set()
DAffineMatrix.h29 fScale = float2(m.getScaleX(), m.getScaleY()).xyxy();
DStrokeIterator.h239 float a=fViewMatrix->getScaleX(), b=fViewMatrix->getSkewX(), in finishOpenContour()
/third_party/skia/src/core/
DSkFontPriv.h49 return MakeTextMatrix(font.getSize(), font.getScaleX(), font.getSkewX()); in MakeTextMatrix()
69 SkScalarIsFinite(font.getScaleX()) && in IsFinite()
DSkDraw_vertices.cpp37 fMat[ 0] = a.dot(0, b.getScaleX(), b.getSkewY()); in setConcat()
38 fMat[ 1] = a.dot(1, b.getScaleX(), b.getSkewY()); in setConcat()
39 fMat[ 2] = a.dot(2, b.getScaleX(), b.getSkewY()); in setConcat()
40 fMat[ 3] = a.dot(3, b.getScaleX(), b.getSkewY()); in setConcat()
DSkScalerContext.cpp817 bool skewedOrFlipped = A.getSkewX() || A.getSkewY() || A.getScaleX() < 0 || A.getScaleY() < 0; in computeMatrices()
893 (kVertical_PreMatrixScale == preMatrixScale && A.getScaleX() == A.getScaleY()))) in computeMatrices()
901 sA->setScaleX(A.getScaleX() / s->fY); in computeMatrices()
1008 rec->fPreScaleX = font.getScaleX(); in MakeRecAndEffects()
1015 rec->fPost2x2[0][0] = sk_relax(deviceMatrix.getScaleX()); in MakeRecAndEffects()
DSkTextBlobTrace.cpp63 font.getScaleX(), in DumpTrace()
DSkBitmapProcState.h172 biasX = (s.fInvMatrix.getScaleX() > 0);
DSkLatticeIter.cpp292 SkScalar sx = matrix.getScaleX(); in mapDstScaleTranslate()
DSkMatrix.cpp937 SkScalar sx = m.getScaleX(); in Scale_pts()
996 SkScalar sx = m.getScaleX(); in Affine_vpts()
1582 const SkScalar sx = SkVector::Length(this->getScaleX(), this->getSkewY()); in decomposeScale()
1671 if (mat.getScaleX() < 0 || mat.getScaleY() < 0) { in SkTreatAsSprite()
1876 m.getScaleX(), m.getSkewY(), m.getPerspX(), in DifferentialAreaScale()
/third_party/skia/src/gpu/geometry/
DGrQuad.cpp29 const V4f s{m.getScaleX(), m.getScaleY(), m.getScaleX(), m.getScaleY()}; in map_rect_translate_scale()
39 *xs = m.getScaleX() * qx + (m.getSkewX() * qy + m.getTranslateX()); in map_quad_general()
/third_party/skia/docs/examples/
DMatrix_InvalidMatrix.cpp7 SkDebugf("scaleX %g\n", SkMatrix::InvalidMatrix().getScaleX()); in draw()
DMatrix_getScaleX.cpp9 SkDebugf("matrix.getScaleX() %c= 42\n", matrix.getScaleX() == 42 ? '=' : '!'); in draw()
/third_party/skia/src/shaders/gradients/
DSk4fLinearGradient.cpp97 const bool reverseIntervals = std::signbit(fDstToPos.getScaleX()); in LinearGradient4fContext()
113 const int search_dir = fDstToPos.getScaleX() >= 0 ? 1 : -1; in findInterval()
218 const SkScalar dx = fDstToPos.getScaleX(); in shadeSpanInternal()
/third_party/skia/src/gpu/ops/
DDrawAtlasPathOp.h62 , fLocalToDeviceIfUsingLocalCoords{m.getScaleX(), m.getSkewY(), in Instance()
DFillRRectOp.cpp539 instanceWrter << m.getScaleX() << m.getSkewX() << m.getSkewY() << m.getScaleY() in onPrepareDraws()
817 Sk2f x = Sk2f(viewMatrix.getScaleX(), viewMatrix.getSkewX()); in can_use_hw_derivatives_with_coverage()
DPathStencilCoverOp.cpp279 vertexWriter << pathMatrix.getScaleX() in onPrepare()
/third_party/skia/src/gpu/tessellate/shaders/
DGrPathTessellationShader.cpp152 pdman.set4f(fAffineMatrixUniform, m.getScaleX(), m.getSkewY(), m.getSkewX(), m.getScaleY()); in setData()
DGrStrokeTessellationShader.cpp393 pdman.set4f(fAffineMatrixUniform, m.getScaleX(), m.getSkewY(), m.getSkewX(), in setData()
/third_party/skia/src/effects/imagefilters/
DSkImageImageFilter.cpp115 ctx.ctm().getScaleX() > 0.f && in onFilterImage()
/third_party/skia/include/core/
DSkFont.h220 SkScalar getScaleX() const { return fScaleX; } in getScaleX() function
/third_party/skia/modules/skottie/src/effects/
DMotionTileEffect.cpp96 const auto phase_shift = SkVector::Make(phase_vec.fX / layerShaderMatrix.getScaleX(), in onRevalidate()
/third_party/skia/tests/
DTextBlobTest.cpp191 REPORTER_ASSERT(reporter, defaultFont.getScaleX() != font.getScaleX()); in TestPaintProps()
/third_party/skia/modules/canvaskit/
Dparagraph_bindings.cpp380 if (info->font.getScaleX()) { in GetShapedLines()
381 jrun.set("scaleX", info->font.getScaleX()); in GetShapedLines()

123