Home
last modified time | relevance | path

Searched refs:affine (Results 1 - 12 of 12) sorted by relevance

/third_party/skia/docs/examples/
H A DMatrix_setAffine.cpp9 SkScalar affine[6]; in REG_FIDDLE() local
10 if (matrix.asAffine(affine)) { in REG_FIDDLE()
13 SkDebugf("%s: %g ", names[i], affine[i]); in REG_FIDDLE()
17 matrix.setAffine(affine); in REG_FIDDLE()
H A DMatrix_SetAffineIdentity.cpp7 SkScalar affine[6]; in REG_FIDDLE() local
8 SkMatrix::SetAffineIdentity(affine); in REG_FIDDLE()
11 SkDebugf("%s: %g ", names[i], affine[i]); in REG_FIDDLE()
H A DMatrix_asAffine.cpp9 SkScalar affine[6]; in REG_FIDDLE() local
10 if (matrix.asAffine(affine)) { in REG_FIDDLE()
13 SkDebugf("%s: %g ", names[i], affine[i]); in REG_FIDDLE()
/third_party/skia/third_party/externals/freetype/src/sfnt/
H A Dttcolr.c584 apaint->u.transform.affine.xx = FT_NEXT_LONG( p ); in read_paint()
585 apaint->u.transform.affine.yx = FT_NEXT_LONG( p ); in read_paint()
586 apaint->u.transform.affine.xy = FT_NEXT_LONG( p ); in read_paint()
587 apaint->u.transform.affine.yy = FT_NEXT_LONG( p ); in read_paint()
588 apaint->u.transform.affine.dx = FT_NEXT_LONG( p ); in read_paint()
589 apaint->u.transform.affine.dy = FT_NEXT_LONG( p ); in read_paint()
1084 paint->u.transform.affine.xx = ft_root_scale.xx; in FT_LOCAL_DEF()
1085 paint->u.transform.affine.xy = ft_root_scale.xy; in FT_LOCAL_DEF()
1086 paint->u.transform.affine.yx = ft_root_scale.yx; in FT_LOCAL_DEF()
1087 paint->u.transform.affine in FT_LOCAL_DEF()
[all...]
/third_party/skia/src/core/
H A DSkMatrix.cpp26 // is in perspective, even though it stills behaves like its affine. If we divide everything in doNormalizePerspective()
27 // by the not_one value, then it will behave the same, but will be treated as affine, in doNormalizePerspective()
133 // along with affine. in computeTypeMask()
138 // For rectStaysRect, in the affine case, we only need check that in computeTypeMask()
151 // Only test for scale explicitly if not affine, since affine sets the in computeTypeMask()
157 // Not affine, therefore we already know secondary diagonal is in computeTypeMask()
357 // TODO: The persp/affine preconditions are in place to keep the mask consistent with in preScale()
755 void SkMatrix::SetAffineIdentity(SkScalar affine[6]) { in SetAffineIdentity() argument
756 affine[kAScale in SetAffineIdentity()
[all...]
/third_party/skia/include/core/
H A DSkMatrix.h1209 /** Fills affine with identity values in column major order.
1210 Sets affine to:
1217 @param affine storage for 3 by 2 affine matrix
1221 static void SetAffineIdentity(SkScalar affine[6]);
1223 /** Fills affine in column major order. Sets affine to:
1228 If SkMatrix contains perspective, returns false and leaves affine unchanged.
1230 @param affine storage for 3 by 2 affine matri
[all...]
/third_party/skia/src/xps/
H A DSkXPSDevice.cpp516 SkScalar affine[6]; in createXpsTransform() local
517 if (!matrix.asAffine(affine)) { in createXpsTransform()
522 SkScalarToFLOAT(affine[SkMatrix::kAScaleX]), in createXpsTransform()
523 SkScalarToFLOAT(affine[SkMatrix::kASkewY]), in createXpsTransform()
524 SkScalarToFLOAT(affine[SkMatrix::kASkewX]), in createXpsTransform()
525 SkScalarToFLOAT(affine[SkMatrix::kAScaleY]), in createXpsTransform()
526 SkScalarToFLOAT(affine[SkMatrix::kATransX]), in createXpsTransform()
527 SkScalarToFLOAT(affine[SkMatrix::kATransY]), in createXpsTransform()
906 //TODO: figure out how to fake better if not affine in createXpsRadialGradient()
1042 //simple if affine an in createXpsBrush()
[all...]
/third_party/skia/third_party/externals/freetype/include/freetype/
H A Dftcolor.h1068 * affine ::
1080 FT_Affine23 affine; member
/third_party/skia/tests/
H A DGradientTest.cpp34 const SkScalar affine[] = { in test_big_grad() local
38 matrix.setAffine(affine); in test_big_grad()
H A DMatrixTest.cpp932 SkScalar affine[6]; in DEF_TEST() local
933 REPORTER_ASSERT(reporter, mat.asAffine(affine)); in DEF_TEST()
935 #define affineEqual(e) affine[SkMatrix::kA##e] == mat.get(SkMatrix::kM##e) in DEF_TEST()
945 REPORTER_ASSERT(reporter, !mat.asAffine(affine)); in DEF_TEST()
/third_party/skia/src/pdf/
H A DSkPDFGradientShader.cpp538 // Finds affine and persp such that in = affine * persp.
540 static bool split_perspective(const SkMatrix in, SkMatrix* affine, in split_perspective() argument
569 affine->setAll(sx - p0 * tx / p2, kx - p1 * tx / p2, tx / p2, in split_perspective()
/third_party/skia/src/ports/
H A DSkFontHost_FreeType_common.cpp812 transform = ToSkMatrix(colrv1_paint.u.transform.affine); in colrv1_transform()

Completed in 20 milliseconds