Glg Toolkit

com.genlogic
Interface GlgCustomDrawListener


public interface GlgCustomDrawListener

Direct rendering interface. Provides low-level access to rendering primitives that are drawn on top of other objects and without the object overhead. It is used for fast rendering of large number of simple objects, such as lines representing icon history tracks and markers annotating icon position history.


Method Summary
 void CustomDrawCallback(GlgObject object, GlgCustomDrawData custom_draw_info)
          Direct rendering interface.
 

Method Detail

CustomDrawCallback

public void CustomDrawCallback(GlgObject object,
                               GlgCustomDrawData custom_draw_info)
Direct rendering interface. This method is invoked at the end of each painting request to let the application a chance to render some low-level graphics directly.

Parameters:
object - viewport object to which the CustomDraw listener is attached to.
custom_draw_info - GlgCustomDrawData object containing information needed for rendering graphics.

Glg Toolkit