public abstract class Pic
extends java.lang.Object
implements net.richarddawkins.watchmaker.phenotype.Phenotype
A Pic represents an ordered list of drawing primitives, generally lines (the class Lin)
Pic = RECORD
BasePtr: Ptr;
MovePtr: LinPtr;
Origin: Point;
PicSize: Integer;
PicPerson: person
END;
Pic = record
BasePtr: Ptr;
MovePtr: LinPtr;
Origin: Point;
PicSize: INTEGER;
PicPerson: person
end;
Pic = RECORD
BasePtr: Ptr;
MovePtr: LinPtr;
Origin: Point;
PicSize: Integer;
PicPerson: person
END;
| Modifier and Type | Field and Description |
|---|---|
java.util.Vector<Lin> |
lines |
net.richarddawkins.watchmaker.morph.Morph |
morph |
static int |
PICSIZEMAX
PICSIZEMAX is 4 * 4095, which is 4 times the original (Pascal) value, since the
current implementation stores each component of a symmetry separately, instead
of calculating them as they're drawn.
|
| Constructor and Description |
|---|
Pic() |
| Modifier and Type | Method and Description |
|---|---|
void |
addLin(Lin lin) |
net.richarddawkins.watchmaker.geom.Rect |
getMargin() |
int |
size() |
void |
zero() |
public static final int PICSIZEMAX
public java.util.Vector<Lin> lines
public net.richarddawkins.watchmaker.morph.Morph morph
public net.richarddawkins.watchmaker.geom.Rect getMargin()
getMargin in interface net.richarddawkins.watchmaker.phenotype.Phenotypepublic int size()
size in interface net.richarddawkins.watchmaker.phenotype.Phenotypepublic void addLin(Lin lin)
public void zero()
zero in interface net.richarddawkins.watchmaker.phenotype.Phenotype