Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

DoRaster(3D)

DoFileRaster(3D)

DsInqRaster(3D)  —  Kubota Pacfic Computer Inc. (\*(Dd)

NAME

DsInqRaster − Return the data of a raster object

SYNOPSIS

C:

void DsInqRaster(raster, width, height, depth, type,
typestring, data)
DtObject raster;
DtInt ∗width;
DtInt ∗height;
DtInt ∗depth;
DtRasterType ∗type;
DtPtr ∗typestring;
DtPtr ∗data;

FORTRAN:

CALL DSQR(RASTER, WIDTH, HEIGHT, DEPTH,
TYPE, TYPESTR, TLEN, DATA)
INTEGER∗4 RASTER
INTEGER∗4 WIDTH
INTEGER∗4 HEIGHT
INTEGER∗4 DEPTH
INTEGER∗4 TYPE
INTEGER∗4 TLEN
CHARACTER∗TLEN TYPSTR
INTEGER∗4 DATA

DESCRIPTION

DsInqRaster queries the data of the raster object raster.  width, height and depth are the dimensions of the raster.  type is the type and format of the raster data.  If the type is DcRasterSpecial then the character string typestring specifies the format of the data, otherwise it is ignored.  A pointer to the raster data is returned in data.  This pointer is the same pointer that was used to create the raster object.  Raster objects do NOT copy the data, so modifying values in data will change the data of the raster object raster. 

ERRORS

DsInqRaster will fail if the raster handle is invalid. 

[WARNING - invalid raster handle]

SEE ALSO

DoRaster(3D), DoFileRaster(3D)

September 02, 1992

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