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

1 2 3

  /external/skia/gm/
pictureshader.cpp 65 SkMatrix ctm, localMatrix; variable
66 ctm.setTranslate(fSceneSize * 2.1f, fSceneSize * 13.8f);
67 ctm.preScale(-1, -1);
69 this->drawScene(canvas, ctm, localMatrix, 0);
71 ctm.setTranslate(fSceneSize * 2.4f, fSceneSize * 12.8f);
73 this->drawScene(canvas, ctm, localMatrix, 0);
75 ctm.setTranslate(fSceneSize * 4.8f, fSceneSize * 12.3f);
76 ctm.preScale(2, 2);
77 this->drawScene(canvas, ctm, localMatrix, 0);
79 ctm.setTranslate(fSceneSize * 13.8f, fSceneSize * 14.3f)
90 SkMatrix ctm, localMatrix; local
    [all...]
lightingshader.cpp 96 const SkMatrix& ctm = canvas->getTotalMatrix(); local
99 SkVector invNormRotation = { ctm[SkMatrix::kMScaleX], ctm[SkMatrix::kMSkewY] };
  /external/skia/include/core/
SkMaskFilter.h 57 @param matrix the CTM
77 virtual bool asFragmentProcessor(GrFragmentProcessor**, GrTexture*, const SkMatrix& ctm) const;
107 const SkMatrix& ctm,
142 const SkMatrix& ctm,
230 bool filterPath(const SkPath& devPath, const SkMatrix& ctm, const SkRasterClip&, SkBlitter*,
237 bool filterRRect(const SkRRect& devRRect, const SkMatrix& ctm, const SkRasterClip&,
SkImageFilter.h 37 // This cache maps from (filter's unique ID + CTM + clipBounds + src bitmap generation ID) to
55 Context(const SkMatrix& ctm, const SkIRect& clipBounds, Cache* cache)
56 : fCTM(ctm)
61 const SkMatrix& ctm() const { return fCTM; } function in class:SkImageFilter::Context
169 bool filterBounds(const SkIRect& src, const SkMatrix& ctm, SkIRect* dst,
399 * transforming the crop rect by the context's CTM, applying it to the
  /external/skia/src/effects/
SkComposeImageFilter.cpp 36 SkMatrix outerMatrix(ctx.ctm());
50 const SkMatrix& ctm,
57 return inner->filterBounds(src, ctm, &tmp, direction) &&
58 outer->filterBounds(tmp, ctm, dst, direction);
SkOffsetImageFilter.cpp 29 ctx.ctm().mapVectors(&vec, &fOffset, 1);
56 ctx.ctm().mapVectors(&vec, &fOffset, 1);
74 void SkOffsetImageFilter::onFilterNodeBounds(const SkIRect& src, const SkMatrix& ctm,
77 ctm.mapVectors(&vec, &fOffset, 1);
SkDropShadowImageFilter.cpp 78 ctx.ctm().mapVectors(&sigma, 1);
89 ctx.ctm().mapVectors(&offsetVec, 1);
120 void SkDropShadowImageFilter::onFilterNodeBounds(const SkIRect& src, const SkMatrix& ctm,
127 ctm.mapVectors(&offsetVec, 1);
131 ctm.mapVectors(&sigma, 1);
SkPictureImageFilter.cpp 96 ctx.ctm().mapRect(&floatBounds, fCropRect);
113 0 == (ctx.ctm().getType() & ~SkMatrix::kTranslate_Mask)) {
131 canvas.concat(ctx.ctm());
139 if (!ctx.ctm().invert(&inverseCtm)) {
158 canvas.concat(ctx.ctm());
SkTileImageFilter.cpp 48 ctx.ctm().mapRect(&dstRect, fDstRect);
61 ctx.ctm().mapRect(&srcRect, fSrcRect);
111 void SkTileImageFilter::onFilterNodeBounds(const SkIRect& src, const SkMatrix& ctm,
114 ctm.mapRect(&rect);
118 bool SkTileImageFilter::onFilterBounds(const SkIRect& src, const SkMatrix& ctm,
SkBlurImageFilter.cpp 28 static SkVector map_sigma(const SkSize& localSigma, const SkMatrix& ctm) {
30 ctm.mapVectors(&sigma, 1);
95 SkVector sigma = map_sigma(fSigma, ctx.ctm());
193 void SkBlurImageFilter::onFilterNodeBounds(const SkIRect& src, const SkMatrix& ctm,
196 SkVector sigma = map_sigma(fSigma, ctm);
219 SkVector sigma = map_sigma(fSigma, ctx.ctm());
SkPaintImageFilter.cpp 53 SkMatrix matrix(ctx.ctm());
SkDashPathEffect.cpp 60 const SkMatrix& ctm, const SkRect* cullRect,
78 // defined by the ctm. We want our answer in the local coordinate system.
80 SkASSERT(ctm.rectStaysRect());
82 if (!ctm.invert(&inv)) {
SkImageSource.cpp 70 ctx.ctm().mapRect(&dstRect, fDstRect);
SkMergeImageFilter.cpp 95 this->getCropRect().applyTo(bounds, ctx.ctm(), &bounds);
SkBlurMaskFilter.cpp 51 const SkMatrix& ctm,
68 const SkMatrix& ctm,
112 SkScalar computeXformedSigma(const SkMatrix& ctm) const {
115 SkScalar xformedSigma = ignoreTransform ? fSigma : ctm.mapRadius(fSigma);
    [all...]
SkDisplacementMapEffect.cpp 256 ctx.ctm().mapVectors(&scale, 1);
277 void SkDisplacementMapEffect::onFilterNodeBounds(const SkIRect& src, const SkMatrix& ctm,
281 ctm.mapVectors(&scale, 1);
286 bool SkDisplacementMapEffect::onFilterBounds(const SkIRect& src, const SkMatrix& ctm,
290 return this->getColorInput()->filterBounds(src, ctm, dst, direction);
435 ctx.ctm().mapVectors(&scale, 1);
  /external/skia/src/core/
SkMatrixImageFilter.cpp 66 if (!ctx.ctm().invert(&matrix)) {
70 matrix.postConcat(ctx.ctm());
102 void SkMatrixImageFilter::onFilterNodeBounds(const SkIRect& src, const SkMatrix& ctm,
105 if (!ctm.invert(&matrix)) {
119 matrix.postConcat(ctm);
SkImageFilter.cpp 70 const SkMatrix& ctm,
75 ctm.mapRect(&devCropR, fRect);
222 Cache::Key key(fUniqueID, context.ctm(), context.clipBounds(),
255 bool SkImageFilter::filterBounds(const SkIRect& src, const SkMatrix& ctm, SkIRect* dst,
260 this->onFilterNodeBounds(src, ctm, &bounds, direction);
261 return this->onFilterBounds(bounds, ctm, dst, direction);
264 if (!this->onFilterBounds(src, ctm, &bounds, direction)) {
267 this->onFilterNodeBounds(bounds, ctm, &temp, direction);
268 this->getCropRect().applyTo(temp, ctm, dst);
345 SkMatrix matrix(ctx.ctm());
    [all...]
SkLocalMatrixImageFilter.cpp 44 Context localCtx(SkMatrix::Concat(ctx.ctm(), fLocalM), ctx.clipBounds(), ctx.cache());
SkRecordDraw.cpp 187 const SkMatrix& ctm() const { return fCTM; } function in class:SkRecords::FillBounds
223 SkMatrix ctm; member in struct:SkRecords::FillBounds::SaveBounds
226 // Only Restore, SetMatrix, and Concat change the CTM.
304 sb.ctm = this->fCTM;
560 if (!fSaveStack[i].ctm.invert(&inverse)) {
567 fSaveStack[i].ctm.mapRect(rect);
581 // and updateClipBounds() to maintain the exact CTM (fCTM) and conservative
683 dst.fPreMat.postConcat(fFillBounds.ctm());
759 block.fLocalMat = fFillBounds.ctm();
  /external/skia/include/effects/
SkMorphologyImageFilter.h 19 void onFilterNodeBounds(const SkIRect& src, const SkMatrix& ctm,
42 const Context& ctm, SkBitmap* result,
  /external/pdfium/core/src/fxge/apple/
fx_quartz_device.cpp 165 CGAffineTransform ctm = CGContextGetCTM(_context); local
168 if (ctm.d >= 0) {
170 offset_x = ctm.tx;
171 offset_y = ctm.ty;
210 CGAffineTransform ctm = CGContextGetCTM(_context); local
211 return CFX_Matrix(ctm.a, ctm.b, ctm.c, ctm.d, ctm.tx, ctm.ty)
469 CGAffineTransform ctm = CGContextGetCTM(_context); local
528 CGAffineTransform ctm = CGContextGetCTM(_context); local
    [all...]
  /external/pdfium/core/src/fxge/ge/
fx_ge_device.cpp 241 CFX_Matrix ctm = GetCTM(); local
242 FX_FLOAT fScaleX = FXSYS_fabs(ctm.a);
243 FX_FLOAT fScaleY = FXSYS_fabs(ctm.d);
364 CFX_Matrix ctm = GetCTM(); local
365 FX_FLOAT fScaleX = FXSYS_fabs(ctm.a);
366 FX_FLOAT fScaleY = FXSYS_fabs(ctm.d);
  /external/skia/src/gpu/
GrLayerCache.h 155 const SkMatrix& ctm,
159 : fKey(pictureID, ctm, key, keySize, true)
314 GrCachedLayer* findLayer(uint32_t pictureID, const SkMatrix& ctm,
  /external/harfbuzz_ng/util/
helper-cairo.cc 104 cairo_matrix_t ctm, font_matrix; local
107 cairo_matrix_init_identity (&ctm);
117 &ctm,

Completed in 786 milliseconds

1 2 3