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

1 2 3 4

  /external/pdfium/core/fpdfapi/render/
cpdf_devicebuffer.cpp 46 CFX_Matrix ctm = m_pDevice->GetCTM(); local
47 m_Matrix.Concat(CFX_Matrix(fabs(ctm.a), 0, 0, fabs(ctm.d), 0, 0));
  /external/skia/include/atlastext/
SkAtlasTextTarget.h 61 /** Pre-translates the current CTM. */
63 /** Pre-scales the current CTM. */
65 /** Pre-rotates the current CTM about the origin. */
67 /** Pre-rotates the current CTM about the (px, py). */
69 /** Pre-skews the current CTM. */
71 /** Pre-concats the current CTM. */
77 const SkMatrix& ctm() const { return *static_cast<const SkMatrix*>(fMatrixStack.back()); } function in class:SkAtlasTextTarget
  /external/skia/tests/
ShadowTest.cpp 16 void tessellate_shadow(skiatest::Reporter* reporter, const SkPath& path, const SkMatrix& ctm,
21 auto verts = SkShadowTessellator::MakeAmbient(path, ctm, heightParams, true);
26 verts = SkShadowTessellator::MakeAmbient(path, ctm, heightParams, false);
31 verts = SkShadowTessellator::MakeSpot(path, ctm, heightParams, {0, 0, 128}, 128.f, false);
36 verts = SkShadowTessellator::MakeSpot(path, ctm, heightParams, {0, 0, 128}, 128.f, false);
63 void check_xformed_bounds(skiatest::Reporter* reporter, const SkPath& path, const SkMatrix& ctm) {
73 SkDrawShadowMetrics::GetLocalBounds(path, rec, ctm, &bounds);
74 ctm.mapRect(&bounds);
76 auto verts = SkShadowTessellator::MakeAmbient(path, ctm, rec.fZPlaneParams, true);
81 SkPoint mapXY = ctm.mapXY(rec.fLightPos.fX, rec.fLightPos.fY)
91 SkMatrix ctm; local
    [all...]
  /external/skqp/include/atlastext/
SkAtlasTextTarget.h 61 /** Pre-translates the current CTM. */
63 /** Pre-scales the current CTM. */
65 /** Pre-rotates the current CTM about the origin. */
67 /** Pre-rotates the current CTM about the (px, py). */
69 /** Pre-skews the current CTM. */
71 /** Pre-concats the current CTM. */
77 const SkMatrix& ctm() const { return *static_cast<const SkMatrix*>(fMatrixStack.back()); } function in class:SkAtlasTextTarget
  /external/skqp/tests/
ShadowTest.cpp 16 void tessellate_shadow(skiatest::Reporter* reporter, const SkPath& path, const SkMatrix& ctm,
21 auto verts = SkShadowTessellator::MakeAmbient(path, ctm, heightParams, true);
26 verts = SkShadowTessellator::MakeAmbient(path, ctm, heightParams, false);
31 verts = SkShadowTessellator::MakeSpot(path, ctm, heightParams, {0, 0, 128}, 128.f, false);
36 verts = SkShadowTessellator::MakeSpot(path, ctm, heightParams, {0, 0, 128}, 128.f, false);
63 void check_xformed_bounds(skiatest::Reporter* reporter, const SkPath& path, const SkMatrix& ctm) {
73 SkDrawShadowMetrics::GetLocalBounds(path, rec, ctm, &bounds);
74 ctm.mapRect(&bounds);
76 auto verts = SkShadowTessellator::MakeAmbient(path, ctm, rec.fZPlaneParams, true);
81 SkPoint mapXY = ctm.mapXY(rec.fLightPos.fX, rec.fLightPos.fY)
91 SkMatrix ctm; local
    [all...]
  /external/skia/gm/
pictureshader.cpp 66 SkMatrix ctm, localMatrix; variable
67 ctm.setTranslate(fSceneSize * 2.1f, fSceneSize * 13.8f);
68 ctm.preScale(-1, -1);
70 this->drawScene(canvas, ctm, localMatrix, 0);
72 ctm.setTranslate(fSceneSize * 2.4f, fSceneSize * 12.8f);
74 this->drawScene(canvas, ctm, localMatrix, 0);
76 ctm.setTranslate(fSceneSize * 4.8f, fSceneSize * 12.3f);
77 ctm.preScale(2, 2);
78 this->drawScene(canvas, ctm, localMatrix, 0);
80 ctm.setTranslate(fSceneSize * 13.8f, fSceneSize * 14.3f)
91 SkMatrix ctm, localMatrix; local
    [all...]
  /external/skqp/gm/
pictureshader.cpp 66 SkMatrix ctm, localMatrix; variable
67 ctm.setTranslate(fSceneSize * 2.1f, fSceneSize * 13.8f);
68 ctm.preScale(-1, -1);
70 this->drawScene(canvas, ctm, localMatrix, 0);
72 ctm.setTranslate(fSceneSize * 2.4f, fSceneSize * 12.8f);
74 this->drawScene(canvas, ctm, localMatrix, 0);
76 ctm.setTranslate(fSceneSize * 4.8f, fSceneSize * 12.3f);
77 ctm.preScale(2, 2);
78 this->drawScene(canvas, ctm, localMatrix, 0);
80 ctm.setTranslate(fSceneSize * 13.8f, fSceneSize * 14.3f)
91 SkMatrix ctm, localMatrix; local
    [all...]
  /external/perfetto/src/tracing/core/
shared_memory_arbiter_impl.cc 152 CommitDataRequest::ChunksToMove* ctm = local
154 ctm->set_page(static_cast<uint32_t>(page_idx));
155 ctm->set_chunk(chunk_idx);
156 ctm->set_target_buffer(target_buffer);
  /external/harfbuzz_ng/util/
helper-cairo.cc 124 cairo_matrix_t ctm, font_matrix; local
127 cairo_matrix_init_identity (&ctm);
137 &ctm,
  /external/skia/include/core/
SkImageFilter.h 56 Context(const SkMatrix& ctm, const SkIRect& clipBounds, SkImageFilterCache* cache,
58 : fCTM(ctm)
64 const SkMatrix& ctm() const { return fCTM; } function in class:SkImageFilter::Context
74 * The SkImageFilterCache Key, for example, requires a finite ctm (no infinities
131 * It includes the clip bounds, CTM and cache.
161 SkIRect filterBounds(const SkIRect& src, const SkMatrix& ctm,
237 * ImageFilters can natively handle scaling and translate components in the CTM. Only some of
375 * CTM, applying it to the initial bounds, and intersecting the result with
  /external/skia/src/core/
SkDevice.h 100 void restore(const SkMatrix& ctm) {
102 this->setGlobalCTM(ctm);
121 const SkMatrix& ctm() const { return fCTM; } function in class:SkBaseDevice
122 void setCTM(const SkMatrix& ctm) {
123 fCTM = ctm;
125 void setGlobalCTM(const SkMatrix& ctm);
371 void setOrigin(const SkMatrix& ctm, int x, int y);
395 SkAutoDeviceCTMRestore(SkBaseDevice* device, const SkMatrix& ctm)
397 , fPrevCTM(device->ctm())
399 fDevice->setCTM(ctm);
    [all...]
SkDraw_vertices.cpp 271 const SkMatrix* ctm = fMatrix; local
279 ctm = &tmpCtm;
291 auto blitter = SkCreateRasterPipelineBlitter(fDst, p, *ctm, &innerAlloc);
SkRecordDraw.cpp 199 const SkMatrix& ctm() const { return fCTM; } function in class:SkRecords::FillBounds
235 SkMatrix ctm; member in struct:SkRecords::FillBounds::SaveBounds
238 // Only Restore, SetMatrix, Concat, and Translate change the CTM.
319 sb.ctm = this->fCTM;
579 if (!fSaveStack[i].ctm.invert(&inverse)) {
586 fSaveStack[i].ctm.mapRect(rect);
600 // and updateClipBounds() to maintain the exact CTM (fCTM) and conservative
SkDevice.cpp 46 void SkBaseDevice::setGlobalCTM(const SkMatrix& ctm) {
47 fCTM = ctm;
88 const SkMatrix& ctm = this->ctm(); local
89 bool isNonTranslate = ctm.getType() & ~(SkMatrix::kTranslate_Mask);
92 bool antiAlias = paint.isAntiAlias() && (!is_int(ctm.getTranslateX()) ||
93 !is_int(ctm.getTranslateY()));
132 SkISize lod = SkPatchUtils::GetLevelOfDetail(cubics, &this->ctm());
506 currM.setConcat(this->ctm(), localM);
510 // (i.e. the shader that cares about the ctm) so we have to undo our little ctm tric
    [all...]
  /external/skia/src/gpu/text/
GrAtlasTextBlob.cpp 332 const SkMatrix& ctm = pathGlyph.fPreTransformed ? SkMatrix::I() : viewMatrix; local
336 target->drawPath(clip, pathGlyph.fPath, runPaint, ctm, &pathMatrix, clipBounds);
  /external/skqp/include/core/
SkImageFilter.h 56 Context(const SkMatrix& ctm, const SkIRect& clipBounds, SkImageFilterCache* cache,
58 : fCTM(ctm)
64 const SkMatrix& ctm() const { return fCTM; } function in class:SkImageFilter::Context
74 * The SkImageFilterCache Key, for example, requires a finite ctm (no infinities
131 * It includes the clip bounds, CTM and cache.
161 SkIRect filterBounds(const SkIRect& src, const SkMatrix& ctm,
237 * ImageFilters can natively handle scaling and translate components in the CTM. Only some of
375 * CTM, applying it to the initial bounds, and intersecting the result with
  /external/skqp/src/core/
SkDevice.h 100 void restore(const SkMatrix& ctm) {
102 this->setGlobalCTM(ctm);
121 const SkMatrix& ctm() const { return fCTM; } function in class:SkBaseDevice
122 void setCTM(const SkMatrix& ctm) {
123 fCTM = ctm;
125 void setGlobalCTM(const SkMatrix& ctm);
371 void setOrigin(const SkMatrix& ctm, int x, int y);
395 SkAutoDeviceCTMRestore(SkBaseDevice* device, const SkMatrix& ctm)
397 , fPrevCTM(device->ctm())
399 fDevice->setCTM(ctm);
    [all...]
SkDraw_vertices.cpp 270 const SkMatrix* ctm = fMatrix; local
276 ctm = &tmpCtm;
288 auto blitter = SkCreateRasterPipelineBlitter(fDst, p, *ctm, &innerAlloc);
SkRecordDraw.cpp 199 const SkMatrix& ctm() const { return fCTM; } function in class:SkRecords::FillBounds
235 SkMatrix ctm; member in struct:SkRecords::FillBounds::SaveBounds
238 // Only Restore, SetMatrix, Concat, and Translate change the CTM.
319 sb.ctm = this->fCTM;
579 if (!fSaveStack[i].ctm.invert(&inverse)) {
586 fSaveStack[i].ctm.mapRect(rect);
600 // and updateClipBounds() to maintain the exact CTM (fCTM) and conservative
SkDevice.cpp 45 void SkBaseDevice::setGlobalCTM(const SkMatrix& ctm) {
46 fCTM = ctm;
87 const SkMatrix& ctm = this->ctm(); local
88 bool isNonTranslate = ctm.getType() & ~(SkMatrix::kTranslate_Mask);
91 bool antiAlias = paint.isAntiAlias() && (!is_int(ctm.getTranslateX()) ||
92 !is_int(ctm.getTranslateY()));
131 SkISize lod = SkPatchUtils::GetLevelOfDetail(cubics, &this->ctm());
502 currM.setConcat(this->ctm(), localM);
  /external/skqp/src/gpu/text/
GrAtlasTextBlob.cpp 361 SkMatrix ctm; local
362 ctm.setScale(bigGlyph.fScale, bigGlyph.fScale);
363 ctm.postTranslate(bigGlyph.fX + transX, bigGlyph.fY + transY);
365 ctm.postConcat(viewMatrix);
367 target->drawPath(clip, bigGlyph.fPath, paint, ctm, nullptr, clipBounds);
  /external/skia/src/effects/
SkArithmeticImageFilter.cpp 213 const SkMatrix& ctm,
216 return SkImageFilter::onFilterBounds(src, ctm, direction);
223 auto i2 = this->getInput(0) ? this->getInput(0)->filterBounds(src, ctm, direction) : src;
224 auto i1 = this->getInput(1) ? this->getInput(1)->filterBounds(src, ctm, direction) : src;
378 const SkMatrix& ctm = canvas->getTotalMatrix(); local
379 SkASSERT(ctm.getType() <= SkMatrix::kTranslate_Mask);
380 const int dx = SkScalarRoundToInt(ctm.getTranslateX());
381 const int dy = SkScalarRoundToInt(ctm.getTranslateY());
  /external/skqp/src/effects/
SkArithmeticImageFilter.cpp 213 const SkMatrix& ctm,
216 return SkImageFilter::onFilterBounds(src, ctm, direction);
223 auto i2 = this->getInput(0) ? this->getInput(0)->filterBounds(src, ctm, direction) : src;
224 auto i1 = this->getInput(1) ? this->getInput(1)->filterBounds(src, ctm, direction) : src;
378 const SkMatrix& ctm = canvas->getTotalMatrix(); local
379 SkASSERT(ctm.getType() <= SkMatrix::kTranslate_Mask);
380 const int dx = SkScalarRoundToInt(ctm.getTranslateX());
381 const int dy = SkScalarRoundToInt(ctm.getTranslateY());
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/
NitzStateMachine.java 272 long ctm = nitzData.getCurrentTimeInMillis(); local
273 long delayAdjustedCtm = ctm + (mTimeServiceHelper.elapsedRealtime()
  /external/skia/src/gpu/ops/
GrSmallPathRenderer.cpp 225 const SkMatrix& ctm = fShapes[0].fViewMatrix; variable
228 // Still need to key off of ctm to pick the right shader for the transformed quad
229 flags |= ctm.isScaleTranslate() ? kScaleOnly_DistanceFieldEffectFlag : 0;
230 flags |= ctm.isSimilarity() ? kSimilarity_DistanceFieldEffectFlag : 0;
235 if (ctm.hasPerspective()) {
236 matrix = &ctm;
238 if (!ctm.invert(&invert)) {
252 if (!ctm.invert(&invert)) {
532 const SkMatrix& ctm) const {
539 SkMatrix drawMatrix(ctm);
    [all...]

Completed in 350 milliseconds

1 2 3 4