SourceForge.net Logo
aXSL API 0.2

org.axsl.galley
Interface ScalableArea

All Known Subinterfaces:
ExternalGraphicArea, ForeignObjectArea

public interface ScalableArea

Super-interface for Areas whose content can be scaled differently than the viewport through which they are viewed.


Method Summary
 int referenceBpd()
          Returns the block-progression-dimension of the rectangle in which the content should be drawn.
 int referenceIpd()
          Returns the inline-progression-dimension of the rectangle in which the content should be drawn.
 

Method Detail

referenceIpd

int referenceIpd()
Returns the inline-progression-dimension of the rectangle in which the content should be drawn. Note that this rectangle originates at the same place that the area's content rectangle originates, but may have different dimensions and scaling. The content rectangle is essentially the viewport through which the content can be seen, while this rectangle is the reference area in which the content is actually drawn.

Returns:
The IPD of the rectangle in which the foreign content should be drawn.

referenceBpd

int referenceBpd()
Returns the block-progression-dimension of the rectangle in which the content should be drawn. Note that this rectangle originates at the same place that the area's content rectangle originates, but may have different dimensions and scaling. The content rectangle is essentially the viewport through which the content can be seen, while this rectangle is the reference area in which the content is actually drawn.

Returns:
The BPD of the rectangle in which the foreign content should be drawn.

SourceForge.net Logo
aXSL API 0.2

This documentation was created August 8 2007 by The aXSL Group and may be freely copied. See license for details.