diff options
Diffstat (limited to 'include/vcl/bitmap.hxx')
-rw-r--r-- | include/vcl/bitmap.hxx | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/vcl/bitmap.hxx b/include/vcl/bitmap.hxx index 2f74b71dd7b3..04cc0cbca83d 100644 --- a/include/vcl/bitmap.hxx +++ b/include/vcl/bitmap.hxx @@ -650,6 +650,16 @@ public: BmpFilter eFilter, const BmpFilterParam* pFilterParam = nullptr ); + /** Copy block of image data into the bitmap. + Assumes that the Bitmap has been constructed with the desired size. + + @param pData + The block of data to copy + @param nStride + The number of bytes in a scanline, must >= width + */ + void SetToData( sal_uInt8 const *pData, sal_Int32 nStride ); + public: SAL_DLLPRIVATE void ImplMakeUnique(); |