Searched refs:positiveCropRect (Results 1 – 6 of 6) sorted by relevance
/dports/www/firefox-esr/firefox-91.8.0/dom/canvas/ |
H A D | ImageBitmap.cpp | 207 const IntRect positiveCropRect = FixUpNegativeDimension(aCropRect, error); in CropAndCopyDataSourceSurface() local 223 IntSize(positiveCropRect.width, positiveCropRect.height); in CropAndCopyDataSourceSurface() 238 if (surfRect.Intersects(positiveCropRect)) { in CropAndCopyDataSourceSurface() 239 const IntRect surfPortion = surfRect.Intersect(positiveCropRect); in CropAndCopyDataSourceSurface() 240 const IntPoint dest(std::max(0, surfPortion.X() - positiveCropRect.X()), in CropAndCopyDataSourceSurface() 241 std::max(0, surfPortion.Y() - positiveCropRect.Y())); in CropAndCopyDataSourceSurface()
|
/dports/lang/spidermonkey78/firefox-78.9.0/dom/canvas/ |
H A D | ImageBitmap.cpp | 195 const IntRect positiveCropRect = FixUpNegativeDimension(aCropRect, error); in CropAndCopyDataSourceSurface() local 211 IntSize(positiveCropRect.width, positiveCropRect.height); in CropAndCopyDataSourceSurface() 226 if (surfRect.Intersects(positiveCropRect)) { in CropAndCopyDataSourceSurface() 227 const IntRect surfPortion = surfRect.Intersect(positiveCropRect); in CropAndCopyDataSourceSurface() 228 const IntPoint dest(std::max(0, surfPortion.X() - positiveCropRect.X()), in CropAndCopyDataSourceSurface() 229 std::max(0, surfPortion.Y() - positiveCropRect.Y())); in CropAndCopyDataSourceSurface()
|
/dports/mail/thunderbird/thunderbird-91.8.0/dom/canvas/ |
H A D | ImageBitmap.cpp | 207 const IntRect positiveCropRect = FixUpNegativeDimension(aCropRect, error); in CropAndCopyDataSourceSurface() local 223 IntSize(positiveCropRect.width, positiveCropRect.height); in CropAndCopyDataSourceSurface() 238 if (surfRect.Intersects(positiveCropRect)) { in CropAndCopyDataSourceSurface() 239 const IntRect surfPortion = surfRect.Intersect(positiveCropRect); in CropAndCopyDataSourceSurface() 240 const IntPoint dest(std::max(0, surfPortion.X() - positiveCropRect.X()), in CropAndCopyDataSourceSurface() 241 std::max(0, surfPortion.Y() - positiveCropRect.Y())); in CropAndCopyDataSourceSurface()
|
/dports/www/firefox/firefox-99.0/dom/canvas/ |
H A D | ImageBitmap.cpp | 207 const IntRect positiveCropRect = FixUpNegativeDimension(aCropRect, error); in CropAndCopyDataSourceSurface() local 223 IntSize(positiveCropRect.width, positiveCropRect.height); in CropAndCopyDataSourceSurface() 238 if (surfRect.Intersects(positiveCropRect)) { in CropAndCopyDataSourceSurface() 239 const IntRect surfPortion = surfRect.Intersect(positiveCropRect); in CropAndCopyDataSourceSurface() 240 const IntPoint dest(std::max(0, surfPortion.X() - positiveCropRect.X()), in CropAndCopyDataSourceSurface() 241 std::max(0, surfPortion.Y() - positiveCropRect.Y())); in CropAndCopyDataSourceSurface()
|
/dports/www/firefox-legacy/firefox-52.8.0esr/dom/canvas/ |
H A D | ImageBitmap.cpp | 92 const IntRect positiveCropRect = FixUpNegativeDimension(aCropRect, error); in CropAndCopyDataSourceSurface() local 107 const IntSize dstSize = IntSize(positiveCropRect.width, in CropAndCopyDataSourceSurface() 108 positiveCropRect.height); in CropAndCopyDataSourceSurface() 122 if (surfRect.Intersects(positiveCropRect)) { in CropAndCopyDataSourceSurface() 123 const IntRect surfPortion = surfRect.Intersect(positiveCropRect); in CropAndCopyDataSourceSurface() 124 const IntPoint dest(std::max(0, surfPortion.X() - positiveCropRect.X()), in CropAndCopyDataSourceSurface() 125 std::max(0, surfPortion.Y() - positiveCropRect.Y())); in CropAndCopyDataSourceSurface()
|
/dports/lang/spidermonkey60/firefox-60.9.0/dom/canvas/ |
H A D | ImageBitmap.cpp | 193 const IntRect positiveCropRect = FixUpNegativeDimension(aCropRect, error); in CropAndCopyDataSourceSurface() local 209 IntSize(positiveCropRect.width, positiveCropRect.height); in CropAndCopyDataSourceSurface() 224 if (surfRect.Intersects(positiveCropRect)) { in CropAndCopyDataSourceSurface() 225 const IntRect surfPortion = surfRect.Intersect(positiveCropRect); in CropAndCopyDataSourceSurface() 226 const IntPoint dest(std::max(0, surfPortion.X() - positiveCropRect.X()), in CropAndCopyDataSourceSurface() 227 std::max(0, surfPortion.Y() - positiveCropRect.Y())); in CropAndCopyDataSourceSurface()
|