//ignore
break;
case DSCParserConstants.DSC_COMMENT:
DSCComment comment = event.asDSCComment();
if (comment instanceof DSCCommentBoundingBox) {
DSCCommentBoundingBox bboxComment = (DSCCommentBoundingBox)comment;
if (DSCConstants.BBOX.equals(bboxComment.getName()) && bbox == null) {
bbox = (Rectangle2D)bboxComment.getBoundingBox().clone();
//BoundingBox is good but HiRes is better so continue
} else if (DSCConstants.HIRES_BBOX.equals(bboxComment.getName())) {
bbox = (Rectangle2D)bboxComment.getBoundingBox().clone();
//HiRefBBox is great so stop
break outerLoop;
}
}
break;