summaryrefslogtreecommitdiff
path: root/src/ext/plantuml/com/ctreber/acearth/scanbit/ScanBit.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/ext/plantuml/com/ctreber/acearth/scanbit/ScanBit.java')
-rw-r--r--src/ext/plantuml/com/ctreber/acearth/scanbit/ScanBit.java62
1 files changed, 0 insertions, 62 deletions
diff --git a/src/ext/plantuml/com/ctreber/acearth/scanbit/ScanBit.java b/src/ext/plantuml/com/ctreber/acearth/scanbit/ScanBit.java
deleted file mode 100644
index d5f7624..0000000
--- a/src/ext/plantuml/com/ctreber/acearth/scanbit/ScanBit.java
+++ /dev/null
@@ -1,62 +0,0 @@
-package ext.plantuml.com.ctreber.acearth.scanbit;
-
-/**
- * <p>Instruction to paint points xFrom to xTo on line y.
- *
- * <p>What I don't understand: why do values get summed to determine the
- * pixel type?
- *
- * <p>&copy; 2002 Christian Treber, ct@ctreber.com
- * @author Christian Treber, ct@ctreber.com
- *
- */
-public class ScanBit implements Comparable
-{
- private int fY;
- private int lXFrom;
- private int fXTo;
- private int fType;
-
- public ScanBit(int pY, int pLoX, int pHiX, int pType)
- {
- fY = pY;
- lXFrom = pLoX;
- fXTo = pHiX;
- fType = pType;
- }
-
- public int compareTo(Object o)
- {
- if(o instanceof ScanBit)
- {
- ScanBit lOther = (ScanBit)o;
- return (fY > lOther.fY) ? 1 : (fY < lOther.fY) ? -1 : 0;
- }
-
- throw new IllegalArgumentException("Can't compare with " + o.getClass());
- }
-
- public int getY()
- {
- return fY;
- }
-
- public int getlXFrom()
- {
- return lXFrom;
- }
-
- public int getXTo()
- {
- return fXTo;
- }
-
- /**
- * <p>See values for
- * @see ext.plantuml.com.ctreber.acearth.util.Polygon
- */
- public int getType()
- {
- return fType;
- }
-}