Rev 7304 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 7304 | Rev 7307 | ||
---|---|---|---|
Line 45... | Line 45... | ||
45 | for (int n=0;n<arrmol.numLines();n++) |
45 | for (int n=0;n<arrmol.numLines();n++) |
46 | { |
46 | { |
47 | int btype=arrmol.lineType(n); |
47 | int btype=arrmol.lineType(n); |
48 | double x1=arrmol.lineX1(n),y1=arrmol.lineY1(n),x2=arrmol.lineX2(n),y2=arrmol.lineY2(n); |
48 | double x1=arrmol.lineX1(n),y1=arrmol.lineY1(n),x2=arrmol.lineX2(n),y2=arrmol.lineY2(n); |
49 | double dx=x2-x1,dy=y2-y1; |
49 | double dx=x2-x1,dy=y2-y1; |
- | 50 | ||
50 | if (btype==ArrangeMolecule.BLINE_NORMAL) |
51 | if (btype==ArrangeMolecule.BLINE_NORMAL) |
51 | { |
52 | { |
52 | svg.drawLine(x1,y1,x2,y2,arrmol.lineCol(n),arrmol.lineSize(n)); |
53 | svg.drawLine(x1,y1,x2,y2,arrmol.lineCol(n),arrmol.lineSize(n)); |
53 | } |
54 | } |
54 | else if (btype==ArrangeMolecule.BLINE_INCLINED) |
55 | else if (btype==ArrangeMolecule.BLINE_INCLINED) |