Searched refs:matrix (Results 101 - 125 of 274) sorted by relevance

1234567891011

/external/skia/src/core/
H A DSkScalerContext.cpp351 SkMatrix matrix; local
354 fRec.getMatrixFrom2x2(&matrix);
357 if (fMaskFilter->filterMask(&dst, src, matrix, NULL)) {
424 SkMatrix matrix; local
439 matrix.setTranslate(-SkIntToScalar(glyph->fLeft),
447 draw.fMatrix = &matrix;
462 SkMatrix matrix; local
467 fRec.getMatrixFrom2x2(&matrix);
469 if (fMaskFilter->filterMask(&dstM, srcM, matrix, NULL)) {
544 SkMatrix matrix, invers local
[all...]
H A DSkFlattenable.cpp7 void SkReadMatrix(SkReader32* reader, SkMatrix* matrix) { argument
8 size_t size = matrix->unflatten(reader->peek());
13 void SkWriteMatrix(SkWriter32* writer, const SkMatrix& matrix) { argument
14 size_t size = matrix.flatten(NULL);
16 matrix.flatten(writer->reserve(size));
H A DSkPictureRecord.cpp109 bool SkPictureRecord::concat(const SkMatrix& matrix) { argument
112 addMatrix(matrix);
114 return this->INHERITED::concat(matrix);
117 void SkPictureRecord::setMatrix(const SkMatrix& matrix) { argument
120 addMatrix(matrix);
122 this->INHERITED::setMatrix(matrix);
225 void SkPictureRecord::drawBitmapMatrix(const SkBitmap& bitmap, const SkMatrix& matrix, argument
230 addMatrix(matrix);
369 const SkPath& path, const SkMatrix* matrix,
375 addMatrixPtr(matrix);
368 drawTextOnPath(const void* text, size_t byteLength, const SkPath& path, const SkMatrix* matrix, const SkPaint& paint) argument
465 addMatrix(const SkMatrix& matrix) argument
469 addMatrixPtr(const SkMatrix* matrix) argument
573 find(SkTDArray<const SkFlatMatrix* >& matrices, const SkMatrix* matrix) argument
729 const SkFlatMatrix* matrix = fMatrices[index]; local
[all...]
H A DSkCanvas.cpp67 The clip/matrix/proc are fields that reflect the top of the save/restore
79 // optional, related to canvas' external matrix
138 // default is to assume no external matrix
155 Since a level optionally copies the matrix and/or stack, we have pointers
624 void SkCanvas::prepareForDeviceDraw(SkDevice* device, const SkMatrix& matrix, argument
629 device->gainFocus(this, matrix, clip, clipStack);
832 const SkMatrix& matrix, const SkPaint* paint) {
841 this->commonDrawBitmap(bitmap, srcRect, matrix, *paint);
890 bool SkCanvas::concat(const SkMatrix& matrix) { argument
894 return fMCRec->fMatrix->preConcat(matrix);
831 internalDrawBitmap(const SkBitmap& bitmap, const SkIRect* srcRect, const SkMatrix& matrix, const SkPaint* paint) argument
897 setMatrix(const SkMatrix& matrix) argument
907 SkMatrix matrix; local
1164 setExternalMatrix(const SkMatrix* matrix) argument
1274 SkMatrix matrix; local
1292 SkMatrix matrix; local
1325 drawBitmapMatrix(const SkBitmap& bitmap, const SkMatrix& matrix, const SkPaint* paint) argument
1331 commonDrawBitmap(const SkBitmap& bitmap, const SkIRect* srcRect, const SkMatrix& matrix, const SkPaint& paint) argument
1426 drawTextOnPath(const void* text, size_t byteLength, const SkPath& path, const SkMatrix* matrix, const SkPaint& paint) argument
1440 drawPosTextOnPath(const void* text, size_t byteLength, const SkPoint pos[], const SkPaint& paint, const SkPath& path, const SkMatrix* matrix) argument
1611 SkMatrix matrix; local
1654 const SkMatrix& SkCanvas::LayerIter::matrix() const { function in class:SkCanvas::LayerIter
[all...]
H A DSkComposeShader.cpp87 const SkMatrix& matrix) {
88 if (!this->INHERITED::setContext(device, paint, matrix)) {
92 // we preconcat our localMatrix (if any) with the device matrix
98 tmpM.setConcat(matrix, tmpM);
85 setContext(const SkBitmap& device, const SkPaint& paint, const SkMatrix& matrix) argument
/external/skia/src/views/
H A DSkWindow.cpp63 void SkWindow::setMatrix(const SkMatrix& matrix) { argument
64 if (fMatrix != matrix) {
65 fMatrix = matrix;
70 void SkWindow::preConcat(const SkMatrix& matrix) { argument
72 m.setConcat(fMatrix, matrix);
76 void SkWindow::postConcat(const SkMatrix& matrix) { argument
78 m.setConcat(matrix, fMatrix);
/external/freetype/src/cff/
H A Dcffobjs.c613 /* Normalize the font matrix so that `matrix->xx' is 1; the */
616 /* normalization of the matrix). */
622 FT_Matrix* matrix = &dict->font_matrix; local
625 FT_Fixed temp = FT_ABS( matrix->yy );
632 matrix->xx = FT_DivFix( matrix->xx, temp );
633 matrix->yx = FT_DivFix( matrix->yx, temp );
634 matrix
649 FT_Matrix* matrix; local
[all...]
H A Dcffparse.c449 FT_Matrix* matrix = &dict->font_matrix; local
463 /* We expect a well-formed font matrix, this is, the matrix elements */
469 matrix->xx = cff_parse_fixed_dynamic( data++, &scaling );
475 /* Return default matrix in case of unlikely values. */
480 " using default matrix\n", scaling ));
482 matrix->xx = 0x10000L;
483 matrix->yx = 0;
484 matrix->xy = 0;
485 matrix
[all...]
/external/webkit/Source/WebCore/platform/graphics/chromium/
H A DGLES2Canvas.cpp289 AffineTransform matrix(m_flipMatrix);
290 matrix *= m_state->m_ctm;
291 matrix.translate(rect.x(), rect.y());
292 matrix.scale(rect.width(), rect.height());
295 m_context->useFillSolidProgram(matrix, color);
456 AffineTransform matrix(m_flipMatrix);
457 matrix.translate(dstRect.x(), dstRect.y());
458 matrix.scale(dstRect.width(), dstRect.height());
466 m_context->useConvolutionProgram(matrix, texMatrix, kernel, kernelWidth, imageIncrement);
492 AffineTransform matrix(m_flipMatri
[all...]
/external/skia/include/pdf/
H A DSkPDFDevice.h100 const SkMatrix& matrix, const SkPaint& paint);
109 const SkPath& path, const SkMatrix* matrix,
194 const SkMatrix& matrix,
202 void populateGraphicStateEntryFromPaint(const SkMatrix& matrix,
215 void internalDrawBitmap(const SkMatrix& matrix,
/external/webkit/Source/WebCore/rendering/svg/
H A DRenderSVGResourceGradient.cpp130 AffineTransform matrix; local
133 matrix.translate(maskBoundingBox.x(), maskBoundingBox.y());
134 matrix.scaleNonUniform(maskBoundingBox.width(), maskBoundingBox.height());
136 matrix *= gradientTransform;
137 return matrix;
/external/opencv/cv/src/
H A D_cvimgproc.h115 uchar* dst, int dst_step, CvSize win_size, const float *matrix );
118 float* dst, int dst_step, CvSize win_size, const float *matrix );
121 float* dst, int dst_step, CvSize win_size, const float *matrix );
/external/skia/gpu/src/
H A DGrDrawTarget.cpp338 void GrDrawTarget::preConcatViewMatrix(const GrMatrix& matrix) {
339 fCurrDrawState.fViewMatrix.preConcat(matrix);
342 void GrDrawTarget::postConcatViewMatrix(const GrMatrix& matrix) {
343 fCurrDrawState.fViewMatrix.postConcat(matrix);
350 bool GrDrawTarget::getViewInverse(GrMatrix* matrix) const {
356 if (matrix) {
357 *matrix = inverse;
577 const GrMatrix* matrix,
585 SetRectVertices(rect, matrix, srcRects,
609 const GrMatrix* matrix,
[all...]
/external/skia/include/core/
H A DSkBlitter.h51 const SkMatrix& matrix,
53 return Choose(device, matrix, paint, NULL, 0);
57 const SkMatrix& matrix,
50 Choose(const SkBitmap& device, const SkMatrix& matrix, const SkPaint& paint) argument
/external/skia/include/gpu/
H A DSkGpuDevice.h82 virtual void setMatrixClip(const SkMatrix& matrix, const SkRegion& clip,
95 const SkMatrix& matrix, const SkPaint& paint);
104 const SkPath& path, const SkMatrix* matrix,
163 // doesn't set the texture/sampler/matrix state
/external/skia/include/utils/
H A DSkDumpCanvas.h66 virtual bool concat(const SkMatrix& matrix);
67 virtual void setMatrix(const SkMatrix& matrix);
97 const SkPath& path, const SkMatrix* matrix,
H A DSkNWayCanvas.h27 virtual bool concat(const SkMatrix& matrix);
28 virtual void setMatrix(const SkMatrix& matrix);
57 const SkPath& path, const SkMatrix* matrix,
H A DSkProxyCanvas.h33 virtual bool concat(const SkMatrix& matrix);
34 virtual void setMatrix(const SkMatrix& matrix);
64 const SkPath& path, const SkMatrix* matrix,
/external/skia/src/effects/
H A DSkBlurMaskFilter.cpp29 virtual bool filterMask(SkMask* dst, const SkMask& src, const SkMatrix& matrix, SkIPoint* margin);
87 bool SkBlurMaskFilterImpl::filterMask(SkMask* dst, const SkMask& src, const SkMatrix& matrix, SkIPoint* margin) argument
93 radius = matrix.mapRadius(fRadius);
H A DSkEmbossMaskFilter.cpp76 const SkMatrix& matrix, SkIPoint* margin) {
77 SkScalar radius = matrix.mapRadius(fBlurRadius);
106 // run the light direction through the matrix...
108 matrix.mapVectors((SkVector*)(void*)light.fDirection,
75 filterMask(SkMask* dst, const SkMask& src, const SkMatrix& matrix, SkIPoint* margin) argument
/external/webkit/Source/WebCore/platform/graphics/skia/
H A DGradientSkia.cpp176 SkMatrix matrix = m_gradientSpaceTransformation; local
177 m_gradient->setLocalMatrix(matrix);
187 void Gradient::setPlatformGradientSpaceTransform(const AffineTransform& matrix) argument
/external/webkit/Source/WebCore/platform/win/
H A DDragImageCairoWin.cpp78 cairo_matrix_t matrix; local
79 cairo_matrix_init(&matrix, 1.0, 0.0, 0.0, -1.0, 0.0, size.height());
80 cairo_set_matrix(cr, &matrix);
/external/chromium/webkit/glue/media/
H A Dvideo_renderer_impl.cc95 // 1. No skew in canvas matrix.
123 // 1. Check for skewing factors of the transformation matrix. They should be
186 SkMatrix matrix; local
187 matrix.setTranslate(static_cast<SkScalar>(dest_rect.x()),
191 matrix.preScale(SkIntToScalar(dest_rect.width()) /
198 canvas->drawBitmapMatrix(bitmap_, matrix, &paint);
304 void VideoRendererImpl::TransformToSkIRect(const SkMatrix& matrix, argument
312 matrix.mapRect(&transformed_rect, skia_dest_rect);
/external/webkit/Source/WebCore/platform/graphics/android/
H A DLayerAndroid.cpp667 // turn our fields into a matrix.
671 SkMatrix matrix; local
672 GLUtils::toSkMatrix(matrix, m_transform);
673 this->setMatrix(matrix);
707 // adjust the translation coordinates of the draw transform matrix so
1089 SkMatrix matrix; local
1090 GLUtils::toSkMatrix(matrix, m_drawTransform);
1092 matrix.postConcat(canvasMatrix);
1093 canvas->setMatrix(matrix);
1388 void writeMatrix(FILE* file, int indentLevel, const char* str, const TransformationMatrix& matrix) argument
[all...]
/external/webkit/Source/WebCore/platform/graphics/cg/
H A DImageCG.cpp329 CGAffineTransform matrix = CGAffineTransformMake(narrowPrecisionToCGFloat(patternTransform.a()), 0, 0, narrowPrecisionToCGFloat(patternTransform.d()), adjustedX, adjustedY); local
330 matrix = CGAffineTransformConcat(matrix, CGContextGetCTM(context));
332 matrix = CGAffineTransformTranslate(matrix, 0, size().height() - h);
334 matrix, tileRect.width(), tileRect.height(),

Completed in 891 milliseconds

1234567891011