png_get_oFFs
Name
png_get_oFFs -- get screen offsets for the given image
Synopsis
png_uint_32
png_get_oFFs
(png_structp
png_ptr, png_infop
info_ptr, png_int_32 *
x_offset, png_int_32 *
y_offset, int *
unit_type);
Description
png_get_oFFs() shall read the positive offset from the left edge of the screen
from info_ptr to x_offset and the positive offset from the top edge of the
screen to y_offset. The unit type shall be returned in unit_type, which can take
the following values
PNG_OFFSET_PIXEL |
PNG_OFFSET_MICROMETER |
Return Value
On success, png_get_oFFs() shall return PNG_INFO_oFFs. Otherwise, png_get_oFFs()
shall return 0.