/dports/graphics/azpainterb/azpainterb-1.1.3/mlib/src/image/ |
H A D | mImageList.c | 52 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 D | mImageList.c | 52 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 D | SaveOptionDlg.c | 118 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 D | MainWindow_file.c | 884 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 D | mImageList.h | 31 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 D | mImageList.h | 31 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 D | draw_save_image.c | 72 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 D | ImageBuf24.c | 224 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 D | defConfig.h | 52 int32_t tpcol; //透過色 (PNG/GIF 共通。上位ビット ON でなし) member
|
H A D | ImageBuf24.h | 68 uint8_t *ImageBuf24_getPalette(ImageBuf24 *p,int *pnum,int *tpcol);
|