org.scilab.forge.scirenderer.sprite
Interface SpriteDrawer


public interface SpriteDrawer

Author:
Pierre Lando

Nested Class Summary
static class SpriteDrawer.OriginPosition
          Origin position.
 
Method Summary
 void draw(SpriteDrawingTools drawingTools)
          Ask this drawer to draw with the given drawing tools.
 SpriteDrawer.OriginPosition getOriginPosition()
          Return the origin position.
 

Method Detail

draw

void draw(SpriteDrawingTools drawingTools)
Ask this drawer to draw with the given drawing tools.

Parameters:
drawingTools - the givens drawing tools.

getOriginPosition

SpriteDrawer.OriginPosition getOriginPosition()
Return the origin position. Warning: change the returned value during a draw call have no effect.

Returns:
the origin position.