📄 image.h
字号:
#ifndef __IMAGE_H__#define __IMAGE_H__/* The DilloImage data-structure and methods */#include <glib.h>#include "dw_image.h"typedef struct _DilloImage DilloImage;struct _DilloImage { DwImage *dw; /* Parameters as told by image data */ guint width; guint height; gint32 bg_color; /* Background color */ gint RefCount; /* Reference counter */};/* * Function prototypes */DilloImage *a_Image_new(gint width, gint height, const char *tooltip, const char *alt_text, gint32 bg_color);void a_Image_ref(DilloImage *Image);void a_Image_unref(DilloImage *Image);#if 0void a_Image_set_parms(DilloImage *Image, guchar *EntryBuf, DilloUrl *url, gint version, guint width, guint height, DilloImgType type);void a_Image_set_cmap(DilloImage *Image, const guchar *cmap);void a_Image_write(DilloImage *Image, const guchar *buf, guint y, gint decode);void a_Image_close(DilloImage *Image);#endif#endif /* __IMAGE_H__ */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -