Lines Matching refs:sg2d

296     public void validatePipe(SunGraphics2D sg2d) {
297 if (sg2d.antialiasHint != SunHints.INTVAL_ANTIALIAS_ON &&
298 sg2d.paintState <= sg2d.PAINT_ALPHACOLOR &&
299 (sg2d.compositeState <= sg2d.COMP_ISCOPY ||
300 sg2d.compositeState == sg2d.COMP_XOR))
310 sg2d.drawpipe = lazypipe;
311 sg2d.fillpipe = lazypipe;
312 sg2d.shapepipe = lazypipe;
313 sg2d.imagepipe = lazypipe;
314 sg2d.textpipe = lazypipe;
318 if (sg2d.clipState == sg2d.CLIP_SHAPE) {
323 super.validatePipe(sg2d);
325 switch (sg2d.textAntialiasHint) {
332 if (sg2d.compositeState == sg2d.COMP_ISCOPY) {
333 sg2d.textpipe = x11textpipe;
335 sg2d.textpipe = solidTextRenderer;
342 sg2d.textpipe = aaTextRenderer;
346 switch (sg2d.getFontInfo().aaHint) {
350 sg2d.textpipe = lcdTextRenderer;
356 if (sg2d.compositeState == sg2d.COMP_ISCOPY) {
357 sg2d.textpipe = x11textpipe;
359 sg2d.textpipe = solidTextRenderer;
364 sg2d.textpipe = aaTextRenderer;
368 sg2d.textpipe = solidTextRenderer;
373 if (sg2d.transformState >= sg2d.TRANSFORM_TRANSLATESCALE) {
374 sg2d.drawpipe = x11txpipe;
375 sg2d.fillpipe = x11txpipe;
376 } else if (sg2d.strokeState != sg2d.STROKE_THIN){
377 sg2d.drawpipe = x11txpipe;
378 sg2d.fillpipe = x11pipe;
380 sg2d.drawpipe = x11pipe;
381 sg2d.fillpipe = x11pipe;
383 sg2d.shapepipe = x11pipe;
384 sg2d.imagepipe = imagepipe;
391 if (sg2d.loops == null) {
393 sg2d.loops = getRenderLoops(sg2d);
396 super.validatePipe(sg2d);
400 public RenderLoops getRenderLoops(SunGraphics2D sg2d) {
401 if (sg2d.paintState <= sg2d.PAINT_ALPHACOLOR &&
402 sg2d.compositeState <= sg2d.COMP_ISCOPY)
406 return super.getRenderLoops(sg2d);
481 public boolean copyArea(SunGraphics2D sg2d,
490 CompositeType comptype = sg2d.imageComp;
491 if (sg2d.transformState < sg2d.TRANSFORM_TRANSLATESCALE &&
495 x += sg2d.transX;
496 y += sg2d.transY;
500 long xgc = getBlitGC(sg2d.getCompClip(), needExposures);
822 public boolean validate(SunGraphics2D sg2d) {
823 X11SurfaceData xsd = (X11SurfaceData) sg2d.surfaceData;
828 return super.validate(sg2d);