summaryrefslogtreecommitdiff
path: root/gnu/java/awt/peer/gtk/ComponentGraphics.java
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/java/awt/peer/gtk/ComponentGraphics.java')
-rw-r--r--gnu/java/awt/peer/gtk/ComponentGraphics.java51
1 files changed, 0 insertions, 51 deletions
diff --git a/gnu/java/awt/peer/gtk/ComponentGraphics.java b/gnu/java/awt/peer/gtk/ComponentGraphics.java
index c8ec2c95e..612efd628 100644
--- a/gnu/java/awt/peer/gtk/ComponentGraphics.java
+++ b/gnu/java/awt/peer/gtk/ComponentGraphics.java
@@ -480,57 +480,6 @@ public class ComponentGraphics extends CairoGraphics2D
return super.drawImage(bimg, x, y, width, height, observer);
}
- public void drawLine(int x1, int y1, int x2, int y2)
- {
- lock();
- try
- {
- if (comp == null || comp instanceof AlphaComposite)
- super.drawLine(x1, y1, x2, y2);
-
- else
- draw(new Line2D.Double(x1, y1, x2, y2));
- }
- finally
- {
- unlock();
- }
- }
-
- public void drawRect(int x, int y, int width, int height)
- {
- lock();
- try
- {
- if (comp == null || comp instanceof AlphaComposite)
- super.drawRect(x, y, width, height);
-
- else
- draw(new Rectangle2D.Double(x, y, width, height));
- }
- finally
- {
- unlock();
- }
- }
-
- public void fillRect(int x, int y, int width, int height)
- {
- lock();
- try
- {
- if (comp == null || comp instanceof AlphaComposite)
- super.fillRect(x, y, width, height);
-
- else
- fill(new Rectangle2D.Double(x, y, width, height));
- }
- finally
- {
- unlock();
- }
- }
-
public void setClip(Shape s)
{
lock();