Home
last modified time | relevance | path

Searched refs:M_GET_G (Results 1 – 25 of 26) sorted by relevance

12

/dports/graphics/azpainterb/azpainterb-1.1.3/mlib/src/lib/
H A DmFreeType.c366 g = M_GET_G(bgcol); in mFreeTypeBlendColorGray()
370 g = ((M_GET_G(fgcol) - g) * a >> 8) + g; in mFreeTypeBlendColorGray()
383 g = M_GET_G(bgcol); in mFreeTypeBlendColorLCD()
387 g = ((M_GET_G(fgcol) - g) * ga >> 8) + g; in mFreeTypeBlendColorLCD()
/dports/graphics/azpainter/azpainter-2.1.7/mlib/src/lib/
H A DmFreeType.c366 g = M_GET_G(bgcol); in mFreeTypeBlendColorGray()
370 g = ((M_GET_G(fgcol) - g) * a >> 8) + g; in mFreeTypeBlendColorGray()
383 g = M_GET_G(bgcol); in mFreeTypeBlendColorLCD()
387 g = ((M_GET_G(fgcol) - g) * ga >> 8) + g; in mFreeTypeBlendColorLCD()
/dports/graphics/azpainter/azpainter-2.1.7/src/other/
H A DColorValue.c55 dst->g = ((M_GET_G(col) << 15) + 127) / 255; in RGBtoRGBFix15()
H A DColorPalette.c404 buf[1] = M_GET_G(col); in ColorPaletteDat_setColor()
494 buf[1] = M_GET_G(col); in ColorPaletteDat_createFromImage()
H A Dfile_apd_v3.c835 mFILEwriteByte(fp, M_GET_G(item->col)); in saveAPDv3_writeLayerInfo()
/dports/graphics/azpainterb/azpainterb-1.1.3/mlib/src/
H A DmGui.c1009 (M_GET_G(c) << MAPP->g_shift_left) | in mRGBtoPix()
1015 ((M_GET_G(c) >> MAPP->g_shift_right) << MAPP->g_shift_left) | in mRGBtoPix()
1085 sg = M_GET_G(colsrc); in mBlendRGB_256()
1089 dg = M_GET_G(coldst); in mBlendRGB_256()
/dports/graphics/azpainter/azpainter-2.1.7/mlib/src/
H A DmGui.c1009 (M_GET_G(c) << MAPP->g_shift_left) | in mRGBtoPix()
1015 ((M_GET_G(c) >> MAPP->g_shift_right) << MAPP->g_shift_left) | in mRGBtoPix()
1085 sg = M_GET_G(colsrc); in mBlendRGB_256()
1089 dg = M_GET_G(coldst); in mBlendRGB_256()
/dports/graphics/azpainterb/azpainterb-1.1.3/src/image/
H A DTileImage_imagefile.c216 g = M_GET_G(col); in TileImage_convertTile_fromA8()
242 g = M_GET_G(col); in TileImage_convertTile_fromAPD()
310 g = M_GET_G(col); in TileImage_setRowImage_forA8()
H A DImageBuf24.c242 tg = M_GET_G(*tpcol); in ImageBuf24_getPalette()
/dports/graphics/azpainterb/azpainterb-1.1.3/src/draw/
H A Ddraw_main.c161 dst[1] = M_GET_G(col); in drawColor_getDrawColor_rgb()
172 pix->g = M_GET_G(col); in drawColor_getDrawColor_pixRGBA()
H A Ddraw_op_sub.c545 p->w.pixdraw.g = M_GET_G(p->col.drawcol); in drawOpSub_setDrawInfo()
724 info->pixdraw.g = M_GET_G(p->col.drawcol); in drawOpSub_setDrawGradationInfo()
728 info->pixbkgnd.g = M_GET_G(p->col.bkgndcol); in drawOpSub_setDrawGradationInfo()
/dports/graphics/azpainterb/azpainterb-1.1.3/src/other/
H A DColorPalette.c311 buf[1] = M_GET_G(col); in ColorPaletteDat_setColor()
401 buf[1] = M_GET_G(col); in ColorPaletteDat_createFromImage()
/dports/graphics/azpainter/azpainter-2.1.7/mlib/include/
H A DmDef.h53 #define M_GET_G(c) (((c) >> 8) & 0xff) macro
/dports/graphics/azpainterb/azpainterb-1.1.3/mlib/include/
H A DmDef.h53 #define M_GET_G(c) (((c) >> 8) & 0xff) macro
/dports/graphics/azpainterb/azpainterb-1.1.3/src/widget/
H A DFilterWgRepcol.c243 p->rgb[1] = M_GET_G(drawcol); in FilterWgRepcol_new()
H A DFilterDlg.c450 info->val_bar[1] = M_GET_G(ev->notify.param1); in _event_notify()
684 p->info->val_bar[1] = M_GET_G(APP_DRAW->col.drawcol); in _create_item_widgets()
H A DMainWindow_filter.c249 info.pixbkgnd.g = M_GET_G(APP_DRAW->col.bkgndcol); in _run_filter()
H A DGradationEditWidget.c790 buf[3] = M_GET_G(col); in GradEditWidget_setColorRGB()
/dports/graphics/azpainter/azpainter-2.1.7/src/widget/
H A DFilterWgRepcol.c246 p->rgb[1] = M_GET_G(drawcol); in FilterWgRepcol_new()
H A DLayerColorDlg.c115 c[1] = M_GET_G(p->curcol); in _set_color_val()
/dports/graphics/azpainterb/azpainterb-1.1.3/mlib/src/image/
H A DmSaveImage_png.c342 g = M_GET_G(col); in mSaveImagePNG_setTransparent_8bit()
H A DmPixbuf.c376 *pg = M_GET_G(col); in mPixbufGetPixelBufRGB()
755 g = ((M_GET_G(col) - g) * a >> 7) + g; in mPixbufSetPixel_blend128()
772 g = ((M_GET_G(col) - g) * a >> 7) + g; in mPixbufSetPixelBuf_blend128()
824 sg = M_GET_G(rgb); in mPixbufLineH_blend()
853 sg = M_GET_G(rgb); in mPixbufLineV_blend()
/dports/graphics/azpainter/azpainter-2.1.7/mlib/src/image/
H A DmSaveImage_png.c342 g = M_GET_G(col); in mSaveImagePNG_setTransparent_8bit()
H A DmPixbuf.c376 *pg = M_GET_G(col); in mPixbufGetPixelBufRGB()
755 g = ((M_GET_G(col) - g) * a >> 7) + g; in mPixbufSetPixel_blend128()
772 g = ((M_GET_G(col) - g) * a >> 7) + g; in mPixbufSetPixelBuf_blend128()
824 sg = M_GET_G(rgb); in mPixbufLineH_blend()
853 sg = M_GET_G(rgb); in mPixbufLineV_blend()
/dports/graphics/azpainter/azpainter-2.1.7/src/draw/
H A Ddraw_main.c315 dst[1] = M_GET_G(col); in drawColor_getDrawColor_rgb()

12