Lines Matching refs:cmodel
68 protected ColorModel cmodel;
93 public ImageRepresentation(ToolkitImage im, ColorModel cmodel, boolean
101 setColorModel(cmodel);
169 return cmodel;
215 cmodel = ColorModel.getRGBdefault();
224 cmodel = model;
228 if (cmodel == null) {
229 cmodel = model;
238 cmodel = model;
244 isSameCM = (cmodel == model);
253 biRaster = cmodel.createCompatibleWritableRaster(width, height);
254 bimage = createImage(cmodel, biRaster,
255 cmodel.isAlphaPremultiplied(), null);
258 cmodel = ColorModel.getRGBdefault();
259 biRaster = cmodel.createCompatibleWritableRaster(width, height);
260 bimage = createImage(cmodel, biRaster, false, null);
264 if ((cmodel == ColorModel.getRGBdefault()) ||
269 else if (cmodel instanceof DirectColorModel) {
270 DirectColorModel dcm = (DirectColorModel) cmodel;
288 if (cmodel instanceof IndexColorModel &&
305 newpixels[off++] = cmodel.getRGB(srcpixels);
313 cmodel = ColorModel.getRGBdefault();
323 bimage = createImage(cmodel, biRaster,
324 cmodel.isAlphaPremultiplied(), null);
359 if (cmodel == null) {
360 cmodel = model;
422 if (isSameCM && (cmodel != model) && (srcLUT != null) &&
452 cmodel = icm;
508 else if ((cmodel == model) &&
556 if (cmodel == null) {
557 cmodel = model;
566 if (cmodel instanceof IndexColorModel) {
572 if ((model == cmodel) &&
590 cmodel.getTransparency() == cmodel.OPAQUE) {
598 if (cmodel.equals(model)) {
628 tmp = cmodel.getDataElements(pixel,tmp);
925 cmodel = null;