Home
last modified time | relevance | path

Searched refs:affine (Results 1 – 25 of 35) sorted by relevance

12

/external/webkit/Source/WebCore/platform/graphics/cairo/
DFontCairo.cpp126 AffineTransform affine; in drawGlyphs() local
127 cairo_pattern_t* pattern = context->fillPattern()->createPlatformPattern(affine); in drawGlyphs()
156 AffineTransform affine; in drawGlyphs() local
157 cairo_pattern_t* pattern = context->strokePattern()->createPlatformPattern(affine); in drawGlyphs()
DGraphicsContextCairo.cpp80 AffineTransform affine; in setPlatformFill() local
81 pattern = state.fillPattern->createPlatformPattern(affine); in setPlatformFill()
101 AffineTransform affine; in setPlatformStroke() local
102 pattern = state.strokePattern->createPlatformPattern(affine); in setPlatformStroke()
/external/webkit/Source/WebCore/platform/graphics/qt/
DFontQt.cpp90 AffineTransform affine; in drawTextCommon() local
91 textFillPen = QPen(QBrush(ctx->fillPattern()->createPlatformPattern(affine)), 0); in drawTextCommon()
103 AffineTransform affine; in drawTextCommon() local
104 QBrush brush(ctx->strokePattern()->createPlatformPattern(affine)); in drawTextCommon()
DGraphicsContextQt.cpp506 AffineTransform affine; in fillPath() local
508 … shadowPainter->fillPath(platformPath, QBrush(m_state.fillPattern->createPlatformPattern(affine))); in fillPath()
531 AffineTransform affine; in fillPath() local
532 p->fillPath(platformPath, QBrush(m_state.fillPattern->createPlatformPattern(affine))); in fillPath()
585 AffineTransform affine; in strokePath() local
586 pen.setBrush(QBrush(m_state.strokePattern->createPlatformPattern(affine))); in strokePath()
/external/skia/legacy/src/core/
DSkMatrix.cpp796 void SkMatrix::SetAffineIdentity(SkScalar affine[6]) { in SetAffineIdentity()
797 affine[kAScaleX] = SK_Scalar1; in SetAffineIdentity()
798 affine[kASkewY] = 0; in SetAffineIdentity()
799 affine[kASkewX] = 0; in SetAffineIdentity()
800 affine[kAScaleY] = SK_Scalar1; in SetAffineIdentity()
801 affine[kATransX] = 0; in SetAffineIdentity()
802 affine[kATransY] = 0; in SetAffineIdentity()
805 bool SkMatrix::asAffine(SkScalar affine[6]) const { in asAffine()
809 if (affine) { in asAffine()
810 affine[kAScaleX] = this->fMat[kMScaleX]; in asAffine()
[all …]
/external/skia/tests/
DMatrixTest.cpp432 SkScalar affine[6]; in TestMatrix() local
433 REPORTER_ASSERT(reporter, mat.asAffine(affine)); in TestMatrix()
435 #define affineEqual(e) affine[SkMatrix::kA##e] == mat.get(SkMatrix::kM##e) in TestMatrix()
445 REPORTER_ASSERT(reporter, !mat.asAffine(affine)); in TestMatrix()
/external/skia/src/core/
DSkMatrix.cpp862 void SkMatrix::SetAffineIdentity(SkScalar affine[6]) { in SetAffineIdentity()
863 affine[kAScaleX] = SK_Scalar1; in SetAffineIdentity()
864 affine[kASkewY] = 0; in SetAffineIdentity()
865 affine[kASkewX] = 0; in SetAffineIdentity()
866 affine[kAScaleY] = SK_Scalar1; in SetAffineIdentity()
867 affine[kATransX] = 0; in SetAffineIdentity()
868 affine[kATransY] = 0; in SetAffineIdentity()
871 bool SkMatrix::asAffine(SkScalar affine[6]) const { in asAffine()
875 if (affine) { in asAffine()
876 affine[kAScaleX] = this->fMat[kMScaleX]; in asAffine()
[all …]
/external/webkit/Source/WebCore/platform/graphics/skia/
DGraphicsContextSkia.cpp430 void GraphicsContext::concatCTM(const AffineTransform& affine) in concatCTM() argument
436 platformContext()->gpuCanvas()->concatCTM(affine); in concatCTM()
438 platformContext()->canvas()->concat(affine); in concatCTM()
441 void GraphicsContext::setCTM(const AffineTransform& affine) in setCTM() argument
447 platformContext()->gpuCanvas()->setCTM(affine); in setCTM()
449 platformContext()->canvas()->setMatrix(affine); in setCTM()
/external/llvm/test/CodeGen/X86/
Dlsr-nonaffine.ll3 ; LSR should leave non-affine expressions alone because it currently
/external/eigen/doc/
DC08_TutorialGeometry.dox9 …etry_Module "geometry module", namely 2D and 3D rotations and projective or affine transformations.
19 …- Projective or affine transformation matrices: see the Transform class. These are really matrices.
83 designed to simplify the creation/initialization of linear (Matrix) and affine (Transform)
122 Generic affine transformations are represented by the Transform class which internaly
/external/webkit/Source/WebCore/platform/graphics/android/context/
DGraphicsContextAndroid.cpp516 void GraphicsContext::concatCTM(const AffineTransform& affine) in concatCTM() argument
520 platformContext()->concatCTM(affine); in concatCTM()
DPlatformGraphicsContextSkia.h56 virtual void concatCTM(const AffineTransform& affine);
DGraphicsOperation.h184 ConcatCTM(const AffineTransform& affine) : m_matrix(affine) {} in ConcatCTM() argument
DPlatformGraphicsContextSkia.cpp125 void PlatformGraphicsContextSkia::concatCTM(const AffineTransform& affine) in concatCTM() argument
127 mCanvas->concat(affine); in concatCTM()
DPlatformGraphicsContextRecording.h97 virtual void concatCTM(const AffineTransform& affine);
DPlatformGraphicsContext.h88 virtual void concatCTM(const AffineTransform& affine) = 0;
DPlatformGraphicsContextRecording.cpp668 void PlatformGraphicsContextRecording::concatCTM(const AffineTransform& affine) in concatCTM() argument
670 mCurrentMatrix->preConcat(affine); in concatCTM()
671 appendStateOperation(NEW_OP(ConcatCTM)(affine)); in concatCTM()
/external/skia/legacy/include/core/
DSkMatrix.h346 static void SetAffineIdentity(SkScalar affine[6]);
353 bool asAffine(SkScalar affine[6]) const;
/external/eigen/Eigen/src/Geometry/
DTransform.h377 inline ConstAffinePart affine() const { return take_affine_part::run(m_matrix); } in affine() function
379 inline AffinePart affine() { return take_affine_part::run(m_matrix); } in affine() function
856 affine() += other * m_matrix.row(Dim); in pretranslate()
1196 transform->affine() = other;
1262 TopLeftLhs(res, 0, 0, Dim, other.cols()).noalias() = T.affine() * other;
1334 res.affine().noalias() = other * tr.matrix();
DHomogeneous.h207 static type run (const TransformType& x) { return x.affine(); }
/external/eigen/test/
Dgeo_homogeneous.cpp77 aff.affine().setRandom(); in homogeneous()
/external/skia/include/core/
DSkMatrix.h363 static void SetAffineIdentity(SkScalar affine[6]);
370 bool asAffine(SkScalar affine[6]) const;
/external/skia/src/device/xps/
DSkXPSDevice.cpp477 SkScalar affine[6]; in createXpsTransform() local
478 if (!matrix.asAffine(affine)) { in createXpsTransform()
483 SkScalarToFLOAT(affine[SkMatrix::kAScaleX]), in createXpsTransform()
484 SkScalarToFLOAT(affine[SkMatrix::kASkewY]), in createXpsTransform()
485 SkScalarToFLOAT(affine[SkMatrix::kASkewX]), in createXpsTransform()
486 SkScalarToFLOAT(affine[SkMatrix::kAScaleY]), in createXpsTransform()
487 SkScalarToFLOAT(affine[SkMatrix::kATransX]), in createXpsTransform()
488 SkScalarToFLOAT(affine[SkMatrix::kATransY]), in createXpsTransform()
/external/webkit/Source/WebCore/platform/graphics/chromium/
DGLES2Canvas.cpp344 void GLES2Canvas::concatCTM(const AffineTransform& affine) in concatCTM() argument
346 m_state->m_ctm *= affine; in concatCTM()
349 void GLES2Canvas::setCTM(const AffineTransform& affine) in setCTM() argument
351 m_state->m_ctm = affine; in setCTM()
/external/skia/gyp/
Dpixman_test.gyp41 # '../../../pixman/test/affine-test.c',

12