Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
package com.marginallyclever.makelangelo.plotter.plotterrenderer;
import com.marginallyclever.makelangelo.plotter.Plotter;
import com.marginallyclever.makelangelo.plotter.plottersettings.PlotterSettings;
import java.awt.*;
/**
* Each {@link PlotterRenderer} renders a {@link Plotter} with custom graphics. That is to say it draws the machine,
* not the drawing made by the machine.
* {@link PlotterRenderer}s do not store any state data. They must rely on {@link Plotter} and {@link PlotterSettings}.
* {@code render()} method.
*
* @author Dan Royer
*/
public interface PlotterRenderer {
/**
* Custom look and feel for each version
*
* @param shader the render context
* @param gl the render context
* @param robot the machine to draw.
*/
void render(Graphics g, Plotter robot);
}
230ed377bThis file is pinned to the selected release. Download the original to open it in your design tool.