boolean ignoreMissingVergilSize) {
StringBuffer analysis = new StringBuffer();
if (top instanceof CompositeActor) {
SizeAttribute vergilSize = (SizeAttribute) top
.getAttribute("_vergilSize");
ExpertParameter vergilZoom = (ExpertParameter) top
.getAttribute("_vergilZoomFactor");
ExpertParameter vergilCenter = (ExpertParameter) top
.getAttribute("_vergilCenter");
if (vergilSize != null) {
try {
IntMatrixToken vergilSizeToken;
vergilSizeToken = (IntMatrixToken) vergilSize.getToken();
if (vergilSizeToken == null) {
throw new IllegalActionException(top,
"_vergilSize token was null?");
}
int width = vergilSizeToken.getElementAt(0, 0);
int height = vergilSizeToken.getElementAt(0, 1);
if (width > 800) {
analysis.append(" width(" + width + ") > 800");
}
if (height > 768) {
analysis.append(" height(" + height + ") > 768");
}
if (vergilCenter != null) {
try {
ArrayToken vergilCenterToken = (ArrayToken) vergilCenter
.getToken();
double x = ((ScalarToken) vergilCenterToken
.getElement(0)).doubleValue();
double y = ((ScalarToken) vergilCenterToken
.getElement(1)).doubleValue();