Home
last modified time | relevance | path

Searched refs:tpcol (Results 1 – 10 of 10) sorted by relevance

/dports/graphics/azpainterb/azpainterb-1.1.3/mlib/src/image/
H A DmImageList.c52 static mImageList *_create_imagelist(int w,int h,int eachw,int32_t tpcol) in _create_imagelist() argument
63 p->tpcol = tpcol; in _create_imagelist()
118 if(M_RGB(ps[0], ps[1], ps[2]) != p->tpcol) in mImageListPutPixbuf()
159 int32_t tpcol; member
169 p->img = _create_imagelist(info->width, info->height, p->eachw, p->tpcol); in _load_getinfo()
193 …mageList *_load_png(const char *filename,const uint8_t *pngbuf,int bufsize,int eachw,int32_t tpcol) in _load_png() argument
224 p->tpcol = tpcol; in _load_png()
253 mImageList *mImageListLoadPNG(const char *filename,int eachw,int32_t tpcol) in mImageListLoadPNG() argument
255 return _load_png(filename, NULL, 0, eachw, tpcol); in mImageListLoadPNG()
260 mImageList *mImageListLoadPNG_fromBuf(const uint8_t *buf,int bufsize,int eachw,int32_t tpcol) in mImageListLoadPNG_fromBuf() argument
[all …]
/dports/graphics/azpainter/azpainter-2.1.7/mlib/src/image/
H A DmImageList.c52 static mImageList *_create_imagelist(int w,int h,int eachw,int32_t tpcol) in _create_imagelist() argument
63 p->tpcol = tpcol; in _create_imagelist()
118 if(M_RGB(ps[0], ps[1], ps[2]) != p->tpcol) in mImageListPutPixbuf()
159 int32_t tpcol; member
169 p->img = _create_imagelist(info->width, info->height, p->eachw, p->tpcol); in _load_getinfo()
193 …mageList *_load_png(const char *filename,const uint8_t *pngbuf,int bufsize,int eachw,int32_t tpcol) in _load_png() argument
224 p->tpcol = tpcol; in _load_png()
253 mImageList *mImageListLoadPNG(const char *filename,int eachw,int32_t tpcol) in mImageListLoadPNG() argument
255 return _load_png(filename, NULL, 0, eachw, tpcol); in mImageListLoadPNG()
260 mImageList *mImageListLoadPNG_fromBuf(const uint8_t *buf,int bufsize,int eachw,int32_t tpcol) in mImageListLoadPNG_fromBuf() argument
[all …]
/dports/graphics/azpainterb/azpainterb-1.1.3/src/widget/
H A DSaveOptionDlg.c118 dst->tpcol = mColorButtonGetColor(p->colbtt); in _ok_png()
121 dst->tpcol |= 1<<31; in _ok_png()
130 dst->tpcol = mColorButtonGetColor(p->colbtt); in _ok_gif()
133 dst->tpcol |= 1<<31; in _ok_gif()
178 if(APP_CONF->save.tpcol >= 0) in _create_png()
181 mColorButtonSetColor(p->colbtt, APP_CONF->save.tpcol & 0xffffff); in _create_png()
199 M_TR_T(TRID_TRANSPARENT), (APP_CONF->save.tpcol >= 0)); in _create_gif()
204 mColorButtonSetColor(p->colbtt, APP_CONF->save.tpcol & 0xffffff); in _create_gif()
H A DMainWindow_file.c884 APP_CONF->save.tpcol = APP_DRAW->load_tpcol; in MainWindow_saveFile()
889 APP_CONF->save.tpcol = M_RGB(pix.r, pix.g, pix.b); in MainWindow_saveFile()
892 APP_CONF->save.tpcol |= 1<<31; in MainWindow_saveFile()
/dports/graphics/azpainter/azpainter-2.1.7/mlib/include/
H A DmImageList.h31 int32_t tpcol; member
37 mImageList *mImageListLoadPNG(const char *filename,int eachw,int32_t tpcol);
38 mImageList *mImageListLoadPNG_fromBuf(const uint8_t *buf,int bufsize,int eachw,int32_t tpcol);
/dports/graphics/azpainterb/azpainterb-1.1.3/mlib/include/
H A DmImageList.h31 int32_t tpcol; member
37 mImageList *mImageListLoadPNG(const char *filename,int eachw,int32_t tpcol);
38 mImageList *mImageListLoadPNG_fromBuf(const uint8_t *buf,int bufsize,int eachw,int32_t tpcol);
/dports/graphics/azpainterb/azpainterb-1.1.3/src/draw/
H A Ddraw_save_image.c72 if(opt->tpcol >= 0) in _norm_set_option()
73 mSaveImagePNG_setTransparent_8bit(p, opt->tpcol); in _norm_set_option()
87 if(APP_CONF->save.tpcol >= 0) in _norm_set_option()
142 tpindex = APP_CONF->save.tpcol; in drawFile_save_image()
/dports/graphics/azpainterb/azpainterb-1.1.3/src/image/
H A DImageBuf24.c224 uint8_t *ImageBuf24_getPalette(ImageBuf24 *p,int *pnum,int *tpcol) in ImageBuf24_getPalette() argument
237 if(*tpcol < 0) in ImageBuf24_getPalette()
241 tr = M_GET_R(*tpcol); in ImageBuf24_getPalette()
242 tg = M_GET_G(*tpcol); in ImageBuf24_getPalette()
243 tb = M_GET_B(*tpcol); in ImageBuf24_getPalette()
277 *tpcol = cnt; in ImageBuf24_getPalette()
/dports/graphics/azpainterb/azpainterb-1.1.3/src/include/
H A DdefConfig.h52 int32_t tpcol; //透過色 (PNG/GIF 共通。上位ビット ON でなし) member
H A DImageBuf24.h68 uint8_t *ImageBuf24_getPalette(ImageBuf24 *p,int *pnum,int *tpcol);