Kaydet (Commit) 52aaed93 authored tarafından Oliver Bolte's avatar Oliver Bolte

INTEGRATION: CWS presfixes12 (1.3.256); FILE MERGED

2007/02/20 22:45:38 thb 1.3.256.1: #i37778# Removed artificial restrictions to getContentCanvas() method
üst 250e0d4c
...@@ -4,9 +4,9 @@ ...@@ -4,9 +4,9 @@
* *
* $RCSfile: XCustomSprite.idl,v $ * $RCSfile: XCustomSprite.idl,v $
* *
* $Revision: 1.3 $ * $Revision: 1.4 $
* *
* last change: $Author: rt $ $Date: 2005-09-08 02:58:51 $ * last change: $Author: obo $ $Date: 2007-07-17 14:32:19 $
* *
* The Contents of this file are made available subject to * The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1. * the terms of GNU Lesser General Public License Version 2.1.
...@@ -74,20 +74,6 @@ interface XCustomSprite : XSprite ...@@ -74,20 +74,6 @@ interface XCustomSprite : XSprite
origin of the sprite's canvas device coordinate system will origin of the sprite's canvas device coordinate system will
move with the sprite across the screen. move with the sprite across the screen.
@attention Everytime the XCustomSprite is updated, the content
canvas must be quried via this method. You are, on the other
hand, allowed to temporarily store the canvas while rendering
a single sprite update. You might even store the canvas
between subsequent calls to getContentCanvas(), but should be
aware of the fact that the returned interface might be a
different object everytime.
@attention Since changes to the sprite content will become
visible after a XSpriteCanvas::updateScreen(), calls to this
method must be synchronized externally. Otherwise, the sprite
content rendered to screen is undefined. This is nothing the
XCustomSprite can or will manage by itself.
@return the canvas the sprite content can be rendered into. @return the canvas the sprite content can be rendered into.
*/ */
XCanvas getContentCanvas(); XCanvas getContentCanvas();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment