Changeset 407
- Timestamp:
- 11/18/08 16:12:01 (16 years ago)
- Location:
- trunk/src/org/expeditee/items
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/expeditee/items/ItemUtils.java
r365 r407 654 654 copy.removeAllConstraints(); 655 655 656 for(Line l: origEnd.getLines()){ 657 l.invalidateAll(); 658 } 659 656 660 // create a new line 657 661 Frame currentFrame = DisplayIO.getCurrentFrame(); -
trunk/src/org/expeditee/items/Line.java
r362 r407 1154 1154 1155 1155 arrowLength += ((thickness * 2) + 1); 1156 int nArrowLength = (int) arrowLength; 1157 1158 // NAIVE version - but probably more efficient in the long run... 1159 // overall 1160 // as opposed to advanced/expensive calculations for getting exact 1161 // bounding box 1156 int nArrowLength = (int) (arrowLength + 1); 1157 1158 /* NAIVE version - but probably more efficient in the long run... 1159 overall as opposed to advanced/expensive calculations for getting exact 1160 bounding box */ 1162 1161 Rectangle arrowBounds = new Rectangle(_end.getX() - nArrowLength, 1163 1162 _end.getY() - nArrowLength, 2 * nArrowLength,
Note:
See TracChangeset
for help on using the changeset viewer.