| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static Rectangle | |
| public static Rectangle | |
| pack-priv static Point2D | |
| public static void | render(Effect
the effect to be rendered effect, Graphics the g, float Graphics to which the Effect will be
renderedthe x location of the filtered result x, float the y location of the filtered result y, Effect the default input defaultInput)Effect to be used if
any of the inputs for any of the effects in the
chain are unspecified (i.e. null).Applies the given filter effect to the series of inputs and then renders
the result to the provided |
| public static void | |
| private static void |
| PrEffectHelper | back to summary |
|---|---|
| public PrEffectHelper() | |
| clipbounds | back to summary |
|---|---|
| pack-priv static Rectangle clipbounds(Point2D cul, Point2D cur, Point2D cll, Point2D clr) | |
| getGraphicsClipNoClone | back to summary |
|---|---|
| public static Rectangle getGraphicsClipNoClone(Graphics g) | |
| project | back to summary |
|---|---|
| pack-priv static Point2D project(float x, float y, double vw, double vh, NGCamera cam, BaseTransform inv, PickRay tmpray, Vec3d tmpvec, Point2D ret) | |
| render | back to summary |
|---|---|
| public static void render(Effect effect, Graphics g, float x, float y, Effect defaultInput) Applies the given filter effect to the series of inputs and then renders
the result to the provided
g.drawTexture(effect.filter(g.getTransform()), x, y);
except that it is likely to be more efficient (and correct).
| |
| renderImageData | back to summary |
|---|---|
| public static void renderImageData(Graphics gdst, ImageData srcData, Rectangle dstBounds) | |
| unscale | back to summary |
|---|---|
| private static void unscale(Vec3d v, double sx, double sy) | |