move renderer.layer to renderer.sublayers and renderer.overlays to renderer.layers

This commit is contained in:
Hannes Janetzek
2013-05-06 04:36:24 +02:00
parent c682ae518c
commit 2ff67d078d
49 changed files with 726 additions and 440 deletions

View File

@@ -201,46 +201,16 @@ public final class Line extends RenderInstruction {
this.min = min;
}
public Line(int stroke, float width, Cap cap) {
this.level = 0;
this.blur = 0;
this.cap = cap;
this.outline = false;
this.style = "";
this.width = width;
this.fixed = true;
this.fade = -1;
this.stipple = 0;
this.stippleColor = Color.BLACK;
this.stippleWidth = 0;
this.min = 0;
this.color = stroke; //GlUtils.colorToFloatP(stroke);
public Line(int stroke, float width) {
this(0, "", stroke, width, Cap.BUTT, true, 0, 0, 0, -1, 0, false, 0);
}
public Line(int stroke, float width, int stipple) {
this.level = 0;
this.blur = 0;
this.cap = Cap.BUTT;
this.outline = false;
this.style = "";
this.width = width;
this.fixed = true;
this.fade = -1;
this.stipple = stipple;
this.stippleColor = Color.BLACK;
this.stippleWidth = 0.6f;
this.min = 0;
color = stroke; //GlUtils.colorToFloatP(stroke);
public Line(int stroke, float width, Cap cap) {
this(0, "", stroke, width, cap, true, 0, 0, 0, -1, 0, false, 0);
}
@Override
public void renderWay(IRenderCallback renderCallback) {
renderCallback.renderWay(this, level);
}
// @Override
// public void scaleStrokeWidth(float scaleFactor) {
// paint.setStrokeWidth(strokeWidth * scaleFactor);
// }
}