Home
last modified time | relevance | path

Searched refs:aCropRect (Results 1 – 25 of 49) sorted by relevance

12

/dports/editors/libreoffice6/libreoffice-6.4.7.2/vcl/source/outdev/
H A Drect.cxx344 tools::Rectangle aCropRect( aSourceRect ); in AdjustTwoRect() local
348 if( aCropRect.IsEmpty() ) in AdjustTwoRect()
362 rTwoRect.mnSrcX = aCropRect.Left(); in AdjustTwoRect()
363 rTwoRect.mnSrcY = aCropRect.Top(); in AdjustTwoRect()
364 rTwoRect.mnSrcWidth = aCropRect.GetWidth(); in AdjustTwoRect()
385 tools::Rectangle aCropRect( aSourceRect ); in AdjustTwoRect() local
387 aCropRect.Intersection( rValidSrcRect ); in AdjustTwoRect()
389 if( aCropRect.IsEmpty() ) in AdjustTwoRect()
403 rTwoRect.mnSrcX = aCropRect.Left(); in AdjustTwoRect()
404 rTwoRect.mnSrcY = aCropRect.Top(); in AdjustTwoRect()
[all …]
/dports/editors/libreoffice/libreoffice-7.2.6.2/vcl/source/outdev/
H A Drect.cxx368 tools::Rectangle aCropRect( aSourceRect ); in AdjustTwoRect() local
372 if( aCropRect.IsEmpty() ) in AdjustTwoRect()
386 rTwoRect.mnSrcX = aCropRect.Left(); in AdjustTwoRect()
387 rTwoRect.mnSrcY = aCropRect.Top(); in AdjustTwoRect()
410 tools::Rectangle aCropRect( aSourceRect ); in AdjustTwoRect() local
412 aCropRect.Intersection( rValidSrcRect ); in AdjustTwoRect()
414 if( aCropRect.IsEmpty() ) in AdjustTwoRect()
428 rTwoRect.mnSrcX = aCropRect.Left(); in AdjustTwoRect()
429 rTwoRect.mnSrcY = aCropRect.Top(); in AdjustTwoRect()
430 rTwoRect.mnSrcWidth = aCropRect.GetWidth(); in AdjustTwoRect()
[all …]
/dports/www/firefox-esr/firefox-91.8.0/dom/canvas/
H A DImageBitmap.cpp389 mCropRect(aCropRect) { in CreateImageFromRawDataInMainThreadSyncTask()
714 if (ret && aCropRect.isSome()) { in CreateInternal()
741 if (ret && aCropRect.isSome()) { in CreateInternal()
785 if (ret && aCropRect.isSome()) { in CreateInternal()
825 aCropRect.isSome()) { in CreateInternal()
848 if (ret && aCropRect.isSome()) { in CreateInternal()
969 if (ret && aCropRect.isSome()) { in CreateInternal()
990 if (ret && aCropRect.isSome()) { in CreateInternal()
1092 mCropRect(aCropRect), in CreateImageBitmapFromBlob()
1208 if (aCropRect.isSome()) { in Create()
[all …]
H A DImageBitmap.h122 const Maybe<gfx::IntRect>& aCropRect,
176 const Maybe<gfx::IntRect>& aCropRect, ErrorResult& aRv);
180 const Maybe<gfx::IntRect>& aCropRect, ErrorResult& aRv);
184 const Maybe<gfx::IntRect>& aCropRect, ErrorResult& aRv);
188 const Maybe<gfx::IntRect>& aCropRect, ErrorResult& aRv);
192 const Maybe<gfx::IntRect>& aCropRect, ErrorResult& aRv);
196 const Maybe<gfx::IntRect>& aCropRect, ErrorResult& aRv);
200 const Maybe<gfx::IntRect>& aCropRect, ErrorResult& aRv);
/dports/lang/spidermonkey78/firefox-78.9.0/dom/canvas/
H A DImageBitmap.cpp383 mCropRect(aCropRect) { in CreateImageFromRawDataInMainThreadSyncTask()
715 if (ret && aCropRect.isSome()) { in CreateInternal()
748 if (ret && aCropRect.isSome()) { in CreateInternal()
792 if (ret && aCropRect.isSome()) { in CreateInternal()
832 aCropRect.isSome()) { in CreateInternal()
861 if (ret && aCropRect.isSome()) { in CreateInternal()
981 if (ret && aCropRect.isSome()) { in CreateInternal()
1002 if (ret && aCropRect.isSome()) { in CreateInternal()
1104 mCropRect(aCropRect), in CreateImageBitmapFromBlob()
1220 if (aCropRect.isSome()) { in Create()
[all …]
H A DImageBitmap.h121 const Maybe<gfx::IntRect>& aCropRect,
174 const Maybe<gfx::IntRect>& aCropRect, ErrorResult& aRv);
178 const Maybe<gfx::IntRect>& aCropRect, ErrorResult& aRv);
182 const Maybe<gfx::IntRect>& aCropRect, ErrorResult& aRv);
186 const Maybe<gfx::IntRect>& aCropRect, ErrorResult& aRv);
190 const Maybe<gfx::IntRect>& aCropRect, ErrorResult& aRv);
194 const Maybe<gfx::IntRect>& aCropRect, ErrorResult& aRv);
198 const Maybe<gfx::IntRect>& aCropRect, ErrorResult& aRv);
/dports/mail/thunderbird/thunderbird-91.8.0/dom/canvas/
H A DImageBitmap.cpp389 mCropRect(aCropRect) { in CreateImageFromRawDataInMainThreadSyncTask()
714 if (ret && aCropRect.isSome()) { in CreateInternal()
741 if (ret && aCropRect.isSome()) { in CreateInternal()
785 if (ret && aCropRect.isSome()) { in CreateInternal()
825 aCropRect.isSome()) { in CreateInternal()
848 if (ret && aCropRect.isSome()) { in CreateInternal()
969 if (ret && aCropRect.isSome()) { in CreateInternal()
990 if (ret && aCropRect.isSome()) { in CreateInternal()
1092 mCropRect(aCropRect), in CreateImageBitmapFromBlob()
1208 if (aCropRect.isSome()) { in Create()
[all …]
H A DImageBitmap.h122 const Maybe<gfx::IntRect>& aCropRect,
176 const Maybe<gfx::IntRect>& aCropRect, ErrorResult& aRv);
180 const Maybe<gfx::IntRect>& aCropRect, ErrorResult& aRv);
184 const Maybe<gfx::IntRect>& aCropRect, ErrorResult& aRv);
188 const Maybe<gfx::IntRect>& aCropRect, ErrorResult& aRv);
192 const Maybe<gfx::IntRect>& aCropRect, ErrorResult& aRv);
196 const Maybe<gfx::IntRect>& aCropRect, ErrorResult& aRv);
200 const Maybe<gfx::IntRect>& aCropRect, ErrorResult& aRv);
/dports/www/firefox-legacy/firefox-52.8.0esr/dom/canvas/
H A DImageBitmap.cpp287 , mCropRect(aCropRect) in CreateImageFromRawDataInMainThreadSyncTask()
786 if (ret && aCropRect.isSome()) { in CreateInternal()
840 if (ret && aCropRect.isSome()) { in CreateInternal()
874 aCropRect.isSome()) { in CreateInternal()
903 if (ret && aCropRect.isSome()) { in CreateInternal()
1007 if (ret && aCropRect.isSome()) { in CreateInternal()
1172 if (aCropRect.isSome()) { in DecodeAndCropBlob()
1187 aCropRect->MoveTo(0, 0); in DecodeAndCropBlob()
1214 mCropRect(aCropRect) in CreateImageBitmapFromBlob()
1322 , mCropRect(aCropRect) in DecodeBlobInMainThreadSyncTask()
[all …]
H A DImageBitmap.h132 const Maybe<gfx::IntRect>& aCropRect, ErrorResult& aRv);
211 const Maybe<gfx::IntRect>& aCropRect, ErrorResult& aRv);
215 const Maybe<gfx::IntRect>& aCropRect, ErrorResult& aRv);
219 const Maybe<gfx::IntRect>& aCropRect, ErrorResult& aRv);
223 const Maybe<gfx::IntRect>& aCropRect, ErrorResult& aRv);
227 const Maybe<gfx::IntRect>& aCropRect, ErrorResult& aRv);
231 const Maybe<gfx::IntRect>& aCropRect, ErrorResult& aRv);
/dports/www/firefox/firefox-99.0/dom/canvas/
H A DImageBitmap.h123 const Maybe<gfx::IntRect>& aCropRect,
178 const Maybe<gfx::IntRect>& aCropRect, const ImageBitmapOptions& aOptions,
184 const Maybe<gfx::IntRect>& aCropRect, const ImageBitmapOptions& aOptions,
189 const Maybe<gfx::IntRect>& aCropRect, const ImageBitmapOptions& aOptions,
194 const Maybe<gfx::IntRect>& aCropRect, const ImageBitmapOptions& aOptions,
199 const Maybe<gfx::IntRect>& aCropRect, const ImageBitmapOptions& aOptions,
204 const Maybe<gfx::IntRect>& aCropRect, const ImageBitmapOptions& aOptions,
209 const Maybe<gfx::IntRect>& aCropRect, const ImageBitmapOptions& aOptions,
214 const Maybe<gfx::IntRect>& aCropRect, const ImageBitmapOptions& aOptions,
219 const Maybe<gfx::IntRect>& aCropRect, const ImageBitmapOptions& aOptions,
H A DImageBitmap.cpp546 mCropRect(aCropRect), in CreateImageFromRawDataInMainThreadSyncTask()
1110 aCropRect.isSome()) { in CreateInternal()
1159 aCropRect.isSome() && in CreateInternal()
1305 cropRect = aCropRect.valueOr(cropRect); in CreateInternal()
1314 if (aCropRect.isSome()) { in CreateInternal()
1316 IntRect newCropRect = aCropRect.ref(); in CreateInternal()
1336 cropRect = aCropRect.ref(); in CreateInternal()
1444 mCropRect(aCropRect), in CreateImageBitmapFromBlob()
1560 if (aCropRect.isSome()) { in Create()
1561 if (aCropRect->Width() == 0) { in Create()
[all …]
/dports/lang/spidermonkey60/firefox-60.9.0/dom/canvas/
H A DImageBitmap.cpp381 mCropRect(aCropRect) { in CreateImageFromRawDataInMainThreadSyncTask()
811 if (ret && aCropRect.isSome()) { in CreateInternal()
855 if (ret && aCropRect.isSome()) { in CreateInternal()
895 aCropRect.isSome()) { in CreateInternal()
924 if (ret && aCropRect.isSome()) { in CreateInternal()
1026 if (ret && aCropRect.isSome()) { in CreateInternal()
1050 if (ret && aCropRect.isSome()) { in CreateInternal()
1161 mCropRect(aCropRect), in CreateImageBitmapFromBlob()
1162 mOriginalCropRect(aCropRect), in CreateImageBitmapFromBlob()
1295 if (aCropRect.isSome() && in Create()
[all …]
H A DImageBitmap.h121 const Maybe<gfx::IntRect>& aCropRect,
203 const Maybe<gfx::IntRect>& aCropRect, ErrorResult& aRv);
207 const Maybe<gfx::IntRect>& aCropRect, ErrorResult& aRv);
211 const Maybe<gfx::IntRect>& aCropRect, ErrorResult& aRv);
215 const Maybe<gfx::IntRect>& aCropRect, ErrorResult& aRv);
219 const Maybe<gfx::IntRect>& aCropRect, ErrorResult& aRv);
223 const Maybe<gfx::IntRect>& aCropRect, ErrorResult& aRv);
/dports/editors/libreoffice/libreoffice-7.2.6.2/lotuswordpro/source/filter/
H A Dlwpgrfobj.cxx583 LwpRect aCropRect; in CreateGrafObject() local
586 aCropRect.fLeft = (aFrameRect.fLeft - aImageRect.fLeft) / fXRatio; in CreateGrafObject()
591 aCropRect.fRight = (aImageRect.fRight - aFrameRect.fRight) / fXRatio; in CreateGrafObject()
597 aCropRect.fTop = (aFrameRect.fTop - aImageRect.fTop) / fYRatio; in CreateGrafObject()
601 aCropRect.fBottom = (aImageRect.fBottom - aFrameRect.fBottom) / fYRatio; in CreateGrafObject()
604 … xImageStyle->SetClip(aCropRect.fLeft, aCropRect.fRight, aCropRect.fTop, aCropRect.fBottom); in CreateGrafObject()
605 double fPicWidth = fSclGrafWidth - (aCropRect.fLeft+aCropRect.fRight)*fXRatio; in CreateGrafObject()
606 double fPicHeight = fSclGrafHeight- (aCropRect.fTop+aCropRect.fBottom)*fYRatio; in CreateGrafObject()
/dports/editors/libreoffice6/libreoffice-6.4.7.2/lotuswordpro/source/filter/
H A Dlwpgrfobj.cxx574 LwpRect aCropRect; in CreateGrafObject() local
586 aCropRect.fLeft = (aFrameRect.fLeft - aImageRect.fLeft) / fXRatio; in CreateGrafObject()
591 aCropRect.fRight = (aImageRect.fRight - aFrameRect.fRight) / fXRatio; in CreateGrafObject()
597 aCropRect.fTop = (aFrameRect.fTop - aImageRect.fTop) / fYRatio; in CreateGrafObject()
601 aCropRect.fBottom = (aImageRect.fBottom - aFrameRect.fBottom) / fYRatio; in CreateGrafObject()
604 … xImageStyle->SetClip(aCropRect.fLeft, aCropRect.fRight, aCropRect.fTop, aCropRect.fBottom); in CreateGrafObject()
605 double fPicWidth = fSclGrafWidth - (aCropRect.fLeft+aCropRect.fRight)*fXRatio; in CreateGrafObject()
606 double fPicHeight = fSclGrafHeight- (aCropRect.fTop+aCropRect.fBottom)*fYRatio; in CreateGrafObject()
/dports/editors/libreoffice6/libreoffice-6.4.7.2/vcl/source/graphic/
H A DGraphicObject.cxx472 tools::Rectangle aCropRect; in Draw() local
506 aCropRect = aClipPolyPoly.GetBoundRect(); in Draw()
507 pOut->IntersectClipRegion( aCropRect ); in Draw()
707 tools::Rectangle aCropRect; in GetTransformedGraphic() local
764 aCropRect = tools::Rectangle( aCropLeftTop.Width(), aCropLeftTop.Height(), in GetTransformedGraphic()
778 …if( !aCropRect.IsInside( tools::Rectangle(aAnimationBitmap.maPositionPixel, aAnimationBitmap.maSiz… in GetTransformedGraphic()
781 tools::Rectangle aCropRectRel( aCropRect ); in GetTransformedGraphic()
833 aCropRect, rDestSize, true ); in GetTransformedGraphic()
/dports/editors/libreoffice/libreoffice-7.2.6.2/vcl/source/graphic/
H A DGraphicObject.cxx501 tools::Rectangle aCropRect = aClipPolyPoly.GetBoundRect(); in Draw() local
502 rOut.IntersectClipRegion(aCropRect); in Draw()
696 tools::Rectangle aCropRect; in GetTransformedGraphic() local
753 aCropRect = tools::Rectangle( aCropLeftTop.Width(), aCropLeftTop.Height(), in GetTransformedGraphic()
767 …if( !aCropRect.IsInside( tools::Rectangle(aAnimationBitmap.maPositionPixel, aAnimationBitmap.maSiz… in GetTransformedGraphic()
770 tools::Rectangle aCropRectRel( aCropRect ); in GetTransformedGraphic()
822 aCropRect, rDestSize, true ); in GetTransformedGraphic()
/dports/editors/libreoffice6/libreoffice-6.4.7.2/emfio/source/reader/
H A Demfreader.cxx1370 … const tools::Rectangle aCropRect( Point( xSrc, ySrc ), Size( cxSrc, cySrc ) ); in ReadEnhWMF() local
1371 aBitmapEx.Crop( aCropRect ); in ReadEnhWMF()
1446 … tools::Rectangle aCropRect( Point( xSrc, ySrc ), Size( cxSrc, cySrc ) ); in ReadEnhWMF() local
1447 aBitmap.Crop( aCropRect ); in ReadEnhWMF()
1517 … tools::Rectangle aCropRect( Point( xSrc, ySrc ), Size( cxSrc, cySrc ) ); in ReadEnhWMF() local
1518 aBitmap.Crop( aCropRect ); in ReadEnhWMF()
H A Dwmfreader.cxx747 tools::Rectangle aCropRect( Point( nSx, nSy ), Size( nSxe, nSye ) ); in ReadRecordParams() local
748 aBitmap.Crop( aCropRect ); in ReadRecordParams()
797 tools::Rectangle aCropRect( Point( nSx, nSy ), Size( nSxe, nSye ) ); in ReadRecordParams() local
798 aBmp.Crop( aCropRect ); in ReadRecordParams()
/dports/editors/libreoffice/libreoffice-7.2.6.2/vcl/quartz/
H A Dsalbmp.cxx512 …const CGRect aCropRect = { { static_cast<CGFloat>(nX), static_cast<CGFloat>(nY) }, { static_cast<C… in CreateCroppedImage() local
513 xCroppedImage = CGImageCreateWithImageInRect( mxCachedImage, aCropRect ); in CreateCroppedImage()
/dports/editors/libreoffice/libreoffice-7.2.6.2/emfio/source/reader/
H A Demfreader.cxx1602 … const tools::Rectangle aCropRect( Point( xSrc, ySrc ), Size( cxSrc, cySrc ) ); in ReadEnhWMF() local
1603 aBitmapEx.Crop( aCropRect ); in ReadEnhWMF()
1678 … tools::Rectangle aCropRect( Point( xSrc, ySrc ), Size( cxSrc, cySrc ) ); in ReadEnhWMF() local
1679 aBitmap.Crop( aCropRect ); in ReadEnhWMF()
1749 … tools::Rectangle aCropRect( Point( xSrc, ySrc ), Size( cxSrc, cySrc ) ); in ReadEnhWMF() local
1750 aBitmap.Crop( aCropRect ); in ReadEnhWMF()
H A Dwmfreader.cxx856 tools::Rectangle aCropRect( Point( nXSrc, nYSrc ), Size( nSxe, nSye ) ); in ReadRecordParams() local
857 aBitmap.Crop( aCropRect ); in ReadRecordParams()
921 … tools::Rectangle aCropRect( Point( nXSrc, nYSrc ), Size( nSrcWidth, nSrcHeight ) ); in ReadRecordParams() local
922 aBmp.Crop( aCropRect ); in ReadRecordParams()
/dports/editors/libreoffice/libreoffice-7.2.6.2/cppcanvas/source/mtfrenderer/
H A Dimplrenderer.cxx2176 const ::tools::Rectangle aCropRect( pAct->GetSrcPoint(), in createActions() local
2178 aBmp.Crop( aCropRect ); in createActions()
2256 const ::tools::Rectangle aCropRect( pAct->GetSrcPoint(), in createActions() local
2258 aBmp.Crop( aCropRect ); in createActions()
2353 const ::tools::Rectangle aCropRect( pAct->GetSrcPoint(), in createActions() local
2355 aBmp.Crop( aCropRect ); in createActions()
/dports/editors/libreoffice6/libreoffice-6.4.7.2/cppcanvas/source/mtfrenderer/
H A Dimplrenderer.cxx2175 const ::tools::Rectangle aCropRect( pAct->GetSrcPoint(), in createActions() local
2177 aBmp.Crop( aCropRect ); in createActions()
2255 const ::tools::Rectangle aCropRect( pAct->GetSrcPoint(), in createActions() local
2257 aBmp.Crop( aCropRect ); in createActions()
2352 const ::tools::Rectangle aCropRect( pAct->GetSrcPoint(), in createActions() local
2354 aBmp.Crop( aCropRect ); in createActions()

12