This method queries a canvas interface for this bitmap, to
which draw operations can then be issued. Please note that
concurrent draw operations on that XBitmapCanvas
interface and modifying operations on this bitmap interface
might cause undesired effects. Although the implementations
are required to not crash in this case, the result of such
concurrent operations are undefined (i.e. anything
else, including corruption of the bitmap data, or deadlocking,
might actually happen). Thus, it is highly recommended to
externally serialize the access here.
Returns
an XBitmapCanvas interface, whose
rendering operations are directed into the bitmap.
Requested size of the new bitmap. Both of the two size
components must be greater than zero.
Parameter beFast
When set to true, this parameter advises getScaledBitmap to
use the fastest available algorithm to scale the bitmap, which
might cause visible artifacts.
Returns
the new scaled bitmap.
Throws
com::sun::star::lang::IllegalArgumentException
if the size components are outside the specified range.
Throws
VolatileContentDestroyedException
if the contents of a volatile bitmap have been destroyed, and
thus cannot be read to generate the scaled bitmap.