Searched defs:SkMatrix (Results 1 - 25 of 31) sorted by relevance

12

/external/skia/src/core/
H A DSkPathEffect.cpp21 const SkStrokeRec&, const SkMatrix&, const SkRect*) const {
20 asPoints(PointData* results, const SkPath& src, const SkStrokeRec&, const SkMatrix&, const SkRect*) const argument
H A DSkImageFilter.cpp121 bool SkImageFilter::filterBounds(const SkIRect& src, const SkMatrix& ctm,
166 return this->asNewEffect(NULL, NULL, SkMatrix::I(), SkIRect());
203 SkMatrix matrix(ctx.ctm());
276 bool SkImageFilter::onFilterBounds(const SkIRect& src, const SkMatrix& ctm,
302 bool SkImageFilter::asNewEffect(GrEffectRef**, GrTexture*, const SkMatrix&, const SkIRect&) const { argument
H A DSkMaskFilter.cpp23 bool SkMaskFilter::filterMask(SkMask*, const SkMask&, const SkMatrix&, argument
207 bool SkMaskFilter::filterRRect(const SkRRect& devRRect, const SkMatrix& matrix,
226 bool SkMaskFilter::filterPath(const SkPath& devPath, const SkMatrix& matrix,
289 SkMaskFilter::filterRRectToNine(const SkRRect&, const SkMatrix&, argument
295 SkMaskFilter::filterRectsToNine(const SkRect[], int count, const SkMatrix&, argument
301 bool SkMaskFilter::asNewEffect(GrEffectRef** effect, GrTexture*, const SkMatrix&) const {
307 const SkMatrix& ctm,
328 const SkMatrix& ctm,
345 if (this->filterMask(&dstM, srcM, SkMatrix::I(), &margin)) {
/external/chromium_org/third_party/skia/gm/
H A Dgradient_matrix.cpp11 #include "SkMatrix.h"
64 static SkShader* make_linear_gradient(const SkPoint pts[2], const SkMatrix& localMatrix) {
69 static SkShader* make_radial_gradient(const SkPoint pts[2], const SkMatrix& localMatrix) {
79 SkShader* (*makeShader)(const SkPoint[2], const SkMatrix&),
87 SkMatrix shaderMat;
78 draw_gradients(SkCanvas* canvas, SkShader* (*makeShader)(const SkPoint[2], const SkMatrix&), const SkPoint ptsArray[][2], int numImages) argument
/external/chromium_org/third_party/skia/src/core/
H A DSkPathEffect.cpp21 const SkStrokeRec&, const SkMatrix&, const SkRect*) const {
20 asPoints(PointData* results, const SkPath& src, const SkStrokeRec&, const SkMatrix&, const SkRect*) const argument
H A DSkDevice.cpp79 const SkMatrix* preMatrix = NULL;
103 SkMatrix localMatrix;
117 SkMatrix shaderMatrix;
207 bool SkBaseDevice::EXPERIMENTAL_drawPicture(SkCanvas*, const SkPicture*, const SkMatrix*, argument
H A DSkPictureShader.cpp22 const SkMatrix* localMatrix, const SkRect* tile)
44 const SkMatrix* localMatrix, const SkRect* tile) {
52 SkMatrix lm;
70 SkShader* SkPictureShader::refBitmapShader(const SkMatrix& matrix, const SkMatrix* localM) const {
73 SkMatrix m;
122 SkMatrix shaderMatrix = this->getLocalMatrix();
216 const SkMatrix* localMatrix, GrColor* paintColor,
225 bool SkPictureShader::asFragmentProcessor(GrContext*, const SkPaint&, const SkMatrix*, GrColor*, argument
H A DSkBitmapProcShader.cpp35 const SkMatrix* localMatrix)
52 SkMatrix* texM,
68 SkMatrix lm;
87 static bool only_scale_and_translate(const SkMatrix& matrix) {
88 unsigned mask = SkMatrix::kTranslate_Mask | SkMatrix::kScale_Mask;
118 SkMatrix totalInverse;
341 SkShader::TileMode tmy, const SkMatrix* localMatrix, SkTBlitterAllocator* allocator) {
399 const SkMatrix* localMatrix, GrColor* paintColor,
401 SkMatrix matri
486 asFragmentProcessor(GrContext*, const SkPaint&, const SkMatrix*, GrColor*, GrFragmentProcessor**) const argument
[all...]
H A DSkMaskFilter.cpp23 bool SkMaskFilter::filterMask(SkMask*, const SkMask&, const SkMatrix&, argument
207 bool SkMaskFilter::filterRRect(const SkRRect& devRRect, const SkMatrix& matrix,
226 bool SkMaskFilter::filterPath(const SkPath& devPath, const SkMatrix& matrix,
289 SkMaskFilter::filterRRectToNine(const SkRRect&, const SkMatrix&, argument
295 SkMaskFilter::filterRectsToNine(const SkRect[], int count, const SkMatrix&, argument
301 bool SkMaskFilter::asFragmentProcessor(GrFragmentProcessor**, GrTexture*, const SkMatrix&) const {
307 const SkMatrix& ctm,
328 const SkMatrix& ctm,
345 if (this->filterMask(&dstM, srcM, SkMatrix::I(), &margin)) {
H A DSkShader.cpp40 SkShader::SkShader(const SkMatrix* localMatrix) {
73 bool SkShader::computeTotalInverse(const ContextRec& rec, SkMatrix* totalInverse) const {
74 SkMatrix total;
77 const SkMatrix* m = &total;
203 SkShader::Context::MatrixClass SkShader::Context::ComputeMatrixClass(const SkMatrix& mat) {
218 SkShader::BitmapType SkShader::asABitmap(SkBitmap*, SkMatrix*, TileMode*) const {
226 bool SkShader::asFragmentProcessor(GrContext*, const SkPaint&, const SkMatrix*, GrColor*, argument
231 SkShader* SkShader::refAsALocalMatrixShader(SkMatrix*) const {
244 const SkMatrix* localMatrix) {
249 const SkMatrix* localMatri
372 asFragmentProcessor(GrContext*, const SkPaint& paint, const SkMatrix*, GrColor* paintColor, GrFragmentProcessor** fp) const argument
383 asFragmentProcessor(GrContext*, const SkPaint&, const SkMatrix*, GrColor*, GrFragmentProcessor**) const argument
[all...]
H A DSkImageFilter.cpp40 Key(const uint32_t uniqueID, const SkMatrix& matrix, const SkIRect& clipBounds, uint32_t srcGenID)
43 SK_COMPILE_ASSERT(sizeof(Key) == sizeof(uint32_t) + sizeof(SkMatrix) + sizeof(SkIRect) +
48 SkMatrix fMatrix;
195 bool SkImageFilter::filterBounds(const SkIRect& src, const SkMatrix& ctm,
230 return this->asFragmentProcessor(NULL, NULL, SkMatrix::I(), SkIRect());
270 SkMatrix matrix(ctx.ctm());
342 bool SkImageFilter::onFilterBounds(const SkIRect& src, const SkMatrix& ctm,
368 bool SkImageFilter::asFragmentProcessor(GrFragmentProcessor**, GrTexture*, const SkMatrix&, argument
/external/chromium_org/third_party/skia/src/effects/
H A DSkTableMaskFilter.cpp28 const SkMatrix&, SkIPoint* margin) const {
27 filterMask(SkMask* dst, const SkMask& src, const SkMatrix&, SkIPoint* margin) const argument
H A DSkMatrixConvolutionImageFilter.cpp362 bool SkMatrixConvolutionImageFilter::onFilterBounds(const SkIRect& src, const SkMatrix& ctm,
394 const SkMatrix&,
392 asFragmentProcessor(GrFragmentProcessor** fp, GrTexture* texture, const SkMatrix&, const SkIRect& bounds) const argument
H A DSkMagnifierImageFilter.cpp276 const SkMatrix&, const SkIRect&) const {
275 asFragmentProcessor(GrFragmentProcessor** fp, GrTexture* texture, const SkMatrix&, const SkIRect&) const argument
H A DSkPerlinNoiseShader.cpp84 const SkMatrix& matrix)
468 SkMatrix newMatrix = *rec.fMatrix;
551 const SkMatrix& matrix, uint8_t alpha) {
570 const SkMatrix& matrix() const { return fCoordTransform.getMatrix(); }
593 const SkMatrix& matrix, uint8_t alpha)
969 const SkMatrix* externalLocalMatrix,
975 SkMatrix localMatrix = this->getLocalMatrix();
980 SkMatrix matrix = context->getMatrix();
1004 SkMatrix m = context->getMatrix();
1034 bool SkPerlinNoiseShader::asFragmentProcessor(GrContext*, const SkPaint&, const SkMatrix*, GrColo argument
[all...]
/external/skia/gm/
H A Dgradient_matrix.cpp11 #include "SkMatrix.h"
64 static SkShader* make_linear_gradient(const SkPoint pts[2], const SkMatrix& localMatrix) {
69 static SkShader* make_radial_gradient(const SkPoint pts[2], const SkMatrix& localMatrix) {
79 SkShader* (*makeShader)(const SkPoint[2], const SkMatrix&),
87 SkMatrix shaderMat;
78 draw_gradients(SkCanvas* canvas, SkShader* (*makeShader)(const SkPoint[2], const SkMatrix&), const SkPoint ptsArray[][2], int numImages) argument
/external/skia/src/effects/
H A DSkTableMaskFilter.cpp28 const SkMatrix&, SkIPoint* margin) const {
27 filterMask(SkMask* dst, const SkMask& src, const SkMatrix&, SkIPoint* margin) const argument
H A DSkMagnifierImageFilter.cpp256 bool SkMagnifierImageFilter::asNewEffect(GrEffectRef** effect, GrTexture* texture, const SkMatrix&, const SkIRect&) const { argument
/external/skia/include/core/
H A DSkDevice.h21 class SkMatrix;
181 virtual void setMatrixClip(const SkMatrix&, const SkRegion&, argument
224 const SkMatrix* prePathMatrix = NULL,
227 const SkMatrix& matrix, const SkPaint& paint) = 0;
250 const SkPath& path, const SkMatrix* matrix,
/external/chromium_org/third_party/skia/include/core/
H A DSkDevice.h20 class SkMatrix;
156 virtual void setMatrixClip(const SkMatrix&, const SkRegion&, argument
199 const SkMatrix* prePathMatrix = NULL,
202 const SkMatrix& matrix, const SkPaint& paint) = 0;
225 const SkPath& path, const SkMatrix* matrix,
344 virtual bool EXPERIMENTAL_drawPicture(SkCanvas*, const SkPicture*, const SkMatrix*,
H A DSkCanvas.h464 void concat(const SkMatrix& matrix);
469 void setMatrix(const SkMatrix& matrix);
576 // would cache the SkMatrix::hasPerspective result. Alternatively, have
881 virtual void drawBitmapMatrix(const SkBitmap& bitmap, const SkMatrix& m,
976 const SkPath& path, const SkMatrix* matrix,
1015 void drawPicture(const SkPicture*, const SkMatrix* matrix, const SkPaint* paint);
1144 const SkMatrix& getTotalMatrix() const;
1185 const SkMatrix& matrix() const;
1228 virtual void didConcat(const SkMatrix&) {} argument
1229 virtual void didSetMatrix(const SkMatrix argument
[all...]
H A DSkMatrix.h23 /** \class SkMatrix
25 The SkMatrix class holds a 3x3 matrix for transforming coordinates.
26 SkMatrix does not have a constructor, so it must be explicitly initialized
30 class SK_API SkMatrix { class
230 void setConcat(const SkMatrix& a, const SkMatrix& b);
263 void preConcat(const SkMatrix& other);
300 void postConcat(const SkMatrix& other);
353 bool SK_WARN_UNUSED_RESULT invert(SkMatrix* inverse) const {
504 typedef void (*MapXYProc)(const SkMatrix
[all...]
/external/chromium_org/third_party/skia/src/effects/gradients/
H A DSkSweepGradient.cpp22 SkMatrix* matrix, SkShader::TileMode* xy) const {
97 SkMatrix::MapXYProc proc = fDstToIndexProc;
98 const SkMatrix& matrix = fDstToIndex;
139 SkMatrix::MapXYProc proc = fDstToIndexProc;
140 const SkMatrix& matrix = fDstToIndex;
221 const SkMatrix& m) {
236 const SkMatrix& matrix)
297 const SkMatrix* localMatrix, GrColor* paintColor,
300 SkMatrix matrix;
305 SkMatrix in
321 asFragmentProcessor(GrContext*, const SkPaint&, const SkMatrix*, GrColor*, GrFragmentProcessor**) const argument
[all...]
H A DSkTwoPointConicalGradient.cpp251 SkMatrix::MapXYProc dstProc = fDstToIndexProc;
301 SkBitmap* bitmap, SkMatrix* matrix, SkShader::TileMode* xy) const {
425 const SkMatrix* localMatrix,
438 bool SkTwoPointConicalGradient::asFragmentProcessor(GrContext*, const SkPaint&, const SkMatrix*, argument
H A DSkLinearGradient.cpp42 static void pts_to_unit_matrix(const SkPoint pts[2], SkMatrix* matrix) {
101 unsigned mask = SkMatrix::kTranslate_Mask | SkMatrix::kScale_Mask;
226 SkMatrix::MapXYProc dstProc = fDstToIndexProc;
271 SkMatrix* matrix,
413 SkMatrix::MapXYProc dstProc = fDstToIndexProc;
500 const SkMatrix& matrix,
517 const SkMatrix& matrix,
570 const SkMatrix* localMatrix, GrColor* paintColor,
574 SkMatrix matri
595 asFragmentProcessor(GrContext*, const SkPaint&, const SkMatrix*, GrColor*, GrFragmentProcessor**) const argument
[all...]

Completed in 378 milliseconds

12