Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
EZ_CreateLabelPixmapFromImageFilEZWGL FuncEZ_CreateLabelPixmapFromImageFile(3)

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

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 re-
       turn None otherwise.  All these functions search	for files in the  fol-
       lowing	directories:   the  current  directory,	 $EZ_LIBDIR,  /usr/in-
       clude/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_CreateX-
       PixmapFromXpmData(3)

EZWGL					  EZ_CreateLabelPixmapFromImageFile(3)

NAME | SYNOPSIS | ARGUMENTS | DESCRIPTION | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=EZ_CreateXPixmapFromImageFile&sektion=3&manpath=FreeBSD+12.1-RELEASE+and+Ports>

home | help