modules/graphics/src/main/java/com/sun/prism/impl/shape/ShapeRasterizer.java

Print this page




  18  * 2 along with this work; if not, write to the Free Software Foundation,
  19  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20  *
  21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22  * or visit www.oracle.com if you need additional information or have any
  23  * questions.
  24  */
  25 
  26 package com.sun.prism.impl.shape;
  27 
  28 import com.sun.javafx.geom.RectBounds;
  29 import com.sun.javafx.geom.Shape;
  30 import com.sun.javafx.geom.transform.BaseTransform;
  31 import com.sun.prism.BasicStroke;
  32 
  33 public interface ShapeRasterizer {
  34 
  35     public MaskData getMaskData(Shape shape, BasicStroke stroke,
  36                                 RectBounds xformBounds,
  37                                 BaseTransform xform,
  38                                 boolean close);
  39 }


  18  * 2 along with this work; if not, write to the Free Software Foundation,
  19  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20  *
  21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22  * or visit www.oracle.com if you need additional information or have any
  23  * questions.
  24  */
  25 
  26 package com.sun.prism.impl.shape;
  27 
  28 import com.sun.javafx.geom.RectBounds;
  29 import com.sun.javafx.geom.Shape;
  30 import com.sun.javafx.geom.transform.BaseTransform;
  31 import com.sun.prism.BasicStroke;
  32 
  33 public interface ShapeRasterizer {
  34 
  35     public MaskData getMaskData(Shape shape, BasicStroke stroke,
  36                                 RectBounds xformBounds,
  37                                 BaseTransform xform,
  38                                 boolean close, boolean antialiasedShape);
  39 }