| synopsis || return value || arguments || prev || next |

kdu_region_compositor::get_total_composition_dims

Java: Kdu_region_compositor::Get_total_composition_dims

bool get_total_composition_dims( kdu_dims & dims)

Java: boolean Get_total_composition_dims( Kdu_dims dims)

[Declared in "../apps/support/kdu_region_compositor.h"]

Go to class description.


Synopsis

Retrieves the location and size of the total composited image, based on the current set of compositing layers (or the raw image component) together with the information supplied to set_scale. Note that this is the region within which the composition buffer's region may roam (for interactive panning).

Note that the origin of the composition buffer may not lie at (0,0). In fact, it definitely will not lie at (0,0) if the image has been re-oriented.


Return Value

False if composition cannot be performed at the current scale. This condition may not be uncovered until some processing has been performed at the current scale, since it may not be until that point that some tile-component of some code-stream is found to have insufficient DWT levels. If this happens, you should set a larger scale using set_scale before proceeding.

Arguments

dims [kdu_dims &]


| top || synopsis || return value || arguments || prev || next |