/external/chromium_org/third_party/skia/include/effects/ |
H A D | SkPictureImageFilter.h | 24 * Refs the passed-in picture. cropRect can be used to crop or expand the destination rect when 27 static SkPictureImageFilter* Create(const SkPicture* picture, const SkRect& cropRect, uint32_t uniqueID = 0) { argument 28 return SkNEW_ARGS(SkPictureImageFilter, (picture, cropRect, uniqueID)); 35 SkPictureImageFilter(const SkPicture* picture, const SkRect& cropRect, uint32_t uniqueID);
|
H A D | SkMorphologyImageFilter.h | 33 const CropRect* cropRect, uint32_t uniqueID); 59 const CropRect* cropRect = NULL, 64 return SkNEW_ARGS(SkDilateImageFilter, (radiusX, radiusY, input, cropRect, uniqueID)); 77 SkDilateImageFilter(int radiusX, int radiusY, SkImageFilter* input, const CropRect* cropRect, uint32_t uniqueID) argument 78 : INHERITED(radiusX, radiusY, input, cropRect, uniqueID) {} 91 const CropRect* cropRect = NULL, 96 return SkNEW_ARGS(SkErodeImageFilter, (radiusX, radiusY, input, cropRect, uniqueID)); 109 SkErodeImageFilter(int radiusX, int radiusY, SkImageFilter* input, const CropRect* cropRect, uint32_t uniqueID) argument 110 : INHERITED(radiusX, radiusY, input, cropRect, uniqueID) {}
|
/external/skia/include/effects/ |
H A D | SkPictureImageFilter.h | 24 * Refs the passed-in picture. cropRect can be used to crop or expand the destination rect when 27 static SkPictureImageFilter* Create(SkPicture* picture, const SkRect& cropRect) { argument 28 return SkNEW_ARGS(SkPictureImageFilter, (picture, cropRect)); 35 SkPictureImageFilter(SkPicture* picture, const SkRect& cropRect);
|
/external/chromium_org/third_party/WebKit/Source/core/imagebitmap/ |
H A D | ImageBitmapFactories.h | 86 static ImageBitmapLoader* create(ImageBitmapFactories& factory, const IntRect& cropRect, ScriptState* scriptState) argument 88 return new ImageBitmapLoader(factory, cropRect, scriptState);
|
/external/chromium_org/third_party/skia/src/effects/ |
H A D | SkRectShaderImageFilter.cpp | 22 CropRect cropRect(rect, flags); 23 return SkNEW_ARGS(SkRectShaderImageFilter, (s, &cropRect)); 26 SkRectShaderImageFilter* SkRectShaderImageFilter::Create(SkShader* s, const CropRect* cropRect, uint32_t uniqueID) { argument 28 return SkNEW_ARGS(SkRectShaderImageFilter, (s, cropRect, uniqueID)); 31 SkRectShaderImageFilter::SkRectShaderImageFilter(SkShader* s, const CropRect* cropRect, argument 33 : INHERITED(0, NULL, cropRect, uniqueID) 49 return Create(shader.get(), &common.cropRect(), common.uniqueID());
|
H A D | SkDropShadowImageFilter.cpp | 20 SkImageFilter* input, const CropRect* cropRect, 22 : INHERITED(1, &input, cropRect, uniqueID) 53 return Create(dx, dy, sigmaX, sigmaY, color, common.getInput(0), &common.cropRect(), common.uniqueID()); 18 SkDropShadowImageFilter(SkScalar dx, SkScalar dy, SkScalar sigmaX, SkScalar sigmaY, SkColor color, SkImageFilter* input, const CropRect* cropRect, uint32_t uniqueID) argument
|
H A D | SkOffsetImageFilter.cpp | 98 return Create(offset.x(), offset.y(), common.getInput(0), &common.cropRect(), common.uniqueID()); 107 const CropRect* cropRect, uint32_t uniqueID) 108 : INHERITED(1, &input, cropRect, uniqueID) { 106 SkOffsetImageFilter(SkScalar dx, SkScalar dy, SkImageFilter* input, const CropRect* cropRect, uint32_t uniqueID) argument
|
H A D | SkPictureImageFilter.cpp | 21 SkPictureImageFilter::SkPictureImageFilter(const SkPicture* picture, const SkRect& cropRect, argument 25 , fCropRect(cropRect) { 49 SkRect cropRect; local 58 buffer.readRect(&cropRect); 60 return Create(picture, cropRect);
|
H A D | SkColorFilterImageFilter.cpp | 61 SkImageFilter* input, const CropRect* cropRect, uint32_t uniqueID) { 73 return SkNEW_ARGS(SkColorFilterImageFilter, (newCF, input->getInput(0), cropRect, 0)); 76 return SkNEW_ARGS(SkColorFilterImageFilter, (cf, input, cropRect, uniqueID)); 80 SkImageFilter* input, const CropRect* cropRect, uint32_t uniqueID) 81 : INHERITED(1, &input, cropRect, uniqueID), fColorFilter(cf) { 96 return Create(cf, common.getInput(0), &common.cropRect(), common.uniqueID()); 60 Create(SkColorFilter* cf, SkImageFilter* input, const CropRect* cropRect, uint32_t uniqueID) argument 79 SkColorFilterImageFilter(SkColorFilter* cf, SkImageFilter* input, const CropRect* cropRect, uint32_t uniqueID) argument
|
H A D | SkMergeImageFilter.cpp | 45 const CropRect* cropRect, 47 : INHERITED(count, filters, cropRect, uniqueID) { 131 return Create(common.inputs(), count, modes.get(), &common.cropRect(), common.uniqueID()); 133 return Create(common.inputs(), count, NULL, &common.cropRect(), common.uniqueID()); 43 SkMergeImageFilter(SkImageFilter* filters[], int count, const SkXfermode::Mode modes[], const CropRect* cropRect, uint32_t uniqueID) argument
|
/external/skia/src/effects/ |
H A D | SkPictureImageFilter.cpp | 23 SkPictureImageFilter::SkPictureImageFilter(SkPicture* picture, const SkRect& cropRect) argument 26 fCropRect(cropRect) {
|
H A D | SkRectShaderImageFilter.cpp | 22 CropRect cropRect(rect, flags); 23 return SkNEW_ARGS(SkRectShaderImageFilter, (s, &cropRect)); 26 SkRectShaderImageFilter* SkRectShaderImageFilter::Create(SkShader* s, const CropRect* cropRect) { argument 28 return SkNEW_ARGS(SkRectShaderImageFilter, (s, cropRect)); 31 SkRectShaderImageFilter::SkRectShaderImageFilter(SkShader* s, const CropRect* cropRect) argument 32 : INHERITED(NULL, cropRect)
|
H A D | SkDropShadowImageFilter.cpp | 31 SkImageFilter* input, const CropRect* cropRect) 32 : INHERITED(input, cropRect) 29 SkDropShadowImageFilter(SkScalar dx, SkScalar dy, SkScalar sigmaX, SkScalar sigmaY, SkColor color, SkImageFilter* input, const CropRect* cropRect) argument
|
H A D | SkOffsetImageFilter.cpp | 100 const CropRect* cropRect) : INHERITED(input, cropRect) { 99 SkOffsetImageFilter(SkScalar dx, SkScalar dy, SkImageFilter* input, const CropRect* cropRect) argument
|
/external/chromium_org/third_party/WebKit/Source/platform/graphics/filters/ |
H A D | FEBlend.cpp | 138 SkImageFilter::CropRect cropRect = getCropRect(builder->cropOffset()); local 139 return adoptRef(SkXfermodeImageFilter::Create(mode.get(), background.get(), foreground.get(), &cropRect));
|
H A D | FEOffset.cpp | 98 SkImageFilter::CropRect cropRect = getCropRect(builder->cropOffset()); local 99 return adoptRef(SkOffsetImageFilter::Create(SkFloatToScalar(filter->applyHorizontalScale(m_dx)), SkFloatToScalar(filter->applyVerticalScale(m_dy)), input.get(), &cropRect));
|
H A D | FEDropShadow.cpp | 113 SkImageFilter::CropRect cropRect = getCropRect(builder->cropOffset()); local 114 return adoptRef(SkDropShadowImageFilter::Create(SkFloatToScalar(dx), SkFloatToScalar(dy), SkFloatToScalar(stdX), SkFloatToScalar(stdY), color.rgb(), input.get(), &cropRect));
|
/external/chromium_org/third_party/skia/gm/ |
H A D | dropshadowimagefilter.cpp | 81 SkIRect cropRect = SkIRect::MakeXYWH(10, 10, 44, 44); local 83 c.drawRect(SkRect::Make(cropRect), paint); 130 SkImageFilter::CropRect cropRect(SkRect::Make(SkIRect::MakeXYWH(10, 10, 44, 44)), 141 SkDropShadowImageFilter::Create(7.0f, 7.0f, 3.0f, 3.0f, SK_ColorBLUE, NULL, &cropRect),
|
H A D | imagefilterscropped.cpp | 87 SkIRect cropRect = SkIRect::MakeXYWH(10, 10, 44, 44); local 89 c.drawRect(SkRect::Make(cropRect), paint); 134 SkImageFilter::CropRect cropRect(SkRect::Make(SkIRect::MakeXYWH(10, 10, 44, 44)), SkImageFilter::CropRect::kHasAll_CropEdge); 144 SkColorFilterImageFilter::Create(cf.get(), NULL, &cropRect), 145 SkBlurImageFilter::Create(1.0f, 1.0f, NULL, &cropRect), 146 SkBlurImageFilter::Create(8.0f, 0.0f, NULL, &cropRect), 147 SkBlurImageFilter::Create(0.0f, 8.0f, NULL, &cropRect), 148 SkBlurImageFilter::Create(8.0f, 8.0f, NULL, &cropRect), 149 SkMergeImageFilter::Create(NULL, cfOffset.get(), SkXfermode::kSrcOver_Mode, &cropRect),
|
H A D | offsetimagefilter.cpp | 67 void drawClippedBitmap(SkCanvas* canvas, const SkBitmap& bitmap, const SkPaint& paint, SkScalar scale, const SkIRect& cropRect) { argument 84 scaleMatrix.mapRect(&cropRectFloat, SkRect::Make(cropRect)); 100 SkIRect cropRect = SkIRect::MakeXYWH(i * 12, local 104 SkImageFilter::CropRect rect(SkRect::Make(cropRect)); 111 drawClippedBitmap(canvas, *bitmap, paint, SK_Scalar1, cropRect); 115 SkIRect cropRect = SkIRect::MakeXYWH(0, 0, 100, 100); local 116 SkImageFilter::CropRect rect(SkRect::Make(cropRect)); 120 drawClippedBitmap(canvas, fBitmap, paint, SkIntToScalar(2), cropRect);
|
H A D | xfermodeimagefilter.cpp | 201 SkIRect cropRect = SkIRect::MakeXYWH(offsets[i][0], variable 205 SkImageFilter::CropRect rect(SkRect::Make(cropRect));
|
/external/skia/gm/ |
H A D | dropshadowimagefilter.cpp | 80 SkIRect cropRect = SkIRect::MakeXYWH(10, 10, 44, 44); local 82 c.drawRect(SkRect::Make(cropRect), paint); 129 SkImageFilter::CropRect cropRect(SkRect::Make(SkIRect::MakeXYWH(10, 10, 44, 44)), 140 SkDropShadowImageFilter::Create(7.0f, 7.0f, 3.0f, 3.0f, SK_ColorBLUE, NULL, &cropRect),
|
H A D | imagefilterscropped.cpp | 86 SkIRect cropRect = SkIRect::MakeXYWH(10, 10, 44, 44); local 88 c.drawRect(SkRect::Make(cropRect), paint); 133 SkImageFilter::CropRect cropRect(SkRect::Make(SkIRect::MakeXYWH(10, 10, 44, 44)), SkImageFilter::CropRect::kHasAll_CropEdge); 143 SkColorFilterImageFilter::Create(cf.get(), NULL, &cropRect), 144 SkBlurImageFilter::Create(1.0f, 1.0f, NULL, &cropRect), 145 SkBlurImageFilter::Create(8.0f, 0.0f, NULL, &cropRect), 146 SkBlurImageFilter::Create(0.0f, 8.0f, NULL, &cropRect), 147 SkBlurImageFilter::Create(8.0f, 8.0f, NULL, &cropRect), 148 SkMergeImageFilter::Create(NULL, cfOffset.get(), SkXfermode::kSrcOver_Mode, &cropRect),
|
/external/chromium_org/third_party/WebKit/Source/core/frame/ |
H A D | ImageBitmap.cpp | 27 static inline PassRefPtr<Image> cropImage(Image* image, const IntRect& cropRect) argument 29 IntRect intersectRect = intersection(IntRect(IntPoint(), image->size()), cropRect); 38 ImageBitmap::ImageBitmap(HTMLImageElement* image, const IntRect& cropRect) argument 41 , m_cropRect(cropRect) 43 IntRect srcRect = intersection(cropRect, IntRect(0, 0, image->width(), image->height())); 44 m_bitmapRect = IntRect(IntPoint(std::max(0, -cropRect.x()), std::max(0, -cropRect.y())), srcRect.size()); 53 ImageBitmap::ImageBitmap(HTMLVideoElement* video, const IntRect& cropRect) argument 55 , m_cropRect(cropRect) 64 IntRect srcRect = intersection(cropRect, videoRec 78 ImageBitmap(HTMLCanvasElement* canvas, const IntRect& cropRect) argument 92 ImageBitmap(ImageData* data, const IntRect& cropRect) argument 109 ImageBitmap(ImageBitmap* bitmap, const IntRect& cropRect) argument 128 ImageBitmap(Image* image, const IntRect& cropRect) argument 145 create(HTMLImageElement* image, const IntRect& cropRect) argument 151 create(HTMLVideoElement* video, const IntRect& cropRect) argument 157 create(HTMLCanvasElement* canvas, const IntRect& cropRect) argument 163 create(ImageData* data, const IntRect& cropRect) argument 169 create(ImageBitmap* bitmap, const IntRect& cropRect) argument 175 create(Image* image, const IntRect& cropRect) argument [all...] |
H A D | SmartClip.cpp | 79 SmartClipData SmartClip::dataForRect(const IntRect& cropRect) argument 81 IntRect resizedCropRect = applyScaleWithoutCollapsingToZero(cropRect, 1 / pageScaleFactor()); 162 Node* SmartClip::findBestOverlappingNode(Node* rootNode, const IntRect& cropRect) argument 167 IntRect resizedCropRect = rootNode->document().view()->windowToContents(cropRect); 221 void SmartClip::collectOverlappingChildNodes(Node* parentNode, const IntRect& cropRect, WillBeHeapVector<RawPtrWillBeMember<Node> >& hitNodes) argument 225 IntRect resizedCropRect = parentNode->document().view()->windowToContents(cropRect);
|