Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ xil_get_child_offsets(3) — Solaris 2.4 x86 SDK

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

xil_create_child(3)

xil_get_child_offsets(3)

NAME

xil_get_child_offsets − get values of the offsets into a parent image

SYNOPSIS

#include <xil/xil.h>

void xil_get_child_offsets (XilImage image,

unsigned int ∗offsetX,
unsigned int ∗offsetY,
unsigned int ∗offsetBand);

DESCRIPTION

This function gets the values of the offsets into a parent image that were used in the xil_create_child(3) call that created the specified child image.  offsetX is the horizontal offset in pixels from the upper-left corner of the parent image to the upper-left corner of the child image.  offsetY is the vertical offset in pixels from the upper-left corner of the parent image to the upper-left corner of the child image.  offsetBand is the offset in bands, starting from the first band of the parent image to the first band in the child image. 

ERRORS

For a complete list of XIL error messages by number, consult Appendix B of the XIL Programmer’s Guide. 

EXAMPLES

Get the offsets used to create a child image:

XilImage image;
unsigned int x_offset, y_offset, band_offset;
xil_get_child_offsets(image, &x_offset, &y_offset, &band_offset);

SEE ALSO

xil_create_child(3). 

SunOS   —  Last change: 15 June 1993

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026