HomeSort by relevance Sort by last modified time
    Searched refs:ctm (Results 1 - 25 of 95) sorted by null

1 2 3 4

  /external/chromium_org/third_party/skia/gm/
pictureshader.cpp 71 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, localMatrix, tileMode)
    [all...]
  /external/chromium_org/third_party/skia/src/effects/
SkComposeImageFilter.cpp 38 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);
SkMatrixImageFilter.cpp 64 if (!ctx.ctm().invert(&matrix)) {
68 matrix.postConcat(ctx.ctm());
104 bool SkMatrixImageFilter::onFilterBounds(const SkIRect& src, const SkMatrix& ctm,
111 if (!ctm.invert(&matrix)) {
115 matrix.postConcat(ctm);
120 if (getInput(0) && !getInput(0)->filterBounds(bounds, ctm, &bounds)) {
SkTileImageFilter.cpp 30 ctx.ctm().mapRect(&dstRect, fDstRect);
40 ctx.ctm().mapRect(&srcRect, fSrcRect);
78 bool SkTileImageFilter::onFilterBounds(const SkIRect& src, const SkMatrix& ctm,
81 ctm.mapRect(&srcRect, fSrcRect);
SkOffsetImageFilter.cpp 34 ctx.ctm().mapVectors(&vec, &fOffset, 1);
59 ctx.ctm().mapVectors(&vec, &fOffset, 1);
79 bool SkOffsetImageFilter::onFilterBounds(const SkIRect& src, const SkMatrix& ctm,
82 ctm.mapVectors(&vec, &fOffset, 1);
88 return getInput(0)->filterBounds(bounds, ctm, dst);
SkPictureImageFilter.cpp 70 ctx.ctm().mapRect(&floatBounds, fCropRect);
87 canvas.concat(ctx.ctm());
96 bool SkPictureImageFilter::onFilterBounds(const SkIRect& src, const SkMatrix& ctm,
SkDropShadowImageFilter.cpp 85 ctx.ctm().mapVectors(&sigma, 1);
96 ctx.ctm().mapVectors(&offsetVec, 1);
121 bool SkDropShadowImageFilter::onFilterBounds(const SkIRect& src, const SkMatrix& ctm,
124 if (getInput(0) && !getInput(0)->filterBounds(src, ctm, &bounds)) {
128 ctm.mapVectors(&offsetVec, 1);
132 ctm.mapVectors(&sigma, 1);
SkBitmapSource.cpp 51 ctx.ctm().mapRect(&dstRect, fDstRect);
89 bool SkBitmapSource::onFilterBounds(const SkIRect& src, const SkMatrix& ctm,
  /external/skia/gm/
pictureshader.cpp 71 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, localMatrix, tileMode)
    [all...]
  /external/skia/src/effects/
SkComposeImageFilter.cpp 38 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);
SkMatrixImageFilter.cpp 64 if (!ctx.ctm().invert(&matrix)) {
68 matrix.postConcat(ctx.ctm());
104 bool SkMatrixImageFilter::onFilterBounds(const SkIRect& src, const SkMatrix& ctm,
111 if (!ctm.invert(&matrix)) {
115 matrix.postConcat(ctm);
120 if (getInput(0) && !getInput(0)->filterBounds(bounds, ctm, &bounds)) {
SkTileImageFilter.cpp 30 ctx.ctm().mapRect(&dstRect, fDstRect);
40 ctx.ctm().mapRect(&srcRect, fSrcRect);
78 bool SkTileImageFilter::onFilterBounds(const SkIRect& src, const SkMatrix& ctm,
81 ctm.mapRect(&srcRect, fSrcRect);
SkOffsetImageFilter.cpp 34 ctx.ctm().mapVectors(&vec, &fOffset, 1);
59 ctx.ctm().mapVectors(&vec, &fOffset, 1);
79 bool SkOffsetImageFilter::onFilterBounds(const SkIRect& src, const SkMatrix& ctm,
82 ctm.mapVectors(&vec, &fOffset, 1);
88 return getInput(0)->filterBounds(bounds, ctm, dst);
SkPictureImageFilter.cpp 70 ctx.ctm().mapRect(&floatBounds, fCropRect);
87 canvas.concat(ctx.ctm());
96 bool SkPictureImageFilter::onFilterBounds(const SkIRect& src, const SkMatrix& ctm,
SkDropShadowImageFilter.cpp 85 ctx.ctm().mapVectors(&sigma, 1);
96 ctx.ctm().mapVectors(&offsetVec, 1);
121 bool SkDropShadowImageFilter::onFilterBounds(const SkIRect& src, const SkMatrix& ctm,
124 if (getInput(0) && !getInput(0)->filterBounds(src, ctm, &bounds)) {
128 ctm.mapVectors(&offsetVec, 1);
132 ctm.mapVectors(&sigma, 1);
  /external/chromium_org/third_party/skia/include/core/
SkMaskFilter.h 55 @param matrix the CTM
77 const SkMatrix& ctm) const;
93 const SkMatrix& ctm,
122 const SkMatrix& ctm,
207 bool filterPath(const SkPath& devPath, const SkMatrix& ctm, const SkRasterClip&, SkBlitter*,
214 bool filterRRect(const SkRRect& devRRect, const SkMatrix& ctm, const SkRasterClip&,
SkImageFilter.h 64 Context(const SkMatrix& ctm, const SkIRect& clipBounds, Cache* cache) :
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;
241 // coordinates (first parameter), and the CTM, compute (conservatively)
  /external/skia/include/core/
SkMaskFilter.h 55 @param matrix the CTM
77 const SkMatrix& ctm) const;
93 const SkMatrix& ctm,
122 const SkMatrix& ctm,
207 bool filterPath(const SkPath& devPath, const SkMatrix& ctm, const SkRasterClip&, SkBlitter*,
214 bool filterRRect(const SkRRect& devRRect, const SkMatrix& ctm, const SkRasterClip&,
SkImageFilter.h 64 Context(const SkMatrix& ctm, const SkIRect& clipBounds, Cache* cache) :
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;
241 // coordinates (first parameter), and the CTM, compute (conservatively)
  /external/chromium_org/ash/touch/
touch_transformer_controller.cc 33 gfx::Transform ctm; local
37 return ctm;
40 ctm.Scale(width / fb_size.width(), height / fb_size.height());
41 return ctm;
78 gfx::Transform ctm; local
80 return ctm;
98 return ctm;
107 ctm.Translate(0.0, (1.0 - mirror_ar / native_ar) * 0.5 * mirror_height);
108 ctm.Scale(1.0, mirror_ar / native_ar);
109 return ctm;
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/svg/
SVGGraphicsElement.cpp 48 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/include/effects/
SkBitmapSource.h 35 virtual bool onFilterBounds(const SkIRect& src, const SkMatrix& ctm, SkIRect* dst) const SK_OVERRIDE;
SkMorphologyImageFilter.h 19 virtual bool onFilterBounds(const SkIRect& src, const SkMatrix& ctm, SkIRect* dst) const SK_OVERRIDE;
42 const Context& ctm, SkBitmap* result,
  /external/skia/include/effects/
SkBitmapSource.h 35 virtual bool onFilterBounds(const SkIRect& src, const SkMatrix& ctm, SkIRect* dst) const SK_OVERRIDE;
  /external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
RenderSVGResourceFilter.cpp 173 // Scale the CTM so the primitive is drawn to filterRes.
180 // If the CTM contains rotation or shearing, apply the filter to
183 AffineTransform ctm = context->getCTM(); local
184 if (ctm.b() || ctm.c()) {
186 scaleAndTranslate.translate(ctm.e(), ctm.f());
187 scaleAndTranslate.scale(ctm.xScale(), ctm.yScale());
190 shearAndRotate.multiply(ctm);
    [all...]

Completed in 194 milliseconds

1 2 3 4