Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ LctBtmpFile(3X) — DeltaWindows 1.3.3 Release 4 Version 4.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

 

NAME

XmuLocateBitmapFile — creates a one-plane pixmap from a bitmap file in a standard location. 

SYNOPSIS

#include <X11/Xmu/Drawing.h>

XmuLocateBitmapFile(screen, name, srcname, srcnamelen, widthp,

heightp, xhotp, yhotp)
    Screen ∗screen;
    char ∗name;
    char ∗srcname;
    int srcnamelen;
    int ∗widthp, ∗heightp, ∗xhotp, ∗yhotp;

ARGUMENTS

screenSpecifies the appropriate Screen structure. 

nameSpecifies the file to read from. 

srcnameReturns the full filename of the bitmap. 

srcnamelen
Specifies the length of the srcname buffer.

widthReturns the width of the bitmap. 

heightReturns the height of the bitmap. 

xhotpReturns the x coordinate of the hotspot. 

yhotpReturns the y coordinate of the hotspot. 

DESCRIPTION

XmuLocateBitmapFile reads a file in standard bitmap file format, using XReadBitmapFile(), and returns the created bitmap.  The filename may be absolute, or relative to the global resource named bitmapFilePath with class BitmapFilePath.  If the resource is not defined, the default value is the build symbol BITMAPDIR, which is typically /usr/include/X11/bitmaps.  If srcnamelen is greater than zero and srcname is not NULL, the NULL-terminated filename will be copied into srcname.  The size and hotspot of the bitmap are also returned. 

SEE ALSO

XmuCreatePixmapFromBitmap, XmuCreatePixmapFromBitmap, XmuCreateStippledPixmap, XmuCreateStippledPixmap, XmuDrawLogo, XmuDrawLogo, XmuDrawRoundedRectangle, XmuDrawRoundedRectangle, XmuFillRoundedRectangle, XmuFillRoundedRectangle, XmuReadBitmapData, XmuReadBitmapData, XmuReadBitmapDataFromFile, XmuReadBitmapDataFromFile, XmuReleaseStippledPixmap. 

Xlib Reference Manual

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