public interface ILsp3DIcon extends ILcdBounded
An icon is by itself not georeferenced. Therefore, although this interface extends ILcdBounded, the coordinate system in which the bounds are returned is unspecified. The icon should, however, not draw anything outside of its bounds. This way, painters can reliably use the bounds to reposition and/or rescale the icon.
|Modifier and Type||Method and Description|
Paints the icon to the specified ILcdGLDrawable.
void paint(ILspGLState aIconState, ILcdGLDrawable aGLDrawable, TLspPaintPass aPass, TLspContext aContext)
The caller is responsible for setting up any desired transformations or other application-specific OpenGL state beforehand.
The icon should not paint anything outside of the bounding box it returns from its getBounds() method.
aIconState- a GL state that defines transformations that must be applied to the basic icon before painting it.
aGLDrawable- an ILcdGLDrawable
aPass- the current paint pass
aContext- provides context information