
META-INF.modules.java.desktop.classes.java.awt.MultipleGradientPaintContext.class Maven / Gradle / Ivy
???? :~ %java/awt/MultipleGradientPaintContext
java/lang/Object ()V
java/lang/NullPointerException Device bounds cannot be null
(Ljava/lang/String;)V User bounds cannot be null Transform cannot be null RenderingHints cannot be null
java/awt/geom/AffineTransform invert -java/awt/geom/NoninvertibleTransformException
! getMatrix ([D)V # $ % a00 F ' ( % a10 * + % a01 - . % a11 0 1 % a02 3 4 % a12 6 7 8 cycleMethod ,Ljava/awt/MultipleGradientPaint$CycleMethod; : ; <
colorSpace /Ljava/awt/MultipleGradientPaint$ColorSpaceType; > ? @ fractions [F B C D E F java/awt/MultipleGradientPaint gradient Ljava/lang/ref/SoftReference;
H I J K L java/lang/ref/SoftReference get ()Ljava/lang/Object; N [I B P Q F gradients S [[I
U V W calculateLookupData ([Ljava/awt/Color;)V Y Z [ model Ljava/awt/image/ColorModel; B Y ^ _ @ normalizedIntervals B ^ b c d isSimpleLookup Z B b g h i fastGradientArraySize I B g l E N
H n o (Ljava/lang/Object;)V q Q S s t u v < -java/awt/MultipleGradientPaint$ColorSpaceType
LINEAR_RGB x java/awt/Color
w z { | getRGB ()I ~ N SRGBtoLinearRGB
w ? ? (IIII)V? ? ? i transparencyTestC?
? ? W calculateMultipleArrayGradient
? ? ? calculateSingleArrayGradient ([Ljava/awt/Color;F)V ? ? [ xrgbmodel
? ? ? ? ? java/awt/image/ColorModel
getRGBdefault ()Ljava/awt/image/ColorModel;C
? ? ? interpolate (II[I)V
? ? ? ? ? java/lang/System arraycopy *(Ljava/lang/Object;ILjava/lang/Object;II)V
? ? ? !convertEntireColorLinearRGBtoSRGB (I)I?? ? ? N LinearRGBtoSRGB ? ? ? ? 8 *java/awt/MultipleGradientPaint$CycleMethod NO_CYCLE ? ? ? 8 REPEAT=%??AN?R??(?\)???G?z?@333333
? ? ? ? ? java/lang/Math pow (DD)D
? ? ? ? round (F)I?i??s????
=?ڪ?????=aG? ? ? ? saved Ljava/awt/image/Raster;
? ? ? ? | java/awt/image/Raster getWidth
? ? ? | getHeight
? ? ? getCachedRaster 6(Ljava/awt/image/ColorModel;II)Ljava/awt/image/Raster;
? ? ? ?
getDataBuffer ()Ljava/awt/image/DataBuffer; ? java/awt/image/DataBufferInt
? ? ? ? getData (I)[I
? ? ? | getOffset
? ? ? ? getSampleModel ()Ljava/awt/image/SampleModel; ? +java/awt/image/SinglePixelPackedSampleModel
? ? ? | getScanlineStride
? ? ?
fillRaster ([IIIIIII)V ? ? [ cachedModel ? ? ? cached Ljava/lang/ref/WeakReference;
? I ? java/lang/ref/WeakReference
? createCompatibleWritableRaster #(II)Ljava/awt/image/WritableRaster;
? n
putCachedRaster 5(Ljava/awt/image/ColorModel;Ljava/awt/image/Raster;)V
java/awt/image/DirectColorModel ? ?
?
? convertSRGBtoLinearRGB
? convertLinearRGBtoSRGB java/awt/PaintContext Signature 6Ljava/lang/ref/WeakReference;
GRADIENT_SIZE
ConstantValue GRADIENT_SIZE_INDEX ? MAX_GRADIENT_ARRAY_SIZE ?(Ljava/awt/MultipleGradientPaint;Ljava/awt/image/ColorModel;Ljava/awt/Rectangle;Ljava/awt/geom/Rectangle2D;Ljava/awt/geom/AffineTransform;Ljava/awt/RenderingHints;[F[Ljava/awt/Color;Ljava/awt/MultipleGradientPaint$CycleMethod;Ljava/awt/MultipleGradientPaint$ColorSpaceType;)V Code LineNumberTable LocalVariableTable tInv Ljava/awt/geom/AffineTransform; e /Ljava/awt/geom/NoninvertibleTransformException; this 'Ljava/awt/MultipleGradientPaintContext; mgp Ljava/awt/MultipleGradientPaint; cm deviceBounds Ljava/awt/Rectangle;
userBounds Ljava/awt/geom/Rectangle2D; t hints Ljava/awt/RenderingHints; colors [Ljava/awt/Color; m [D
StackMapTable9 java/awt/Rectangle; java/awt/geom/Rectangle2D= java/awt/RenderingHints @46 argb a r g b i normalizedColors Imin
estimatedSize
nGradients rgb1 rgb2 gradientsTot curOffset j output a1 r1 g1 b1 da dr dg db stepSize rgb indexIntoGradientsArrays part delta index position color input getRaster (IIII)Ljava/awt/image/Raster; x y w h raster rasterDB Ljava/awt/image/DataBufferInt; pixels off scanlineStride adjust ras cw ch iw ih cras dispose
getColorModel k
SourceFile !MultipleGradientPaintContext.java InnerClasses CycleMethod ColorSpaceType Z [
? [ ? [ ? ? ? ? 7 8 ; <