Searched defs:gradient (Results 1 - 5 of 5) sorted by relevance

/openjdk7/jdk/src/share/classes/java/awt/
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 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...]
/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...]
/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...]

Completed in 405 milliseconds