gdkpixmap.h File Reference

#include <gdk/gdktypes.h>

Go to the source code of this file.

Functions

GdkPixmapgdk_pixmap_new (GdkWindow *window, gint width, gint height, gint depth)
GdkBitmapgdk_bitmap_create_from_data (GdkWindow *window, const gchar *data, gint width, gint height)
GdkPixmapgdk_pixmap_create_from_data (GdkWindow *window, const gchar *data, gint width, gint height, gint depth, GdkColor *fg, GdkColor *bg)
GdkPixmapgdk_pixmap_create_from_xpm (GdkWindow *window, GdkBitmap **mask, GdkColor *transparent_color, const gchar *filename)
GdkPixmapgdk_pixmap_colormap_create_from_xpm (GdkWindow *window, GdkColormap *colormap, GdkBitmap **mask, GdkColor *transparent_color, const gchar *filename)
GdkPixmapgdk_pixmap_create_from_xpm_d (GdkWindow *window, GdkBitmap **mask, GdkColor *transparent_color, gchar **data)
GdkPixmapgdk_pixmap_colormap_create_from_xpm_d (GdkWindow *window, GdkColormap *colormap, GdkBitmap **mask, GdkColor *transparent_color, gchar **data)


Function Documentation

GdkBitmap* gdk_bitmap_create_from_data ( GdkWindow window,
const gchar data,
gint  width,
gint  height 
)

Definition at line 285 of file gdkpixmap-win32.c.

References bits, CreateBitmap(), g_free(), g_malloc(), g_print(), g_return_val_if_fail, GDK_DRAWABLE_DESTROYED, GDK_DRAWABLE_WIN32DATA, GDK_DRAWABLE_XID, GDK_IS_WINDOW, GDK_NOTE, gdk_parent_root, gdk_win32_pixmap_alloc(), gdk_xid_table_insert(), i, j, mirror, and NULL.

Referenced by TGWin32::CreateBitmap(), gdk_pixmap_create_from_data(), gdk_win32_gc_values_to_win32values(), TGWin32::OpenDisplay(), and TGWin32::UpdateFillStyle().

GdkPixmap* gdk_pixmap_colormap_create_from_xpm ( GdkWindow window,
GdkColormap colormap,
GdkBitmap **  mask,
GdkColor transparent_color,
const gchar filename 
)

Definition at line 794 of file gdkpixmap-win32.c.

References _gdk_pixmap_create_from_xpm(), fclose(), file_buffer(), fopen, g_free(), h, mask, and NULL.

Referenced by gdk_pixmap_create_from_xpm().

GdkPixmap* gdk_pixmap_colormap_create_from_xpm_d ( GdkWindow window,
GdkColormap colormap,
GdkBitmap **  mask,
GdkColor transparent_color,
gchar **  data 
)

Definition at line 845 of file gdkpixmap-win32.c.

References _gdk_pixmap_create_from_xpm(), h, mask, mem_buffer(), and NULL.

Referenced by gdk_pixmap_create_from_xpm_d().

GdkPixmap* gdk_pixmap_create_from_data ( GdkWindow window,
const gchar data,
gint  width,
gint  height,
gint  depth,
GdkColor fg,
GdkColor bg 
)

Definition at line 331 of file gdkpixmap-win32.c.

References fg(), g_print(), gdk_bitmap_create_from_data(), gdk_draw_drawable(), gdk_drawable_unref(), GDK_DRAWABLE_XID, gdk_gc_new(), gdk_gc_set_background(), gdk_gc_set_foreground(), gdk_gc_unref(), GDK_NOTE, gdk_pixmap_new(), and result().

Referenced by TGWin32::CreatePixmap().

GdkPixmap* gdk_pixmap_create_from_xpm ( GdkWindow window,
GdkBitmap **  mask,
GdkColor transparent_color,
const gchar filename 
)

Definition at line 817 of file gdkpixmap-win32.c.

References gdk_pixmap_colormap_create_from_xpm(), mask, and NULL.

Referenced by TGWin32::CreatePictureFromFile(), and TGWin32::ReadPictureDataFromFile().

GdkPixmap* gdk_pixmap_create_from_xpm_d ( GdkWindow window,
GdkBitmap **  mask,
GdkColor transparent_color,
gchar **  data 
)

Definition at line 862 of file gdkpixmap-win32.c.

References gdk_pixmap_colormap_create_from_xpm_d(), mask, and NULL.

Referenced by TGWin32::CreatePictureFromData().

GdkPixmap* gdk_pixmap_new ( GdkWindow window,
gint  width,
gint  height,
gint  depth 
)

Definition at line 90 of file gdkpixmap-win32.c.

References BI_RGB, tagBITMAPINFOHEADER::biBitCount, tagBITMAPINFOHEADER::biClrImportant, tagBITMAPINFOHEADER::biClrUsed, tagBITMAPINFOHEADER::biCompression, tagBITMAPINFOHEADER::biHeight, tagBITMAPINFOHEADER::biPlanes, tagBITMAPINFOHEADER::biSize, tagBITMAPINFOHEADER::biSizeImage, bits, tagBITMAPINFOHEADER::biWidth, tagBITMAPINFOHEADER::biXPelsPerMeter, tagBITMAPINFOHEADER::biYPelsPerMeter, _GdkVisual::blue_mask, bmi, tagBITMAPINFO::bmiColors, tagBITMAPINFO::bmiHeader, _GdkVisual::depth, DWORD, g_free(), g_print(), g_return_val_if_fail, g_warning(), gdk_colormap_get_system(), GDK_DRAWABLE_DESTROYED, gdk_drawable_get_visual(), GDK_DRAWABLE_WIN32DATA, GDK_DRAWABLE_XID, GDK_IS_WINDOW, GDK_NOTE, gdk_parent_root, gdk_win32_pixmap_alloc(), gdk_xid_table_insert(), _GdkVisual::green_mask, HDC(), i, if(), NULL, private, PVOID, _GdkVisual::red_mask, tagRGBQUAD::rgbBlue, tagRGBQUAD::rgbGreen, tagRGBQUAD::rgbRed, tagRGBQUAD::rgbReserved, u, and WIN32_GDI_FAILED.

Referenced by _gdk_pixmap_create_from_xpm(), TGWin32::CreatePixmap(), gdk_pixmap_create_from_data(), gdk_win32_gc_get_values(), TGWin32::OpenPixmap(), TGWin32::RescaleWindow(), TGWin32::ResizePixmap(), TGWin32::ResizeWindow(), TGWin32::SetDoubleBufferON(), test_arcs(), test_gcs(), test_lines(), test_pixmaps(), test_points(), and test_rectangles().


Generated on Tue Jul 5 15:58:40 2011 for ROOT_528-00b_version by  doxygen 1.5.1