Searched defs:PaintContext (Results 1 - 2 of 2) sorted by relevance

/openjdk7/jdk/src/share/classes/java/awt/
H A DPaintContext.java32 * The <code>PaintContext</code> interface defines the encapsulated
35 * {@link Graphics2D}. The <code>PaintContext</code> provides
38 * The <code>PaintContext</code> maintains state for a particular paint
44 public interface PaintContext { interface
56 * <code>Paint</code>. Not all <code>PaintContext</code> objects are
/openjdk7/jdk/src/share/classes/javax/swing/plaf/nimbus/
H A DAbstractRegionPainter.java44 * PaintContext, which holds a lot of the state needed for cache hinting and x/y value decoding
50 * to the subclass to compute and cache the PaintContext over multiple calls.
52 private PaintContext ctx;
61 On each call to paint, we first ask the subclass for the PaintContext.
149 PaintContext.CacheMode cacheMode = ctx == null ? PaintContext.CacheMode.NO_CACHING : ctx.cacheMode;
150 if (cacheMode == PaintContext.CacheMode.NO_CACHING ||
155 } else if (cacheMode == PaintContext.CacheMode.FIXED_SIZES) {
176 * <p>Gets the PaintContext for this painting operation. This method is called on every
177 * paint, and so should be fast and produce no garbage. The PaintContext contain
489 protected static class PaintContext { class in class:AbstractRegionPainter
522 public PaintContext(Insets insets, Dimension canvasSize, boolean inverted) { method in class:AbstractRegionPainter.PaintContext
544 public PaintContext(Insets insets, Dimension canvasSize, boolean inverted, method in class:AbstractRegionPainter.PaintContext
[all...]

Completed in 36 milliseconds