png_set_oFFs

Name

png_set_oFFs -- set screen offsets for given image

Synopsis

#include <png.h>

void png_set_oFFs(png_structp png_ptr, png_infop info_ptr, png_int_32 offset_x, png_int_32 offset_y, int unit_type);

Description

png_set_oFFs() shall set the positive offset from the left edge of the screen to offset_x and the positive offset from the left edge of the screen to offset_y. The unit_type must be PNG_OFFSET_PIXEL if the offset is defined in pixels or PNG_OFFSET_MICROMETER if the offset is defined in microns.