Searched defs:ctm (Results 1 - 25 of 63) sorted by relevance

123

/external/chromium_org/third_party/skia/src/effects/
H A DSkComposeImageFilter.cpp30 const SkMatrix& ctm,
36 return inner->filterBounds(src, ctm, &tmp) && outer->filterBounds(tmp, ctm, dst);
29 onFilterBounds(const SkIRect& src, const SkMatrix& ctm, SkIRect* dst) const argument
H A DSkBitmapSource.cpp63 ctx.ctm().mapRect(&dstRect, fDstRect);
101 bool SkBitmapSource::onFilterBounds(const SkIRect& src, const SkMatrix& ctm, argument
H A DSkDropShadowImageFilter.cpp86 ctx.ctm().mapVectors(&sigma, 1);
97 ctx.ctm().mapVectors(&offsetVec, 1);
122 bool SkDropShadowImageFilter::onFilterBounds(const SkIRect& src, const SkMatrix& ctm, argument
126 ctm.mapVectors(&offsetVec, 1);
130 ctm.mapVectors(&sigma, 1);
134 if (getInput(0) && !getInput(0)->filterBounds(bounds, ctm, &bounds)) {
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.cpp85 ctx.ctm().mapRect(&floatBounds, fCropRect);
105 canvas.concat(ctx.ctm());
114 bool SkPictureImageFilter::onFilterBounds(const SkIRect& src, const SkMatrix& ctm, argument
H A DSkTileImageFilter.cpp38 ctx.ctm().mapRect(&dstRect, fDstRect);
48 ctx.ctm().mapRect(&srcRect, fSrcRect);
86 bool SkTileImageFilter::onFilterBounds(const SkIRect& src, const SkMatrix& ctm, argument
89 ctm.mapRect(&srcRect, fSrcRect);
H A DSkMatrixImageFilter.cpp76 if (!ctx.ctm().invert(&matrix)) {
80 matrix.postConcat(ctx.ctm());
116 bool SkMatrixImageFilter::onFilterBounds(const SkIRect& src, const SkMatrix& ctm, argument
123 if (!ctm.invert(&matrix)) {
127 matrix.postConcat(ctm);
132 if (getInput(0) && !getInput(0)->filterBounds(bounds, ctm, &bounds)) {
H A DSkDashPathEffect.cpp59 const SkMatrix& ctm, const SkRect* cullRect,
77 // defined by the ctm. We want our answer in the local coordinate system.
79 SkASSERT(ctm.rectStaysRect());
81 if (!ctm.invert(&inv)) {
58 cull_line(SkPoint* pts, const SkStrokeRec& rec, const SkMatrix& ctm, const SkRect* cullRect, const SkScalar intervalLength) argument
/external/skia/src/effects/
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 DSkBitmapSource.cpp51 ctx.ctm().mapRect(&dstRect, fDstRect);
89 bool SkBitmapSource::onFilterBounds(const SkIRect& src, const SkMatrix& ctm, argument
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 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 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 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);
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)) {
/external/chromium_org/third_party/skia/gm/
H A Dpictureshader.cpp69 SkMatrix ctm, localMatrix; local
71 ctm.setTranslate(pos.x(), pos.y());
72 ctm.preScale(scale, scale);
74 this->drawScene(canvas, ctm, localMatrix, tileMode);
76 ctm.setTranslate(pos.x(), pos.y() + fSceneSize * 1.2f * scale);
77 ctm.preScale(scale, scale);
80 this->drawScene(canvas, ctm, localMatrix, tileMode);
82 ctm.setTranslate(pos.x(), pos.y() + fSceneSize * 2.4f * scale);
83 ctm.preScale(scale, scale);
86 this->drawScene(canvas, ctm, localMatri
[all...]
/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/chromium_org/third_party/WebKit/Source/core/html/canvas/
H A DHitRegion.cpp96 void HitRegionManager::removeHitRegionsInRect(const FloatRect& rect, const AffineTransform& ctm) argument
100 clearArea.transform(ctm);
/external/chromium_org/third_party/skia/include/core/
H A DSkImageFilter.h66 Context(const SkMatrix& ctm, const SkIRect& clipBounds, Cache* cache) : argument
67 fCTM(ctm), fClipBounds(clipBounds), fCache(cache) {
69 const SkMatrix& ctm() const { return fCTM; } function in class:SkImageFilter::Context
112 bool filterBounds(const SkIRect& src, const SkMatrix& ctm, SkIRect* dst) const;
/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/chromium_org/ash/touch/
H A Dtouch_transformer_controller.cc79 gfx::Transform ctm; local
83 return ctm;
86 ctm.Scale(width / fb_size.width(), height / fb_size.height());
87 return ctm;
126 gfx::Transform ctm; local
128 return ctm;
146 return ctm;
155 ctm.Translate(0.0, (1.0 - mirror_ar / native_ar) * 0.5 * mirror_height);
156 ctm.Scale(1.0, mirror_ar / native_ar);
157 return ctm;
[all...]
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
H A DRenderSVGResourceFilter.cpp171 AffineTransform ctm = context->getCTM(); local
172 if (ctm.b() || ctm.c()) {
174 scaleAndTranslate.translate(ctm.e(), ctm.f());
175 scaleAndTranslate.scale(ctm.xScale(), ctm.yScale());
178 shearAndRotate.multiply(ctm);
H A DSVGRenderingContext.cpp200 AffineTransform ctm; local
203 calculateDeviceSpaceTransformation(renderer, ctm);
204 return narrowPrecisionToFloat(sqrt((pow(ctm.xScale(), 2) + pow(ctm.yScale(), 2)) / 2));
/external/chromium_org/third_party/WebKit/Source/core/svg/
H A DSVGGraphicsElement.cpp48 AffineTransform ctm = getCTM(AllowStyleUpdate); local
56 ctm = targetCTM.inverse() * ctm;
59 return SVGMatrixTearOff::create(ctm);
76 AffineTransform ctm; local
84 ctm = toSVGElement(currentElement)->localCoordinateSpaceTransform(mode).multiply(ctm);
101 return ctm;
/external/chromium_org/third_party/skia/src/gpu/
H A DGrLayerCache.cpp123 const SkMatrix& ctm,
127 GrCachedLayer* layer = SkNEW_ARGS(GrCachedLayer, (pictureID, start, stop, offset, ctm, paint));
135 const SkMatrix& ctm) {
137 return fLayerHash.find(GrCachedLayer::Key(pictureID, start, stop, offset, ctm));
143 const SkMatrix& ctm,
146 GrCachedLayer* layer = fLayerHash.find(GrCachedLayer::Key(pictureID, start, stop, offset, ctm));
148 layer = this->createLayer(pictureID, start, stop, offset, ctm, paint);
120 createLayer(uint32_t pictureID, int start, int stop, const SkIPoint& offset, const SkMatrix& ctm, const SkPaint* paint) argument
132 findLayer(uint32_t pictureID, int start, int stop, const SkIPoint& offset, const SkMatrix& ctm) argument
140 findLayerOrCreate(uint32_t pictureID, int start, int stop, const SkIPoint& offset, const SkMatrix& ctm, const SkPaint* paint) argument

Completed in 455 milliseconds

123