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

1 2

  /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/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/include/core/
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/
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/rendering/svg/
SVGRenderingContext.cpp 205 AffineTransform ctm; local
208 calculateDeviceSpaceTransformation(renderer, ctm);
209 return narrowPrecisionToFloat(sqrt((pow(ctm.xScale(), 2) + pow(ctm.yScale(), 2)) / 2));
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...]
  /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/WebKit/Source/platform/graphics/skia/
NativeImageSkia.cpp 339 // FIXME: This queries the CTM while drawing, which is generally
443 AffineTransform ctm = context->getCTM(); local
444 SkScalar ctmScaleX = ctm.xScale();
445 SkScalar ctmScaleY = ctm.yScale();
492 // CTM * localMatrix to have identity scale. Since we
493 // can't modify CTM (or the rectangle will be drawn in the wrong
495 // CTM scale.
  /external/chromium_org/third_party/skia/src/gpu/
GrBitmapTextContext.cpp 294 SkMatrix ctm = fContext->getMatrix(); local
300 SkTextMapStateProc tmsProc(ctm, constY, scalarsPerPosition);
305 SkAxisAlignment baseline = SkComputeAxisAlignmentForHText(ctm);
GrDistanceFieldTextContext.cpp 271 SkMatrix ctm; local
272 ctm.setScale(fTextRatio, fTextRatio);
273 ctm.postTranslate(sx, sy);
275 am.setPreConcat(fContext, ctm, &tmpPaint);
SkGpuDevice.cpp 797 // The context's matrix may change while creating the mask, so save the CTM here to
799 const SkMatrix ctm = fContext->getMatrix(); local
822 ctm, maskRect, &filtered, true)) {
    [all...]
  /external/harfbuzz_ng/util/
helper-cairo.cc 103 cairo_matrix_t ctm, font_matrix; local
106 cairo_matrix_init_identity (&ctm);
115 &ctm,
  /external/pdfium/core/src/fxge/ge/
fx_ge_device.cpp 232 CFX_Matrix ctm = GetCTM(); local
233 FX_FLOAT fScaleX = FXSYS_fabs(ctm.a);
234 FX_FLOAT fScaleY = FXSYS_fabs(ctm.d);
326 CFX_AffineMatrix ctm = GetCTM(); local
327 FX_FLOAT fScaleX = FXSYS_fabs(ctm.a);
328 FX_FLOAT fScaleY = FXSYS_fabs(ctm.d);
  /external/skia/src/gpu/
GrBitmapTextContext.cpp 294 SkMatrix ctm = fContext->getMatrix(); local
300 SkTextMapStateProc tmsProc(ctm, constY, scalarsPerPosition);
305 SkAxisAlignment baseline = SkComputeAxisAlignmentForHText(ctm);
GrDistanceFieldTextContext.cpp 271 SkMatrix ctm; local
272 ctm.setScale(fTextRatio, fTextRatio);
273 ctm.postTranslate(sx, sy);
275 am.setPreConcat(fContext, ctm, &tmpPaint);
SkGpuDevice.cpp 797 // The context's matrix may change while creating the mask, so save the CTM here to
799 const SkMatrix ctm = fContext->getMatrix(); local
822 ctm, maskRect, &filtered, true)) {
    [all...]
  /external/pdfium/core/src/fxge/apple/
fx_quartz_device.cpp 197 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.tx, ctm.ty);
515 CGAffineTransform ctm = CGContextGetCTM(_context); local
578 CGAffineTransform ctm = CGContextGetCTM(_context); local
856 CGAffineTransform ctm = CGContextGetCTM(_context); local
    [all...]
  /external/chromium_org/third_party/skia/src/effects/
SkBlurMaskFilter.cpp 47 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
    [all...]
  /external/chromium_org/third_party/skia/tests/
PictureTest.cpp 193 const SkMatrix& ctm = canvas->getTotalMatrix(); local
196 ctm.mapPoints(&p, 1);
211 const SkMatrix& ctm = canvas->getTotalMatrix();
214 ctm.mapPoints(&p, 1);
    [all...]
  /external/skia/src/effects/
SkBlurMaskFilter.cpp 47 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
    [all...]
  /external/skia/tests/
PictureTest.cpp 193 const SkMatrix& ctm = canvas->getTotalMatrix(); local
196 ctm.mapPoints(&p, 1);
211 const SkMatrix& ctm = canvas->getTotalMatrix();
214 ctm.mapPoints(&p, 1);
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/html/canvas/
CanvasRenderingContext2D.cpp 821 AffineTransform ctm = state().m_transform;
823 // It is possible that CTM is identity while CTM is not invertible.
824 // When CTM becomes non-invertible, realizeSaves() can make CTM identity.
825 if (ctm.isIdentity() && invertibleCTM)
829 // resetTransform() resolves the non-invertible CTM state.
835 m_path.transform(ctm);
836 // When else, do nothing because all transform methods didn't update m_path when CTM became non-invertible.
837 // It means that resetTransform() restores m_path just before CTM became non-invertible
1129 AffineTransform ctm = state().m_transform; local
1156 AffineTransform ctm = state().m_transform; local
    [all...]
  /external/pdfium/core/src/fpdfapi/fpdf_render/
fpdf_render.cpp 1370 CFX_Matrix ctm = m_pDevice->GetCTM(); local
    [all...]
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/
ServiceStateTracker.java 743 long ctm = System.currentTimeMillis(); local
749 " ltod=" + TimeUtils.logTimeOfDay(ctm));
    [all...]

Completed in 690 milliseconds

1 2