Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ xil_storage_get_coordinates(3) — SunOS 5.6

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

xil_storage_create(3)

xil_get_tile_storage(3)

xil_set_tile_storage(3)

xil_storage_get_coordinates(3)

NAME

xil_storage_get_coordinates, xil_storage_set_coordinates − get and set the position of a storage tile within an image

SYNOPSIS

#include <xil/xil.h>

void xil_storage_get_coordinates (XilStorage storage,
unsigned int ∗x,
unsigned int ∗y);

void xil_storage_set_coordinates (XilStorage storage,

unsigned int x,
unsigned int y);

DESCRIPTION

xil_storage_get_coordinates() returns the x and y pixel coordinates of the upper, left corner of the tile represented by storage within the image. When an XilStorage object is first created, these values are initialized to zero. The values are set by XIL through a call to xil_get_tile_storage(3) or xil_get_storage_with_copy(3).  If set by xil_get_storage_with_copy(3) the values will always be zero, as the storage represents the whole image. 

xil_storage_set_coordinates() sets the upper, left corner of the tile in order to position the tile represented by storage within the image. This must be done prior to calling xil_set_tile_storage(3).  If the values are set to other than zero before a call to xil_set_storage_with_copy(3) they are ignored. 

ERRORS

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

SEE ALSO

xil_storage_create(3), xil_get_tile_storage(3), xil_set_tile_storage(3). 

SunOS 5.6  —  Last change: 01 January 1997

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