Searched refs:gradient (Results 1 - 9 of 9) sorted by relevance

/openjdk7/jdk/src/share/classes/java/awt/
H A DMultipleGradientPaintContext.java47 * gradient to fill in their raster. It provides the actual color
49 * the gradient to fill pixels in a raster.
61 /** Color model used if gradient colors are all opaque. */
74 /** The method to use when painting out of the gradient bounds. */
86 * array of gradient colors. If this boolean value is false, then we have
87 * to use a 2-step process where we have to determine which gradient array
103 protected int[] gradient; field in class:MultipleGradientPaintContext
106 * Array of gradient arrays, one array for each interval. Used by
117 /** Used to determine if gradient colors are all opaque. */
207 // store the fast gradient arra
[all...]
H A DMultipleGradientPaint.java35 * gradient to fill in their raster. It provides storage for variables and
44 /** The method to use when painting outside the gradient bounds.
54 * Cycle the gradient colors start-to-end, end-to-start
60 * Cycle the gradient colors start-to-end, start-to-end
66 /** The color space in which to perform the gradient interpolation.
91 /** Transform to apply to gradient. */
94 /** The method to use when painting outside the gradient bounds. */
97 /** The color space in which to perform the gradient interpolation. */
109 SoftReference<int[]> gradient; field in class:MultipleGradientPaint
116 * distribution of colors along the gradient
[all...]
H A DRadialGradientPaintContext.java39 * gradient transform passed into the RadialGradientPaint constructor.
51 /** Radius of the outermost circle defining the 100% gradient stop. */
57 /** Radius of the gradient circle squared. */
92 * the gradient. The last color of the gradient is mapped to
95 * the gradient. The last color of the gradient is mapped to
98 * color gradient
103 * @param fractions the fractions specifying the gradient distribution
104 * @param colors the gradient color
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/plaf/metal/
H A DMetalUtils.java189 * Draws a radial type gradient. The gradient will be drawn vertically if
192 * r1 r2 c1 c2 c3. The gradient is broken down into four chunks drawn
198 * <li>The remaining size will be filled with a gradient from c1 to c3.
203 * @param key UIManager key used to look up gradient values.
208 * @param vertical Direction of the gradient
213 java.util.List gradient = (java.util.List)UIManager.get(key);
214 if (gradient == null || !(g instanceof Graphics2D)) {
223 c, (Graphics2D)g, gradient, x, y, w, h, vertical);
254 java.util.List gradient, in
253 paint(Component c, Graphics2D g, java.util.List gradient, int x, int y, int w, int h, boolean isVertical) argument
[all...]
/openjdk7/jdk/src/solaris/classes/sun/java2d/xr/
H A DXRCompositeManager.java50 XRSurfaceData gradient; field in class:XRCompositeManager
134 public void setGradientPaint(XRSurfaceData gradient) { argument
135 if (this.gradient != null) {
136 con.freePicture(this.gradient.picture);
138 this.gradient = gradient;
139 src = gradient;
238 if (enableGradCache && gradient != null
239 && cachedSrc == gradient.picture) {
240 con.renderComposite(XRUtils.PictOpSrc, gradient
[all...]
H A DXRPaints.java130 int gradient = con.createLinearGradient(pt1, pt2, fractions, pixels, repeat, at);
131 xrCompMan.setGradientPaint(new XRSurfaceData.XRInternalSurfaceData(con, gradient, at));
172 int gradient = con.createLinearGradient(pt1, pt2, fractions, pixels, repeat, at);
173 xrCompMan.setGradientPaint(new XRSurfaceData.XRInternalSurfaceData(con, gradient, at));
208 // transform unit circle to gradient coords; we start with the
210 // and then transform into gradient space
224 // of, the circumference of the gradient circle
228 int gradient = con.createRadialGradient(new Point2D.Float(0, 0), new Point2D.Float(0, 0), 0, radius, fractions, pixels, repeat, at);
229 xrCompMan.setGradientPaint(new XRSurfaceData.XRInternalSurfaceData(con, gradient, at));
H A DXRBackendNative.java181 int gradient =
192 return gradient;
/openjdk7/jdk/src/solaris/native/sun/java2d/x11/
H A DXRBackendNative.c76 const XLinearGradient *gradient,
83 const XRadialGradient *gradient,
458 Picture gradient = 0; local
492 gradient = (*XRenderCreateLinearGradientFunc)(awt_display, &grad, stops, colors, numStops);
495 gradient = XRenderCreateLinearGradient(awt_display, &grad, stops, colors, numStops);
503 if (gradient != 0) {
505 XRenderSetPictureTransform (awt_display, gradient, &tr);
507 XRenderChangePicture (awt_display, gradient, CPRepeat, &pict_attr);
510 return (jint) gradient;
525 Picture gradient local
[all...]
/openjdk7/jdk/src/macosx/native/com/apple/laf/
H A DJRSUIConstantSync.m188 CONSISTENCY_CHECK(Widget, gradient);

Completed in 44 milliseconds