Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ gpr_inq_text16_extent(A) — Apollo Domain/OS SR10.4.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

GPR_$INQ_TEXT16_EXTENT            GPR Calls             GPR_$INQ_TEXT16_EXTENT


NAME
     gpr_$inq_text16_extent - returns the extent of an array of 16-bit charac-
     ters.

FORMAT
     gpr_$inq_text16_extent (t_array, t_arrayl, size, status)

DESCRIPTION
     This routine returns the x- and y-offsets that the specified array of
     16-bit characters would span if written with gpr_$text16.

   Input Parameters
     t_array
          The array of 16-bit characters to inquire about, in
          gpr_$16bit_character_array_t format.  This is an array of unsigned
          2-byte integers.

     t_arrayl
          The number of 16-bit characters in the array.  This is a 2-byte
          integer.

   Output Parameters
     size The width and height the written character array will occupy, in
          gpr_$offset_t format.  This data type is 4 bytes long.

     status
          Completion status, in status_$t format.

NOTES
     When the text path is gpr_$right or gpr_$left, the width is the x-offset.
     When the text path is gpr_$up or gpr_$down, the width is the y-offset.

     To change the direction of text, use gpr_$set_text_path.

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