public void createOperations(PhysicalOperationsCollector col,
Element e,
Content value,
Rectangle2D bounds) {
final Color paint = (Color) e.getStyle().getStyleProperty(ElementStyleSheet.PAINT);
final ImageContent ic = (ImageContent) value.getContentForBounds(bounds);
if (ic == null)
{
return;
}
col.addOperation(new PhysicalOperation.SetBoundsOperation
(computeAlignmentBounds(e, value, bounds)));
col.addOperation(new PhysicalOperation.SetPaintOperation(paint));
col.addOperation(new PhysicalOperation.PrintImageOperation(ic.getContent()));
}
Creates a list of operations. |