Searched refs:matrix (Results 276 - 300 of 607) sorted by relevance

<<11121314151617181920>>

/external/pdfium/core/src/fpdfapi/fpdf_page/
H A Dfpdf_page.cpp73 void CPDF_PageObject::TransformClipPath(CFX_AffineMatrix& matrix) argument
79 m_ClipPath.Transform(matrix);
81 void CPDF_PageObject::TransformGeneralState(CFX_AffineMatrix& matrix) argument
87 pGS->m_Matrix.Concat(matrix);
507 CFX_AffineMatrix matrix; local
508 GetTextMatrix(&matrix);
513 matrix.TransformRect(m_Left, m_Right, m_Top, m_Bottom);
550 void CPDF_TextObject::Transform(const CFX_AffineMatrix& matrix) argument
555 text_matrix.Concat(matrix);
618 void CPDF_ShadingObject::Transform(const CFX_AffineMatrix& matrix) argument
648 Transform(const CFX_AffineMatrix& matrix) argument
741 Transform(const CFX_AffineMatrix& matrix) argument
973 GetDisplayMatrix(CFX_AffineMatrix& matrix, int xPos, int yPos, int xSize, int ySize, int iRotate) const argument
[all...]
/external/skia/gm/
H A Ddcshader.cpp28 DCShader(const SkMatrix& matrix) : fDeviceMatrix(matrix) {} argument
51 SkMatrix matrix; local
52 buf.readMatrix(&matrix);
53 return SkNEW_ARGS(DCShader, (matrix));
/external/skia/src/core/
H A DSkPictureRecord.h125 void addMatrix(const SkMatrix& matrix);
170 const SkMatrix* matrix, const SkPaint&) override;
211 void recordConcat(const SkMatrix& matrix);
212 void recordTranslate(const SkMatrix& matrix);
213 void recordScale(const SkMatrix& matrix);
H A DSkMaskFilter.cpp217 bool SkMaskFilter::filterRRect(const SkRRect& devRRect, const SkMatrix& matrix, argument
225 if (kTrue_FilterReturn != this->filterRRectToNine(devRRect, matrix,
235 bool SkMaskFilter::filterPath(const SkPath& devPath, const SkMatrix& matrix, argument
246 switch (this->filterRectsToNine(rects, rectCount, matrix, clip.getBounds(), &patch)) {
265 if (!SkDraw::DrawToMask(devPath, &clip.getBounds(), this, &matrix, &srcM,
272 if (!this->filterMask(&dstM, srcM, matrix, NULL)) {
H A DSkRecords.h216 explicit TypedMatrix(const SkMatrix& matrix) : SkMatrix(matrix) { argument
223 RECORD2(Restore, SkIRect, devBounds, TypedMatrix, matrix);
227 RECORD1(SetMatrix, TypedMatrix, matrix);
277 TypedMatrix, matrix);
304 TypedMatrix, matrix);
/external/skia/src/gpu/
H A DGrSWMaskHelper.cpp162 const SkMatrix* matrix,
164 if (matrix) {
165 fMatrix = *matrix;
321 * Software rasterizes path to A8 mask (possibly using the context's matrix)
330 const SkMatrix* matrix) {
333 if (!helper.init(resultBounds, matrix)) {
368 // matrix to normalized coords.
161 init(const SkIRect& resultBounds, const SkMatrix* matrix, bool allowCompression) argument
325 DrawPathMaskToTexture(GrContext* context, const SkPath& path, const SkStrokeRec& stroke, const SkIRect& resultBounds, bool antiAlias, const SkMatrix* matrix) argument
/external/skia/src/gpu/effects/
H A DGrConfigConversionEffect.cpp105 const SkMatrix& matrix)
106 : GrSingleTextureEffect(texture, matrix)
280 const SkMatrix& matrix) {
285 return GrSimpleTextureEffect::Create(texture, matrix);
296 matrix));
102 GrConfigConversionEffect(GrTexture* texture, bool swapRedAndBlue, PMConversion pmConversion, const SkMatrix& matrix) argument
277 Create(GrTexture* texture, bool swapRedAndBlue, PMConversion pmConversion, const SkMatrix& matrix) argument
/external/skia/tests/
H A DDrawBitmapRectTest.cpp171 SkMatrix matrix; local
174 matrix.setAll(-119.34097f,
181 c.concat(matrix);
189 matrix.setAll(0.0078740157f,
197 SkShader::kRepeat_TileMode, &matrix);
209 * Original bug was asserting that the matrix-proc had generated a (Y) value
H A DMatrix44Test.cpp79 // Allocate a matrix on the heap
91 // constructor did avoid initializing the matrix contents.
101 // Verify that kIdentity_Constructor really does initialize to an identity matrix.
225 SkMatrix44 matrix(SkMatrix44::kIdentity_Constructor);
227 REPORTER_ASSERT(reporter, matrix.isIdentity());
228 REPORTER_ASSERT(reporter, SkMatrix44::kIdentity_Mask == matrix.getType());
232 matrix.set(1, 1, 0);
234 REPORTER_ASSERT(reporter, matrix.getType() == expectedMask);
236 matrix.set(0, 3, 1); // translate-x
238 REPORTER_ASSERT(reporter, matrix
[all...]
/external/skia/src/utils/debugger/
H A DSkDrawCommand.cpp253 SkConcatCommand::SkConcatCommand(const SkMatrix& matrix) argument
255 fMatrix = matrix;
257 fInfo.push(SkObjectParser::MatrixToString(matrix));
450 const SkMatrix* matrix,
461 if (matrix) {
462 fMatrix.set(*matrix);
463 fInfo.push(SkObjectParser::MatrixToString(*matrix));
762 const SkPath& path, const SkMatrix* matrix,
769 if (matrix) {
770 fMatrix = *matrix;
449 SkBeginDrawPictureCommand(const SkPicture* picture, const SkMatrix* matrix, const SkPaint* paint) argument
761 SkDrawTextOnPathCommand(const void* text, size_t byteLength, const SkPath& path, const SkMatrix* matrix, const SkPaint& paint) argument
904 SkSetMatrixCommand(const SkMatrix& matrix) argument
[all...]
H A DSkDebugCanvas.cpp81 void onDrawPicture(const SkPicture* picture, const SkMatrix* matrix, const SkPaint* paint) { argument
83 this->SkCanvas::onDrawPicture(picture, matrix, paint);
405 void SkDebugCanvas::didConcat(const SkMatrix& matrix) { argument
406 this->addDrawCommand(new SkConcatCommand(matrix));
407 this->INHERITED::didConcat(matrix);
460 const SkMatrix* matrix,
462 this->addDrawCommand(new SkBeginDrawPictureCommand(picture, matrix, paint));
463 this->INHERITED::onDrawPicture(picture, matrix, paint);
464 this->addDrawCommand(new SkEndDrawPictureCommand(SkToBool(matrix) || SkToBool(paint)));
507 const SkMatrix* matrix, cons
459 onDrawPicture(const SkPicture* picture, const SkMatrix* matrix, const SkPaint* paint) argument
506 onDrawTextOnPath(const void* text, size_t byteLength, const SkPath& path, const SkMatrix* matrix, const SkPaint& paint) argument
549 didSetMatrix(const SkMatrix& matrix) argument
[all...]
/external/skia/src/pipe/
H A DSkGPipeWrite.cpp260 const SkMatrix* matrix, const SkPaint&) override;
596 void SkGPipeCanvas::didConcat(const SkMatrix& matrix) { argument
597 if (!matrix.isIdentity()) {
599 switch (matrix.getType()) {
601 this->recordTranslate(matrix);
604 this->recordScale(matrix);
607 this->recordConcat(matrix);
612 this->INHERITED::didConcat(matrix);
615 void SkGPipeCanvas::didSetMatrix(const SkMatrix& matrix) { argument
617 if (this->needOpBytes(matrix
927 onDrawTextOnPath(const void* text, size_t byteLength, const SkPath& path, const SkMatrix* matrix, const SkPaint& paint) argument
1025 onDrawPicture(const SkPicture* picture, const SkMatrix* matrix, const SkPaint* paint) argument
[all...]
/external/skia/src/svg/parser/
H A DSkSVGPaintState.cpp205 SkASSERT(strncmp(str, "matrix(", 7) == 0);
213 SkMatrix matrix;
214 matrix.reset();
215 matrix.setScaleX(values[0]);
216 matrix.setSkewY(values[1]);
217 matrix.setSkewX(values[2]);
218 matrix.setScaleY(values[3]);
219 matrix.setTranslateX(values[4]);
220 matrix.setTranslateY(values[5]);
221 sum.setConcat(matrix, su
[all...]
/external/eigen/Eigen/src/Eigen2Support/
H A DSVD.h20 * \brief Standard SVD decomposition of a matrix and associated features
22 * \param MatrixType the type of the matrix of which we are computing the SVD decomposition
24 * This class performs a standard SVD decomposition of a real matrix A of size \c M x \c N
53 SVD(const MatrixType& matrix) argument
54 : m_matU(matrix.rows(), (std::min)(matrix.rows(), matrix.cols())),
55 m_matV(matrix.cols(),matrix.cols()),
56 m_sigma((std::min)(matrix
94 compute(const MatrixType& matrix) argument
[all...]
/external/jmonkeyengine/engine/src/core/com/jme3/math/
H A DQuaternion.java321 * matrix. This matrix is assumed to be a rotational matrix.
323 * @param matrix
324 * the matrix that defines the rotation.
326 public Quaternion fromRotationMatrix(Matrix3f matrix) { argument
327 return fromRotationMatrix(matrix.m00, matrix.m01, matrix.m02, matrix
856 apply(Matrix3f matrix) argument
[all...]
/external/mesa3d/src/gallium/state_trackers/vega/
H A Dapi_path.c442 struct matrix *matrix = &ctx->state.vg.path_user_to_surface_matrix;
444 matrix_map_point(matrix, pts[0], pts[1], pts + 0, pts + 1);
445 matrix_map_point(matrix, pts[2], pts[3], pts + 2, pts + 3);
446 matrix_map_point(matrix, pts[4], pts[5], pts + 4, pts + 5);
447 matrix_map_point(matrix, pts[6], pts[7], pts + 6, pts + 7);
/external/skia/include/core/
H A DSkPaint.h409 Hairlines always draw 1-pixel wide, regardless of the matrix.
417 Hairlines always draw 1-pixel wide, regardless of the matrix.
1008 * Return a matrix that applies the paint's text values: size, scale, skew
1010 static SkMatrix* SetTextMatrix(SkMatrix* matrix, SkScalar size, argument
1012 matrix->setScale(size * scaleX, size);
1014 matrix->postSkew(skewX, 0);
1016 return matrix;
1019 SkMatrix* setTextMatrix(SkMatrix* matrix) const {
1020 return SetTextMatrix(matrix, fTextSize, fTextScaleX, fTextSkewX);
/external/skia/src/effects/gradients/
H A DSkTwoPointConicalGradient.cpp296 SkBitmap* bitmap, SkMatrix* matrix, SkShader::TileMode* xy) const {
303 if (matrix) {
306 if (matrix) {
310 matrix->setSinCos(-SkScalarMul(invDiffLen, diff.fY),
313 matrix->reset();
315 matrix->preTranslate(-fCenter1.fX, -fCenter1.fY);
295 asABitmap( SkBitmap* bitmap, SkMatrix* matrix, SkShader::TileMode* xy) const argument
/external/eigen/Eigen/src/SuperLUSupport/
H A DSuperLUSupport.h199 eigen_assert(((MatrixType::Flags & SelfAdjoint)==0) && "SelfAdjoint matrix shape not supported by SuperLU");
258 eigen_assert(((MatrixType::Flags & SelfAdjoint)==0) && "SelfAdjoint matrix shape not supported by SuperLU");
270 /** View a Super LU matrix as an Eigen expression */
324 * \c NumericalIssue if the matrix.appears to be negative.
332 /** Computes the sparse Cholesky decomposition of \a matrix */
333 void compute(const MatrixType& matrix) argument
335 derived().analyzePattern(matrix);
336 derived().factorize(matrix);
348 && "SuperLU::solve(): invalid number of rows of the right hand side matrix b");
361 && "SuperLU::solve(): invalid number of rows of the right hand side matrix
497 SuperLU(const MatrixType& matrix) argument
513 analyzePattern(const MatrixType& matrix) argument
834 SuperILU(const MatrixType& matrix) argument
850 analyzePattern(const MatrixType& matrix) argument
[all...]
/external/eigen/unsupported/Eigen/src/SVD/
H A DBDCSVD.h33 * \param MatrixType the type of the matrix of which we are computing the SVD decomposition
97 /** \brief Constructor performing the decomposition of given matrix.
99 * \param matrix the matrix to decompose
104 * Thin unitaries are only available if your matrix type has a Dynamic number of columns (for example MatrixXf). They also are not
107 BDCSVD(const MatrixType& matrix, unsigned int computationOptions = 0) argument
111 compute(matrix, computationOptions);
117 /** \brief Method performing the decomposition of given matrix using custom options.
119 * \param matrix the matrix t
135 compute(const MatrixType& matrix) argument
255 compute(const MatrixType& matrix, unsigned int computationOptions) argument
272 compute(const MatrixType& matrix, unsigned int computationOptions) argument
[all...]
/external/freetype/src/cff/
H A Dcffparse.c510 FT_Matrix* matrix = &dict->font_matrix; local
526 /* We expect a well-formed font matrix, this is, the matrix elements */
532 matrix->xx = cff_parse_fixed_dynamic( data++, &scaling );
538 /* Return default matrix in case of unlikely values. */
543 " using default matrix\n", scaling ));
545 matrix->xx = 0x10000L;
546 matrix->yx = 0;
547 matrix->xy = 0;
548 matrix
[all...]
/external/pdfium/core/src/reflow/
H A Dautoreflow.cpp11 CFX_AffineMatrix matrix; local
12 FX_RECT PreRect = pPrevObj->GetBBox(&matrix);
13 FX_RECT rect = pObj->GetBBox(&matrix);
59 CFX_AffineMatrix matrix; local
62 CFX_AffineMatrix matrix; local
415 void CPDF_AutoReflowLayoutProvider::ProcessObj(CFX_PtrArray& cellArray, CPDF_PageObject* pObj, CFX_AffineMatrix matrix) argument
484 CFX_AffineMatrix matrix; local
744 CFX_AffineMatrix matrix; local
745 FX_RECT rect = pObj->GetBBox(&matrix);
764 CFX_AffineMatrix matrix; local
774 CFX_AffineMatrix matrix; local
[all...]
/external/pdfium/third_party/freetype/src/cff/
H A Dcffparse.c510 FT_Matrix* matrix = &dict->font_matrix; local
526 /* We expect a well-formed font matrix, this is, the matrix elements */
532 matrix->xx = cff_parse_fixed_dynamic( data++, &scaling );
538 /* Return default matrix in case of unlikely values. */
543 " using default matrix\n", scaling ));
545 matrix->xx = 0x10000L;
546 matrix->yx = 0;
547 matrix->xy = 0;
548 matrix
[all...]
/external/apache-commons-math/src/main/java/org/apache/commons/math/linear/
H A DRealMatrix.java24 * Interface defining a real-valued matrix with basic algebraic operations.
27 * returns the element in the first row, first column of the matrix.</p>
37 * @param rowDimension the number of rows in the new matrix
38 * @param columnDimension the number of columns in the new matrix
39 * @return a new matrix of the same type as the instance
48 * @return matrix copy
55 * @param m matrix to be added
64 * @param m matrix to be subtracted
89 * @param m matrix to postmultiply by
98 * @param m matrix t
238 setRowMatrix(int row, RealMatrix matrix) argument
262 setColumnMatrix(int column, RealMatrix matrix) argument
[all...]
/external/ceres-solver/internal/ceres/
H A Dimplicit_schur_complement.cc104 // By breaking it down into individual matrix vector products
106 // PartitionedMatrixView of the input matrix A.
130 ConstVectorRef(x, num_cols()).array()).matrix();
139 // Given a block diagonal matrix and an optional array of diagonal
140 // entries D, add them to the diagonal of the matrix and compute the
156 m += d.array().square().matrix().asDiagonal();
166 // Similar to RightMultiply, use the block structure of the matrix A
202 // this using a series of matrix vector products.

Completed in 1524 milliseconds

<<11121314151617181920>>