/external/chromium_org/third_party/skia/src/core/ |
H A D | SkPictureShader.cpp | 70 SkShader* SkPictureShader::refBitmapShader(const SkMatrix& matrix, const SkMatrix* localM) const { argument 74 m.setConcat(matrix, this->getLocalMatrix());
|
H A D | SkReadBuffer.cpp | 135 void SkReadBuffer::readMatrix(SkMatrix* matrix) { argument 136 fReader.readMatrix(matrix);
|
H A D | SkReader32.h | 113 bool readMatrix(SkMatrix* matrix) { argument 114 return this->readObjectFromMemory(matrix);
|
H A D | SkStrokerPriv.cpp | 140 SkMatrix matrix; local 141 matrix.setScale(radius, radius); 142 matrix.postTranslate(pivot.fX, pivot.fY); 143 int count = SkBuildQuadArc(before, after, dir, &matrix, pts);
|
/external/chromium_org/third_party/skia/src/effects/ |
H A D | SkDashPathEffect.cpp | 156 // allow kRound_Cap capping (could allow rotations in the matrix with this) 161 const SkMatrix& matrix, 192 if (!matrix.rectStaysRect()) { 197 if (!cull_line(pts, rec, matrix, cullRect, fIntervalLength)) { 158 asPoints(PointData* results, const SkPath& src, const SkStrokeRec& rec, const SkMatrix& matrix, const SkRect* cullRect) const argument
|
H A D | SkGpuBlurUtils.cpp | 190 SkMatrix matrix; local 191 matrix.setIDiv(srcTexture->width(), srcTexture->height()); 197 matrix.mapRect(&domain, rect); 202 matrix, 209 paint.addColorTextureProcessor(srcTexture, matrix, params); 282 SkMatrix matrix; local 283 matrix.setIDiv(srcTexture->width(), srcTexture->height()); 289 paint.addColorTextureProcessor(srcTexture, matrix, params);
|
H A D | SkLayerRasterizer.cpp | 54 const SkMatrix& matrix, 74 // apply the matrix and offset 76 SkMatrix m = matrix; 83 &matrix, &mask, 94 bool SkLayerRasterizer::onRasterize(const SkPath& path, const SkMatrix& matrix, argument 103 if (!compute_bounds(*fLayers, path, matrix, clipBounds, &mask->fBounds)) 127 translatedMatrix = matrix; 137 // we set the matrixproc in the loop, as the matrix changes each time (potentially) 53 compute_bounds(const SkDeque& layers, const SkPath& path, const SkMatrix& matrix, const SkIRect* clipBounds, SkIRect* bounds) argument
|
/external/chromium_org/third_party/skia/src/effects/gradients/ |
H A D | SkTwoPointRadialGradient.cpp | 73 fDstToIndex matrix in the constructor). 184 SkMatrix* matrix, 190 if (matrix) { 194 if (matrix) { 197 matrix->setSinCos(-SkScalarMul(invDiffL, fDiff.fY), 200 matrix->reset(); 202 matrix->preConcat(fPtsToUnit); 455 const SkMatrix& matrix, 457 return SkNEW_ARGS(GrRadial2Gradient, (ctx, shader, matrix, tm)); 486 const SkMatrix& matrix, 182 asABitmap( SkBitmap* bitmap, SkMatrix* matrix, SkShader::TileMode* xy) const argument [all...] |
/external/chromium_org/third_party/skia/src/gpu/ |
H A D | GrSWMaskHelper.cpp | 161 const SkMatrix* matrix, 163 if (matrix) { 164 fMatrix = *matrix; 311 * Software rasterizes path to A8 mask (possibly using the context's matrix) 320 SkMatrix* matrix) { 323 if (!helper.init(resultBounds, matrix)) { 355 // We want to use device coords to compute the texture coordinates. We set our matrix to be 356 // equal to the view matrix followed by a translation so that the top-left of the device bounds 357 // maps to 0,0, and then a scaling matrix to normalized coords. We apply this matrix t 160 init(const SkIRect& resultBounds, const SkMatrix* matrix, bool allowCompression) argument 315 DrawPathMaskToTexture(GrContext* context, const SkPath& path, const SkStrokeRec& stroke, const SkIRect& resultBounds, bool antiAlias, SkMatrix* matrix) argument [all...] |
/external/chromium_org/third_party/skia/src/gpu/effects/ |
H A D | GrBicubicEffect.cpp | 141 const SkMatrix &matrix, 143 : INHERITED(texture, matrix, GrTextureParams(tileModes, GrTextureParams::kNone_FilterMode)) 150 const SkMatrix &matrix, 152 : INHERITED(texture, matrix, GrTextureParams(SkShader::kClamp_TileMode, 195 bool GrBicubicEffect::ShouldUseBicubic(const SkMatrix& matrix, argument 197 if (matrix.isIdentity()) { 203 if (!matrix.getMinMaxScales(scales) || scales[0] < SK_Scalar1) { 209 // At this point if scales[1] == SK_Scalar1 then the matrix doesn't do any scaling. 211 if (matrix.rectStaysRect() && SkScalarIsInt(matrix 139 GrBicubicEffect(GrTexture* texture, const SkScalar coefficients[16], const SkMatrix &matrix, const SkShader::TileMode tileModes[2]) argument 148 GrBicubicEffect(GrTexture* texture, const SkScalar coefficients[16], const SkMatrix &matrix, const SkRect& domain) argument [all...] |
H A D | GrConfigConversionEffect.cpp | 108 const SkMatrix& matrix) 109 : GrSingleTextureEffect(texture, matrix) 267 const SkMatrix& matrix) { 272 return GrSimpleTextureEffect::Create(texture, matrix); 283 matrix)); 105 GrConfigConversionEffect(GrTexture* texture, bool swapRedAndBlue, PMConversion pmConversion, const SkMatrix& matrix) argument 264 Create(GrTexture* texture, bool swapRedAndBlue, PMConversion pmConversion, const SkMatrix& matrix) argument
|
H A D | GrTextureDomain.cpp | 226 const SkMatrix& matrix, 234 return GrSimpleTextureEffect::Create(texture, matrix, filterMode); 238 matrix, 247 const SkMatrix& matrix, 252 : GrSingleTextureEffect(texture, matrix, filterMode, coordSet) 297 const SkMatrix& matrix = GrProcessorUnitTest::TestMatrix(random); local 301 matrix, 225 Create(GrTexture* texture, const SkMatrix& matrix, const SkRect& domain, GrTextureDomain::Mode mode, GrTextureParams::FilterMode filterMode, GrCoordSet coordSet) argument 246 GrTextureDomainEffect(GrTexture* texture, const SkMatrix& matrix, const SkRect& domain, GrTextureDomain::Mode mode, GrTextureParams::FilterMode filterMode, GrCoordSet coordSet) argument
|
/external/chromium_org/third_party/skia/src/pdf/ |
H A D | SkPDFDeviceFlattener.cpp | 63 SkMatrix matrix = SkMatrix::I(); local 64 draw.fMatrix = &matrix; 109 SkMatrix matrix = SkMatrix::I(); local 110 draw.fMatrix = &matrix; 136 const SkPath& path, const SkMatrix* matrix, 138 if (mustPathText(d, paint) || (matrix && matrix->hasPerspective())) { 139 d.drawTextOnPath((const char*)text, len, path, matrix, paint); 142 INHERITED::drawTextOnPath(d, text, len, path, matrix, paint); 135 drawTextOnPath(const SkDraw& d, const void* text, size_t len, const SkPath& path, const SkMatrix* matrix, const SkPaint& paint) argument
|
H A D | SkPDFUtils.cpp | 32 SkPDFArray* SkPDFUtils::MatrixToArray(const SkMatrix& matrix) { argument 34 if (!matrix.asAffine(values)) { 47 void SkPDFUtils::AppendTransform(const SkMatrix& matrix, SkWStream* content) { argument 49 if (!matrix.asAffine(values)) {
|
/external/chromium_org/third_party/skia/src/utils/ |
H A D | SkCanvasStateUtils.cpp | 49 float matrix[9]; member in struct:SkMCState 160 static void setup_MC_state(SkMCState* state, const SkMatrix& matrix, const SkRegion& clip) { argument 164 // capture the matrix 166 state->matrix[i] = matrix.get(i); 211 // decompose the total matrix and clip 253 setup_MC_state(&layerState->mcState, layer.matrix(), layer.clip()); 274 // reconstruct the matrix 275 SkMatrix matrix; local 277 matrix [all...] |
H A D | SkCullPoints.cpp | 180 SkMatrix matrix; local 181 matrix.setRectToRect(bounds, limit, SkMatrix::kFill_ScaleToFit); 183 path.transform(matrix, &devPath); 184 matrix.mapRect(&devTarget, target);
|
/external/chromium_org/third_party/skia/src/utils/debugger/ |
H A D | SkDebugCanvas.h | 64 Returns the most recently calculated transformation matrix 150 void setUserMatrix(SkMatrix matrix) { argument 151 fUserMatrix = matrix; 241 const SkMatrix* matrix, const SkPaint&) SK_OVERRIDE;
|
H A D | SkObjectParser.cpp | 95 SkString* SkObjectParser::MatrixToString(const SkMatrix& matrix) { argument 98 matrix.toString(str);
|
/external/chromium_org/third_party/skia/src/views/ |
H A D | SkWindow.cpp | 40 void SkWindow::setMatrix(const SkMatrix& matrix) { argument 41 if (fMatrix != matrix) { 42 fMatrix = matrix; 47 void SkWindow::preConcat(const SkMatrix& matrix) { argument 49 m.setConcat(fMatrix, matrix); 53 void SkWindow::postConcat(const SkMatrix& matrix) { argument 55 m.setConcat(matrix, fMatrix);
|
/external/chromium_org/third_party/skia/tests/ |
H A D | DrawBitmapRectTest.cpp | 177 SkMatrix matrix; local 180 matrix.setAll(-119.34097f, 187 c.concat(matrix); 195 matrix.setAll(0.0078740157f, 203 SkShader::kRepeat_TileMode, &matrix); 215 * Original bug was asserting that the matrix-proc had generated a (Y) value
|
/external/chromium_org/ui/gfx/ |
H A D | nine_image_painter.cc | 109 SkMatrix matrix = canvas->sk_canvas()->getTotalMatrix(); local 111 matrix.mapRect(&scaled_rect, RectToSkRect(bounds));
|
/external/eigen/Eigen/src/Core/ |
H A D | IO.h | 42 * - \b matPrefix string printed at the beginning of the matrix 43 * - \b matSuffix string printed at the end of the matrix 77 * \brief Pseudo expression providing matrix output with given format 94 WithFormat(const ExpressionType& matrix, const IOFormat& format) argument 95 : m_matrix(matrix), m_format(format) 108 /** \returns a WithFormat proxy object allowing to print a matrix the with given 151 * print the matrix \a _m to the output stream \a s using the output format \a fmt */ 231 * Outputs the matrix, to the given stream. 233 * If you wish to print the matrix with a format different than the default, use DenseBase::format().
|
H A D | MatrixBase.h | 21 * This class is the base that is inherited by all matrix, vector, and related expression 26 * for all functions related to matrix inversions. 28 * \tparam Derived is the derived type, e.g. a matrix type, or an expression, etc. 31 * to take as argument any matrix, vector, or expression, just let it take a 33 * a matrix, vector, or expression \a x, prints the first row of \a x. 94 /** type of the equivalent square matrix */ 103 /** \brief The plain matrix type corresponding to this expression. 106 * the return type of eval() is a const reference to a matrix, not a matrix! It is however guaranteed 118 /** \internal Represents a matrix wit 317 MatrixBase<Derived>& matrix() { return *this; } function in class:Eigen::MatrixBase 318 const MatrixBase<Derived>& matrix() const { return *this; } function in class:Eigen::MatrixBase [all...] |
H A D | Reverse.h | 20 * \brief Expression of the reverse of a vector or matrix 98 inline Reverse(const MatrixType& matrix) : m_matrix(matrix) { } argument 207 * of a matrix. However, when reversing the matrix data itself is really needed,
|
H A D | SelfAdjointView.h | 19 * \brief Expression of a selfadjoint matrix from a triangular part of a dense matrix 21 * \param MatrixType the type of the dense matrix storing the coefficients 24 * This class is an expression of a sefladjoint matrix from a triangular part of a matrix 62 /** \brief The type of coefficients in this matrix */ 72 inline SelfAdjointView(MatrixType& matrix) : m_matrix(matrix) argument 104 /** Efficient self-adjoint matrix times vector/matrix produc [all...] |