GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  EZ_CREATEXPIXMAPFROMXPMFILE (3)

NAME

EZ_CreateXPixmapFromImageFile, EZ_CreateXPixmapFromBitmapFile, EZ_CreateXPixmapFromXpmData, EZ_CreateXPixmapFromXpmFile, EZ_FreeXPixmap - create/free native X pixmap from file or data

CONTENTS

Synopsis
Arguments
Description

SYNOPSIS


#include <EZ.h> 

int EZ_CreateXPixmapFromImageFile(char *file, unsigned int *w_ret, unsigned int *h_ret, Pixmap *pixmap_ret)

int EZ_CreateXPixmapFromXpmData(char **data, unsigned int *w_ret, unsigned int *h_ret, Pixmap *pixmap_ret, Pixmap *shape_ret)

int EZ_CreateXPixmapFromXpmData(char *file, unsigned int *w_ret, unsigned int *h_ret, Pixmap *pixmap_ret, Pixmap *shape_ret)

int EZ_CreateXPixmapFromBitmapFile(char *file, unsigned int *w_ret, unsigned int *h_ret, Pixmap *pixmap_ret, Pixmap *shape_ret)

void EZ_FreeXPixmap(Pixmap pximap)

ARGUMENTS

file Specifies a unix file name.

data Specifies an XPM data or an X bitmap data.

w_ret, h_ret Specify the returns for the width and height of the X pixmap.

pixmap_ret Specifies the returns for the X pixmap.

shape_ret Specifies the returns for shape mask or NULL.

pixmap Specifies an X pixmap.

DESCRIPTION

This set of functions create native X pixmaps from various sources. They return the identifier of the created pixmap if sucessful and return None otherwise. All these functions search for files in the following directories: the current directory, $EZ_LIBDIR, /usr/include/X11/bitmaps and /usr/include/X11/pixmaps.

EZ_CreateXPixmapFromImageFile creates an X pixmap from an image file. Currently EZWGL reads images in PPM, GIF, XPM and JPEG formats.

EZ_CreateLabelXFromXBitmapFile creates an X pixmap from an x-bitmap file. The created pixmap is a bitmap.

EZ_CreateXPixmapFromXBitmapData creates a pixmap from an x-bitmap data. The created pixmap is a bitmap.

EZ_CreateLabelPixmapFromXpmData creates a pixmap from an XPM data set.

EZ_CreateLabelPixmapFromXpmFile creates a pixmap from an XPM file.

EZ_FreeXPixmap frees the specified X pixmap. It is equivalent to
XFreePixmap(EZ_GetDisplay(), pixmap)

SEE ALSO

EZ_ConfigureWidget(3), EZ_CreateXPixmapFromBitmapFile(3), EZ_CreateXPixmapFromXpmData(3)

Search for    or go to Top of page |  Section 3 |  Main Index


EZWGL EZ_CREATELABELPIXMAPFROMIMAGEFILE (3)

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.