imgdb::MpLoader::GetOffsetH Member Function

Syntax

f32 GetOffsetH() const;

Parameters

None.

Return Values

The horizontal offset value (in pixels).

Description

Gets the horizontal offset value.

When the value is 0.0f, the images to the left and right display at the same positions.
When the value is 1.0f, the image to the left is moved one pixel to the left (relative to the width of the actual image not affected by downscale decoding) and the image to the right is similarly moved one pixel to the right for display.
Position the images on the screen as if they have been scaled to the sizes being shown.
This value is only used when the GetAdjustablePictureFlag function returns TRUE. When that function returns FALSE, treat the value as 0.0f.


CONFIDENTIAL