Overview | Module | Use | Devguide | Index

Methods' Summary | Attributes' Summary | Methods' Details | Attributes' Details

:: com :: sun :: star :: rendering ::
unpublished | interface XBitmapCanvas |
  Base Interfaces
      XBitmapCanvas
      ┗ XCanvas
  XCanvas | (referenced interface's summary:) Central interface for rendering.
Usage Restrictions not published Description This is a specialization of the canvas interface for bitmapped canvases. This interface is a specialization of the canvas interface for bitmapped canvases, where additional methods for accessing and moving of bitmap content are provided. Since OOo 2.0

Methods' Summary
copyRect | This method copies a rectangular area from a place of one canvas to a place on another.

Methods' Details
copyRect
void
copyRect( | [in] XBitmapCanvas | sourceCanvas,
| [in] ::com::sun::star::geometry::RealRectangle2D | sourceRect,
| [in] ViewState | sourceViewState,
| [in] RenderState | sourceRenderState,
| [in] ::com::sun::star::geometry::RealRectangle2D | destRect,
| [in] ViewState | destViewState,
| [in] RenderState | destRenderState )
raises( | ::com::sun::star::lang::IllegalArgumentException, VolatileContentDestroyedException );
Description This method copies a rectangular area from a place of one canvas to a place on another. This method copies a rectangular area from a place of one canvas to a place on another. Source and destination areas are permitted to overlap. If the source view or render state has a clipping set, the regions clipped away from the source rectangle are regarded fully transparent for the copy operation. The device color for both source and destination render state is ignored, the compositing mode only for the source render state. Parameter sourceCanvas Canvas from which to copy the bitmap data. Can be identical to the canvas this method is called on, but must be valid. Parameter sourceRect Rectangle from which to copy the bitmap data. This rectangle is subject to both view and render transformation, before being applied. Thus, on screen, it does not necessarily resemble a rectangle any more. The rectangle must be non-empty, see ::com::sun::star::geometry::RealRectangle2D for details. Parameter sourceViewState The view state to apply to the source of this copy operation. The view transformation must be non-singular. Parameter sourceRenderState The render state to apply to the source of this copy operation. The render transformation must be non-singular, and the compositing mode must be one of the ::CompositingOperation values. Parameter destRect Rectangle into which to copy the bitmap data. This rectangle is subject to both view and render transformation, before being applied. Thus, on screen, it does not necessarily resemble a rectangle any more. The rectangle must be non-empty, see ::com::sun::star::geometry::RealRectangle2D for details. Parameter destViewState The view state to apply to the destination of this copy operation. The view transformation must be non-singular. Parameter destRenderState The render state to apply to the destination of this copy operation. The render transformation must be non-singular, and the compositing mode must be one of the ::CompositingOperation values. Throws com::sun::star::lang::IllegalArgumentException if one of the parameters are not within the specified range.

Top of Page

Copyright © 2000, 2013 LibreOffice contributors and/or their affiliates. All rights reserved.

LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.

The Document Foundation acknowledges all community members, please find more info at our website.

Privacy Policy | Impressum (Legal Info) | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (LGPLv3). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.