:: com :: sun :: star :: rendering ::
|
unpublished |
interface XCustomSprite |
|
|
- Base Interfaces
XCustomSprite
┗ XSprite
XSprite |
- (referenced interface's summary:)
- Interface to control a sprite object.
|
|
- Usage Restrictions
- not published
- Description
- Interface to control a custom sprite object on a XSpriteCanvas.
Every change performed on XCustomSprite objects is only visible
after a XSpriteCanvas::updateScreen() call, to facilitate
synchronized screen updates.
TODO: Maybe more than alpha has to be overridden from render state.
TODO: Provide means to change the output area
|
Methods' Summary |
getContentCanvas |
Query a render canvas for this sprite's content. |
Methods' Details |
getContentCanvas
- Description
- Query a render canvas for this sprite's content.
Whatever is rendered to this canvas will become visible on the
screen only after a XSpriteCanvas::updateScreen() call at the
associated sprite canvas. This canvas is not equivalent to the
host canvas of the sprite. At the very least, all output
happens relative to the sprite's upper left corner, i.e. the
origin of the sprite's canvas device coordinate system will
move with the sprite across the screen.
- Returns
- the canvas the sprite content can be rendered into.
|
|
Top of Page
Copyright © 2000, 2012 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.