Sha256: e2fbe7a498ccb08d098cfc4710930a4f2142730951fec1272283a9b2bbf3b1cb
Contents?: true
Size: 785 Bytes
Versions: 4
Compression:
Stored size: 785 Bytes
Contents
package org.sunflow.core; /** * This interface represents an image sampling algorithm capable of rendering * the entire image. Implementations are responsible for anti-aliasing and * filtering. */ public interface ImageSampler { /** * Prepare the sampler for rendering an image of w x h pixels * * @param w width of the image * @param h height of the image */ public boolean prepare(Options options, Scene scene, int w, int h); /** * Render the image to the specified display. The sampler can assume the * display has been opened and that it will be closed after the method * returns. * * @param display Display driver to send image data to */ public void render(Display display); }
Version data entries
4 entries across 4 versions & 1 rubygems