App
GammaLUTBrush.java
Go to the documentation of this file.
1 package mhr.appcore.tools.brushlike;
2 
3 import mhr.appcore.bitmap.NBitmap;
4 import mhr.appcore.blending.BlendMode;
5 import mhr.appcore.blending.Blender;
6 import mhr.appcore.image.Image;
7 import mhr.appcore.image.ImageSelectedState;
8 import mhr.appcore.pointops.LUT;
9 import mhr.appcore.tools.actiondata.ToolActionData;
10 import mhr.appcore.tools.exceptions.ToolNotApplicableException;
11 import mhr.appcore.utils.Rect;
12 
16 public class GammaLUTBrush extends LUTBrush {
17 
27  public GammaLUTBrush(NBitmap brush, double opacity, double flow, double spacing, double gamma) {
28  super(brush, opacity, flow, spacing);
29  lut = LUT.getGammaLut(gamma);
30  }
31 }