Changeset 606
- Timestamp:
- 12/12/13 09:38:11 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/expeditee/io/WebParser.java
r603 r606 473 473 Picture pic = ItemUtils.CreatePicture(text, frame); 474 474 475 pic.setCrop(cropStartX, cropStartY, cropEndX, cropEndY);476 477 // pic.setPosition(x, y);475 float invScale = 1 / pic.getScale(); 476 477 pic.setCrop((int)(cropStartX * invScale), (int)(cropStartY * invScale), (int)(cropEndX * invScale), (int)(cropEndY * invScale)); 478 478 479 479 System.out.println("width = " + width + " source = " + pic.getSource().getText() + " scale = " + pic.getScale());
Note:
See TracChangeset
for help on using the changeset viewer.