Home
last modified time | relevance | path

Searched refs:ctm (Results 1 – 25 of 40) sorted by relevance

12

/external/webkit/Source/WebCore/svg/
DSVGLocatable.cpp86 AffineTransform ctm; in computeCTM() local
95ctm = static_cast<SVGStyledElement*>(currentElement)->localCoordinateSpaceTransform(mode).multiply… in computeCTM()
104 return ctm; in computeCTM()
109 AffineTransform ctm = getCTM(styleUpdateStrategy); in getTransformToElement() local
115 return ctm; in getTransformToElement()
117 ctm = targetCTM.inverse() * ctm; in getTransformToElement()
120 return ctm; in getTransformToElement()
DSVGSVGElement.cpp598 …AffineTransform ctm = SVGFitToViewBox::viewBoxToViewTransform(viewBoxRect, preserveAspectRatio(), … in viewBoxToViewTransform() local
603 ctm *= transform; in viewBoxToViewTransform()
606 return ctm; in viewBoxToViewTransform()
/external/skia/src/effects/
DSkTestImageFilters.cpp28 const SkMatrix& ctm, in onFilterImage() argument
39 return (outer ? outer : inner)->filterImage(proxy, src, ctm, result, loc); in onFilterImage()
43 return inner->filterImage(proxy, src, ctm, &tmp, loc) && in onFilterImage()
44 outer->filterImage(proxy, tmp, ctm, result, loc); in onFilterImage()
48 const SkMatrix& ctm, in onFilterBounds() argument
58 return (outer ? outer : inner)->filterBounds(src, ctm, dst); in onFilterBounds()
62 return inner->filterBounds(src, ctm, &tmp) && in onFilterBounds()
63 outer->filterBounds(tmp, ctm, dst); in onFilterBounds()
DSkMergeImageFilter.cpp63 bool SkMergeImageFilter::onFilterBounds(const SkIRect& src, const SkMatrix& ctm, in onFilterBounds() argument
76 if (!filter->filterBounds(src, ctm, &r)) { in onFilterBounds()
96 const SkMatrix& ctm, in onFilterImage() argument
105 if (!this->filterBounds(srcBounds, ctm, &bounds)) { in onFilterImage()
126 if (!filter->filterImage(proxy, src, ctm, &tmp, &pos)) { in onFilterImage()
DSkSingleInputImageFilter.cpp29 const SkMatrix& ctm, in getInputResult() argument
31 return this->INHERITED::getInputResult(0, proxy, src, ctm, offset); in getInputResult()
DSkOffsetImageFilter.cpp27 bool SkOffsetImageFilter::onFilterBounds(const SkIRect& src, const SkMatrix& ctm, in onFilterBounds() argument
30 ctm.mapVectors(&vec, &fOffset, 1); in onFilterBounds()
DSkBlendImageFilter.cpp77 const SkMatrix& ctm, in onFilterImage() argument
84 if (!backgroundInput->filterImage(proxy, src, ctm, &background, offset)) { in onFilterImage()
87 if (foregroundInput && !foregroundInput->filterImage(proxy, src, ctm, &foreground, offset)) { in onFilterImage()
DSkMorphologyImageFilter.cpp137 const SkBitmap& source, const SkMatrix& ctm, in onFilterImage() argument
139 SkBitmap src = this->getInputResult(proxy, source, ctm, offset); in onFilterImage()
182 const SkBitmap& source, const SkMatrix& ctm, in onFilterImage() argument
184 SkBitmap src = this->getInputResult(proxy, source, ctm, offset); in onFilterImage()
DSkBlurImageFilter.cpp138 const SkBitmap& source, const SkMatrix& ctm, in onFilterImage() argument
140 SkBitmap src = this->getInputResult(proxy, source, ctm, offset); in onFilterImage()
DSkDisplacementMapEffect.cpp167 const SkMatrix& ctm, in onFilterImage() argument
174 if ((colorInput && !colorInput->filterImage(proxy, src, ctm, &color, offset)) || in onFilterImage()
175 !displacementInput->filterImage(proxy, src, ctm, &displ, offset)) { in onFilterImage()
/external/skia/src/core/
DSkImageFilter.cpp68 const SkBitmap& src, const SkMatrix& ctm, in getInputResult() argument
73 if (input && input->filterImage(proxy, src, ctm, &result, loc)) { in getInputResult()
82 const SkMatrix& ctm, in filterImage() argument
90 return (proxy && proxy->filterImage(this, src, ctm, result, loc)) || in filterImage()
91 this->onFilterImage(proxy, src, ctm, result, loc); in filterImage()
94 bool SkImageFilter::filterBounds(const SkIRect& src, const SkMatrix& ctm, in filterBounds() argument
98 return this->onFilterBounds(src, ctm, dst); in filterBounds()
115 bool SkImageFilter::onFilterBounds(const SkIRect& src, const SkMatrix& ctm, in onFilterBounds() argument
DSkDeviceImageFilterProxy.h25 const SkMatrix& ctm, in filterImage() argument
27 return fDevice->filterImage(filter, src, ctm, result, offset); in filterImage()
/external/webkit/Source/WebCore/platform/graphics/win/
DFontPlatformDataCairoWin.cpp45 cairo_matrix_t sizeMatrix, ctm; in platformDataInit() local
46 cairo_matrix_init_identity(&ctm); in platformDataInit()
55 m_scaledFont = cairo_scaled_font_create(fontFace, &sizeMatrix, &ctm, fontOptions); in platformDataInit()
73 cairo_matrix_t ctm; in FontPlatformData() local
74 cairo_matrix_init_identity(&ctm); in FontPlatformData()
82 m_scaledFont = cairo_scaled_font_create(fontFace, &fontMatrix, &ctm, options); in FontPlatformData()
/external/skia/legacy/src/effects/
DSkTestImageFilters.cpp25 bool SkOffsetImageFilter::onFilterBounds(const SkIRect& src, const SkMatrix& ctm, in onFilterBounds() argument
28 ctm.mapVectors(&vec, &fOffset, 1); in onFilterBounds()
59 const SkMatrix& ctm, in onFilterImage() argument
67 return (fOuter ? fOuter : fInner)->filterImage(proxy, src, ctm, result, loc); in onFilterImage()
71 return fInner->filterImage(proxy, src, ctm, &tmp, loc) && in onFilterImage()
72 fOuter->filterImage(proxy, tmp, ctm, result, loc); in onFilterImage()
76 const SkMatrix& ctm, in onFilterBounds() argument
83 return (fOuter ? fOuter : fInner)->filterBounds(src, ctm, dst); in onFilterBounds()
87 return fInner->filterBounds(src, ctm, &tmp) && in onFilterBounds()
88 fOuter->filterBounds(tmp, ctm, dst); in onFilterBounds()
[all …]
/external/webkit/Source/WebCore/platform/graphics/pango/
DFontPlatformDataPango.cpp119 cairo_matrix_t ctm; in FontPlatformData() local
120 cairo_matrix_init_identity(&ctm); in FontPlatformData()
121 m_scaledFont = cairo_scaled_font_create(face, &fontMatrix, &ctm, fontOptions); in FontPlatformData()
149 cairo_matrix_t ctm; in FontPlatformData() local
150 cairo_matrix_init_identity(&ctm); in FontPlatformData()
158 m_scaledFont = cairo_scaled_font_create(fontFace, &fontMatrix, &ctm, options); in FontPlatformData()
/external/skia/legacy/include/core/
DSkImageFilter.h48 const SkMatrix& ctm,
66 bool filterImage(Proxy*, const SkBitmap& src, const SkMatrix& ctm,
73 bool filterBounds(const SkIRect& src, const SkMatrix& ctm, SkIRect* dst);
/external/skia/include/core/
DSkImageFilter.h57 const SkMatrix& ctm, in SK_DECLARE_INST_COUNT()
74 bool filterImage(Proxy*, const SkBitmap& src, const SkMatrix& ctm,
81 bool filterBounds(const SkIRect& src, const SkMatrix& ctm, SkIRect* dst);
/external/webkit/Source/WebCore/rendering/svg/
DRenderSVGInlineText.cpp242 AffineTransform ctm; in computeNewScaledFontForStyle() local
243 SVGImageBufferTools::calculateTransformationToOutermostSVGCoordinateSystem(renderer, ctm); in computeNewScaledFontForStyle()
244 scalingFactor = narrowPrecisionToFloat(sqrt((pow(ctm.xScale(), 2) + pow(ctm.yScale(), 2)) / 2)); in computeNewScaledFontForStyle()
DRenderSVGRoot.cpp248 …AffineTransform ctm(scale, 0, 0, scale, borderAndPadding.width() + translate.x(), borderAndPadding… in localToBorderBoxTransform() local
249 return ctm * svg->viewBoxToViewTransform(width() / scale, height() / scale); in localToBorderBoxTransform()
/external/webkit/Source/WebCore/platform/graphics/freetype/
DFontPlatformDataFreeType.cpp246 cairo_matrix_t ctm; in initializeWithFontFace() local
247 cairo_matrix_init_identity(&ctm); in initializeWithFontFace()
270 m_scaledFont = cairo_scaled_font_create(fontFace, &fontMatrix, &ctm, options); in initializeWithFontFace()
/external/skia/include/effects/
DSkBlendImageFilter.h31 const SkMatrix& ctm,
DSkDisplacementMapEffect.h33 const SkMatrix& ctm,
/external/harfbuzz_ng/util/
Dhelper-cairo.cc78 cairo_matrix_t ctm, font_matrix; in helper_cairo_create_scaled_font() local
81 cairo_matrix_init_identity (&ctm); in helper_cairo_create_scaled_font()
90 &ctm, in helper_cairo_create_scaled_font()
/external/webkit/Source/WebKit/win/
DWebFrame.cpp2150 CGAffineTransform ctm = CGContextGetBaseCTM(pctx); in spoolPage() local
2151 ctm = CGAffineTransformScale(ctm, -scale, -scale); in spoolPage()
2152ctm = CGAffineTransformTranslate(ctm, CGFloat(-pageRect.x()), CGFloat(-pageRect.y()+headerHeight))… in spoolPage()
2155 CGContextSetBaseCTM(pctx, ctm); in spoolPage()
2220 cairo_matrix_t ctm; in buildXFORMFromCairo() local
2221 cairo_get_matrix(previewContext, &ctm); in buildXFORMFromCairo()
2224 scaled.eM11 = ctm.xx; in buildXFORMFromCairo()
2225 scaled.eM22 = ctm.yy; in buildXFORMFromCairo()
2309 cairo_matrix_t ctm = { passedCTM.eM11, passedCTM.eM12, passedCTM.eM21, in setCairoTransformToPreviewHDC() local
2312 cairo_set_matrix(previewCtx, &ctm); in setCairoTransformToPreviewHDC()
/external/openssl/crypto/x509/
Dx509_vfy.c1666 int X509_cmp_current_time(const ASN1_TIME *ctm) in X509_cmp_current_time() argument
1668 return X509_cmp_time(ctm, NULL); in X509_cmp_current_time()
1671 int X509_cmp_time(const ASN1_TIME *ctm, time_t *cmp_time) in X509_cmp_time() argument
1680 i=ctm->length; in X509_cmp_time()
1681 str=(char *)ctm->data; in X509_cmp_time()
1682 if (ctm->type == V_ASN1_UTCTIME) in X509_cmp_time()
1725 atm.type=ctm->type; in X509_cmp_time()
1733 if (ctm->type == V_ASN1_UTCTIME) in X509_cmp_time()

12