Lines Matching refs:sg
54 public Object startSequence(SunGraphics2D sg, Shape s,
56 return comppipe.startSequence(sg, s, devR, bbox);
71 public Object startSequence(SunGraphics2D sg, Shape s,
73 return sg;
86 public void draw(SunGraphics2D sg, Shape s) {
87 if (sg.stroke instanceof BasicStroke) {
88 ShapeSpanIterator sr = LoopPipe.getStrokeSpans(sg, s);
90 renderSpans(sg, sg.getCompClip(), s, sr);
95 fill(sg, sg.stroke.createStrokedShape(s));
103 public void fill(SunGraphics2D sg, Shape s) {
105 (sg.transform.getType() & NON_RECTILINEAR_TRANSFORM_MASK) == 0)
107 renderRect(sg, (Rectangle2D) s);
111 Region clipRegion = sg.getCompClip();
112 ShapeSpanIterator sr = LoopPipe.getFillSSI(sg);
115 sr.appendPath(s.getPathIterator(sg.transform));
116 renderSpans(sg, clipRegion, s, sr);
122 public abstract Object startSequence(SunGraphics2D sg, Shape s,
129 public void renderRect(SunGraphics2D sg, Rectangle2D r) {
138 sg.transform.transform(corners, 0, corners, 0, 2);
158 Region clipRegion = sg.getCompClip();
163 Object context = startSequence(sg, r, devR, abox);
179 public void renderSpans(SunGraphics2D sg, Region clipRegion, Shape s,
194 context = startSequence(sg, s, devR, abox);