Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ XDrIString(3X) — AOS 4.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

XDrawString(3X)

XDrawText(3X)

XDrawImageString(3X)  —  X Version 11

NAME

XDrawImageString, XDrawImageString16 − draw image text

SYNTAX

XDrawImageString(display, d, gc, x, y, string, length)
      Display ∗display;
      Drawable d;
      GC gc;
      int x, y;
      char ∗string;
      int length;

XDrawImageString16(display, d, gc, x, y, string, length)
      Display ∗display;
      Drawable d;
      GC gc;
      int x, y;
      XChar2b ∗string;
      int length;

ARGUMENTS

dSpecifies the drawable. 

displaySpecifies the connection to the X server. 

gcSpecifies the graphics context. 

lengthSpecifies the number of characters in the string argument. 

stringSpecifies the character string. 

x

ySpecify the x and y coordinates. 

DESCRIPTION

The XDrawImageString and XDrawImageString16 functions draw 8-bit and 16-bit image text characters in the specified drawable. These functions also modify both the foreground and background pixels in the characters. .PN XDrawImageString and .PN XDrawImageString16 can generate BadDrawable, BadGC, and BadMatch errors.

DIAGNOSTICS

BadDrawable
A value for a Drawable argument does not name a defined Window or Pixmap.

BadGC A value for a GContext argument does not name a defined GContext. 

BadMatch An InputOnly window is used as a Drawable.

BadMatch Some argument or pair of arguments has the correct type and range but fails to match in some other way required by the request. 

SEE ALSO

XDrawString(3X), XDrawText(3X)
Xlib − C Language X Interface

1 March 1988

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