org.scilab.forge.scirenderer.examples.lineRendering
Class LineDrawer

java.lang.Object
  extended by org.scilab.forge.scirenderer.examples.lineRendering.LineDrawer
All Implemented Interfaces:
Drawer

public class LineDrawer
extends java.lang.Object
implements Drawer

Author:
Pierre Lando

Constructor Summary
LineDrawer(Canvas canvas, MouseRotationAdapter mra)
           
 
Method Summary
 void draw(DrawingTools dt)
          Ask this drawer to draw with the given drawing tools.
 void switchFace()
          Switch culled face.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LineDrawer

public LineDrawer(Canvas canvas,
                  MouseRotationAdapter mra)
Method Detail

switchFace

public void switchFace()
Switch culled face.


draw

public void draw(DrawingTools dt)
Description copied from interface: Drawer
Ask this drawer to draw with the given drawing tools.

Specified by:
draw in interface Drawer
Parameters:
dt - the givens drawing tools.