:: com :: sun :: star :: rendering ::

interface XBufferController
Base Interfaces
::com::sun::star::uno::XInterface
  |  
  +--XBufferController
::com::sun::star::uno::XInterface
(referenced interface's summary:)
base interface of all UNO interfaces
Usage Restrictions
not published
Description
Interface providing access to double/multi-buffer facilities of screen devices.

This interface provides methods to enable and control double/multi-buffering facilities on screen devices.

Since
OpenOffice 2.0.0

Methods' Summary
showBuffer Create the given number of background buffers.  
renderToBuffer Switch the canvas to render into the buffer with the specified index number.  
Methods' Details
showBuffer
boolean
showBuffer( [in] long  nBuffer )
raises( ::com::sun::star::lang::IllegalArgumentException );

Description
Create the given number of background buffers.

There's one buffer implicitely available, which is the canvas surface itself. Thus, calling createBuffers(1) creates a double-buffered object.

Parameter nBuffers
The number of background The method returns, when the switch is performed and the selected buffer is shown on screen, or immediately when an error occurs.

Parameter nBuffer
Buffer to switch the display to. Valid range is from 0 to the number returned by createBuffers()-1.
Returns
whether the switch was performed successfully.
Throws
com::sun::star::lang::IllegalArgumentException if nBuffer is outside the permissible range.
renderToBuffer
boolean
renderToBuffer( [in] long  nBuffer )
raises( ::com::sun::star::lang::IllegalArgumentException );

Description
Switch the canvas to render into the buffer with the specified index number.
Parameter nBuffer
Buffer to change the rendering to. Valid range is from 0 to the number returned by createBuffers()-1.
Returns
true, if this switch was successful.
Throws
com::sun::star::lang::IllegalArgumentException if nBuffer is outside the permissible range.
Top of Page