Searched defs:ctm (Results 1 - 25 of 63) sorted by last modified time

123

/external/skia/src/core/
H A DSkDraw.cpp1363 bool SkDraw::ShouldDrawTextAsPaths(const SkPaint& paint, const SkMatrix& ctm) { argument
1370 if (ctm.hasPerspective()) {
1375 return SkPaint::TooBigToUseCache(ctm, *paint.setTextMatrix(&textM));
H A DSkImageFilter.cpp121 bool SkImageFilter::filterBounds(const SkIRect& src, const SkMatrix& ctm, argument
135 return this->onFilterBounds(src, ctm, dst);
203 SkMatrix matrix(ctx.ctm());
226 ctx.ctm().mapRect(&cropRect, fCropRect.rect());
247 ctx.ctm().mapRect(&cropRect, fCropRect.rect());
276 bool SkImageFilter::onFilterBounds(const SkIRect& src, const SkMatrix& ctm, argument
286 if (filter && !filter->filterBounds(src, ctm, &rect)) {
H A DSkMaskFilter.cpp307 const SkMatrix& ctm,
328 const SkMatrix& ctm,
305 canFilterMaskGPU(const SkRect& devBounds, const SkIRect& clipBounds, const SkMatrix& ctm, SkRect* maskRect) const argument
327 filterMaskGPU(GrTexture* src, const SkMatrix& ctm, const SkRect& maskRect, GrTexture** result, bool canOverwriteSrc) const argument
H A DSkPaint.cpp500 bool SkPaint::TooBigToUseCache(const SkMatrix& ctm, const SkMatrix& textM) { argument
501 SkASSERT(!ctm.hasPerspective());
505 matrix.setConcat(ctm, textM);
509 bool SkPaint::tooBigToUseCache(const SkMatrix& ctm) const {
511 return TooBigToUseCache(ctm, *this->setTextMatrix(&textM));
/external/skia/src/effects/
H A DSkBitmapSource.cpp51 ctx.ctm().mapRect(&dstRect, fDstRect);
89 bool SkBitmapSource::onFilterBounds(const SkIRect& src, const SkMatrix& ctm, argument
H A DSkBlurImageFilter.cpp172 ctx.ctm().mapVectors(&sigma, 1);
244 bool SkBlurImageFilter::onFilterBounds(const SkIRect& src, const SkMatrix& ctm, argument
247 if (getInput(0) && !getInput(0)->filterBounds(src, ctm, &bounds)) {
251 ctm.mapVectors(&sigma, 1);
272 ctx.ctm().mapVectors(&sigma, 1);
H A DSkBlurMaskFilter.cpp47 const SkMatrix& ctm,
59 const SkMatrix& ctm,
103 SkScalar computeXformedSigma(const SkMatrix& ctm) const {
106 SkScalar xformedSigma = ignoreTransform ? fSigma : ctm.mapRadius(fSigma);
791 SkMatrix ctm = context->getMatrix(); local
792 SkScalar xformedSigma = this->computeXformedSigma(ctm);
1074 SkMatrix ctm = context->getMatrix(); local
1075 SkScalar xformedSigma = this->computeXformedSigma(ctm);
1098 const SkMatrix& ctm,
1100 SkScalar xformedSigma = this->computeXformedSigma(ctm);
1096 canFilterMaskGPU(const SkRect& srcBounds, const SkIRect& clipBounds, const SkMatrix& ctm, SkRect* maskRect) const argument
1133 filterMaskGPU(GrTexture* src, const SkMatrix& ctm, const SkRect& maskRect, GrTexture** result, bool canOverwriteSrc) const argument
[all...]
H A DSkComposeImageFilter.cpp38 const SkMatrix& ctm,
48 return (outer ? outer : inner)->filterBounds(src, ctm, dst);
52 return inner->filterBounds(src, ctm, &tmp) &&
53 outer->filterBounds(tmp, ctm, dst);
37 onFilterBounds(const SkIRect& src, const SkMatrix& ctm, SkIRect* dst) const argument
H A DSkDisplacementMapEffect.cpp235 ctx.ctm().mapVectors(&scale, 1);
256 bool SkDisplacementMapEffect::onFilterBounds(const SkIRect& src, const SkMatrix& ctm, argument
260 ctm.mapVectors(&scale, 1);
264 return getColorInput()->filterBounds(bounds, ctm, dst);
398 ctx.ctm().mapVectors(&scale, 1);
H A DSkDropShadowImageFilter.cpp85 ctx.ctm().mapVectors(&sigma, 1);
96 ctx.ctm().mapVectors(&offsetVec, 1);
121 bool SkDropShadowImageFilter::onFilterBounds(const SkIRect& src, const SkMatrix& ctm, argument
124 if (getInput(0) && !getInput(0)->filterBounds(src, ctm, &bounds)) {
128 ctm.mapVectors(&offsetVec, 1);
132 ctm.mapVectors(&sigma, 1);
H A DSkMatrixConvolutionImageFilter.cpp311 bool SkMatrixConvolutionImageFilter::onFilterBounds(const SkIRect& src, const SkMatrix& ctm, argument
317 if (getInput(0) && !getInput(0)->filterBounds(bounds, ctm, &bounds)) {
H A DSkMatrixImageFilter.cpp64 if (!ctx.ctm().invert(&matrix)) {
68 matrix.postConcat(ctx.ctm());
104 bool SkMatrixImageFilter::onFilterBounds(const SkIRect& src, const SkMatrix& ctm, argument
111 if (!ctm.invert(&matrix)) {
115 matrix.postConcat(ctm);
120 if (getInput(0) && !getInput(0)->filterBounds(bounds, ctm, &bounds)) {
H A DSkMorphologyImageFilter.cpp172 ctx.ctm().mapVectors(&radius, 1);
246 bool SkMorphologyImageFilter::onFilterBounds(const SkIRect& src, const SkMatrix& ctm, argument
249 if (getInput(0) && !getInput(0)->filterBounds(src, ctm, &bounds)) {
254 ctm.mapVectors(&radius, 1);
550 ctx.ctm().mapVectors(&radius, 1);
H A DSkOffsetImageFilter.cpp34 ctx.ctm().mapVectors(&vec, &fOffset, 1);
59 ctx.ctm().mapVectors(&vec, &fOffset, 1);
79 bool SkOffsetImageFilter::onFilterBounds(const SkIRect& src, const SkMatrix& ctm, argument
82 ctm.mapVectors(&vec, &fOffset, 1);
88 return getInput(0)->filterBounds(bounds, ctm, dst);
H A DSkPictureImageFilter.cpp70 ctx.ctm().mapRect(&floatBounds, fCropRect);
87 canvas.concat(ctx.ctm());
96 bool SkPictureImageFilter::onFilterBounds(const SkIRect& src, const SkMatrix& ctm, argument
H A DSkTileImageFilter.cpp30 ctx.ctm().mapRect(&dstRect, fDstRect);
40 ctx.ctm().mapRect(&srcRect, fSrcRect);
78 bool SkTileImageFilter::onFilterBounds(const SkIRect& src, const SkMatrix& ctm, argument
81 ctm.mapRect(&srcRect, fSrcRect);
/external/skia/src/gpu/
H A DGrBitmapTextContext.cpp294 SkMatrix ctm = fContext->getMatrix(); local
300 SkTextMapStateProc tmsProc(ctm, constY, scalarsPerPosition);
305 SkAxisAlignment baseline = SkComputeAxisAlignmentForHText(ctm);
H A DGrDistanceFieldTextContext.cpp271 SkMatrix ctm; local
272 ctm.setScale(fTextRatio, fTextRatio);
273 ctm.postTranslate(sx, sy);
275 am.setPreConcat(fContext, ctm, &tmpPaint);
H A DSkGpuDevice.cpp799 const SkMatrix ctm = fContext->getMatrix(); local
822 ctm, maskRect, &filtered, true)) {
/external/skia/tests/
H A DPictureTest.cpp193 const SkMatrix& ctm = canvas->getTotalMatrix(); local
196 ctm.mapPoints(&p, 1);
211 const SkMatrix& ctm = canvas->getTotalMatrix();
214 ctm.mapPoints(&p, 1);
/external/skia/gm/
H A Dpictureshader.cpp71 SkMatrix ctm, localMatrix; local
73 ctm.setTranslate(pos.x(), pos.y());
74 ctm.preScale(scale, scale);
76 this->drawScene(canvas, ctm, localMatrix, tileMode);
78 ctm.setTranslate(pos.x(), pos.y() + fSceneSize * 1.2f * scale);
79 ctm.preScale(scale, scale);
82 this->drawScene(canvas, ctm, localMatrix, tileMode);
84 ctm.setTranslate(pos.x(), pos.y() + fSceneSize * 2.4f * scale);
85 ctm.preScale(scale, scale);
88 this->drawScene(canvas, ctm, localMatri
[all...]
/external/skia/include/core/
H A DSkImageFilter.h64 Context(const SkMatrix& ctm, const SkIRect& clipBounds, Cache* cache) : argument
65 fCTM(ctm), fClipBounds(clipBounds), fCache(cache) {
67 const SkMatrix& ctm() const { return fCTM; } function in class:SkImageFilter::Context
110 bool filterBounds(const SkIRect& src, const SkMatrix& ctm, SkIRect* dst) const;
/external/robolectric/lib/main/
H A Dandroid.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/android/ com/android/internal/ com/android/internal/util/ ...
/external/pdfium/core/src/fpdfapi/fpdf_render/
H A Dfpdf_render.cpp1370 CFX_Matrix ctm = m_pDevice->GetCTM(); local
1371 FX_FLOAT fScaleX = FXSYS_fabs(ctm.a);
1372 FX_FLOAT fScaleY = FXSYS_fabs(ctm.d);
/external/pdfium/core/src/fxge/apple/
H A Dfx_quartz_device.cpp197 CGAffineTransform ctm = CGContextGetCTM(_context); local
200 if (ctm.d >= 0) {
202 offset_x = ctm.tx;
203 offset_y = ctm.ty;
246 CGAffineTransform ctm = CGContextGetCTM(_context); local
247 return CFX_Matrix(ctm.a, ctm.b, ctm.c, ctm.d, ctm
283 getLineWidth(const CFX_GraphStateData * graphState, CGAffineTransform ctm) argument
515 CGAffineTransform ctm = CGContextGetCTM(_context); local
578 CGAffineTransform ctm = CGContextGetCTM(_context); local
856 CGAffineTransform ctm = CGContextGetCTM(_context); local
[all...]

Completed in 1548 milliseconds

123