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_CREATELABELPIXMAPFROMXBITMAPDATA (3)

NAME

EZ_CreateLabelPixmapFromImageFile, EZ_CreateLabelPixmapFromXBitmapData, EZ_CreateLabelPixmapFromXBitmapFile, EZ_CreateLabelPixmapFromXpmData, EZ_CreateLabelPixmapFromXpmFile, EZ_FreeLabelPixmap - create/free an internal label pixmap from file or data

CONTENTS

Synopsis
Arguments
Description

SYNOPSIS


#include <EZ.h> 

EZ_Pixmap *EZ_CreateLabelPixmapFromImageFile(char *file) EZ_Pixmap *EZ_CreateLabelPixmapFromXBitmapData(char *file, unsigned int w, unsigned int h) EZ_Pixmap *EZ_CreateLabelPixmapFromXBitmapFile(char *file) EZ_Pixmap *EZ_CreateLabelPixmapFromXpmData(char **data) EZ_Pixmap *EZ_CreateLabelPixmapFromXpmFile(char *file) EZ_Pixmap *EZ_CreateLabelPixmapFromXPixmap(Pixmap pix, Pixmap shape, int px, int py, int pw, int ph, int reuse); void EZ_FreeLabelPixmap(EZ_Pixmap *file)

ARGUMENTS

file Specifies a unix file name.

data Specifies an XPM data or an X bitmap data.

w, h Specify the width and height of a X bitmap.

pix, shape Specify a native X pixmap and a shape mask (native X bitmap).

px,py,pw,ph Specify a rectangle within the pixmap.

reuse Specify whether or not the pixmap created should be inserted in the lookup hash table. Set to False if you are going to modify pix and you are going to reference pix in the future.

DESCRIPTION

This set of functions creates an internal representation of a pixmap to be used for lables, from various sources. They return the pointer to the created pixmap if sucessful and return NULL otherwise.
All these function search for files in the following directories: the current directory, $EZ_LIBDIR, /usr/include/X11/bitmaps and /usr/include/X11/pixmaps.

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

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

EZ_CreateLabelPixmapFromXBitmapData 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.

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.