@seeXImageProducer
*/
published interface XImageConsumer: com::sun::star::uno::XInterface
{
/** initializes the consumer with image dimensions.
*/ void init( [in] long Width,
[in] long Height );
/** changes color model for next pixels typicallycalledonceafterinitialization.
*/ void setColorModel( [in] short BitCount,
[in] sequence<long> RGBAPal,
[in] long RedMask,
[in] long GreenMask,
[in] long BlueMask,
[in] long AlphaMask );
/** delivers a chunk of pixels as `long` values.
<p>Thepixelsoftheimagearedeliveredusingoneormorecalls tothismethod.Eachcallspecifiesthelocationandsizeofthe rectangleofsourcepixelsthatarecontainedinthearrayofpixels. Thespecifiedcolormodelobjectshouldbeusedtoconvert thepixelsintotheircorrespondingcolorandalphacomponents.Pixel (m,n)isstoredinthepixelsarrayatindex(n*<var>nScanSize</var> +m+nOffset).</p>
*/ void setPixelsByBytes( [in] long nX,
[in] long nY,
[in] long nWidth,
[in] long nHeight,
[in] sequence<byte> aProducerData,
[in] long nOffset,
[in] long nScanSize );
/** delivers a chunk of pixels as `byte` values.
<p>Thepixelsoftheimagearedeliveredusingoneormorecalls tothismethod.Eachcallspecifiesthelocationandsizeofthe rectangleofsourcepixelsthatarecontainedinthearrayofpixels. Thespecifiedcolormodelobjectshouldbeusedtoconvert thepixelsintotheircorrespondingcolorandalphacomponents.Pixel (m,n)isstoredinthepixelsarrayatindex(n*<var>nScanSize</var> +m+nOffset).</p>
*/ void setPixelsByLongs( [in] long nX,
[in] long nY,
[in] long nWidth,
[in] long nHeight,
[in] sequence<long> aProducerData,
[in] long nOffset,
[in] long nScanSize );
/** is called for the notification of the degree to which the imageisdelivered.
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.