/dports/emulators/mess/mame-mame0226/src/mame/video/ |
H A D | hyhoo.cpp | 140 int g = ((color & 0x18) >> 3) & 0x03; in hyhoo_gfxdraw() local 143 pen_t pen = rgb_t(pal6bit(r), pal5bit(g), pal5bit(b)); in hyhoo_gfxdraw() local 156 int g = ((color & 0x38) >> 3) & 0x07; in hyhoo_gfxdraw() local 159 pen_t pen = rgb_t(pal6bit(r << 3), pal5bit(g << 2), pal5bit(b << 3)); in hyhoo_gfxdraw() local 190 int g = ((~m_clut[color1] & 0x38) >> 3) & 0x07; in hyhoo_gfxdraw() local 193 pen_t pen = rgb_t(pal6bit(r << 3), pal5bit(g << 2), pal5bit(b << 3)); in hyhoo_gfxdraw() local 204 int g = ((~m_clut[color2] & 0x38) >> 3) & 0x07; in hyhoo_gfxdraw() local 207 pen_t pen = rgb_t(pal6bit(r << 3), pal5bit(g << 2), pal5bit(b << 3)); in hyhoo_gfxdraw() local
|
H A D | cosmic.cpp | 24 pen_t pen = memregion("user1")->base()[offs]; in panic_map_color() local 35 pen_t pen = memregion("user1")->base()[offs]; in cosmica_map_color() local 46 pen_t pen = memregion("user1")->base()[offs]; in cosmicg_map_color() local 55 pen_t pen = memregion("user1")->base()[offs]; in magspot_map_color() local 84 int const g = pal1bit(i >> 1); in panic_palette() local 147 int const g = 0xaa * BIT(i, 1); in cosmicg_palette() local 165 int const g = pal1bit(i >> 1); in magspot_palette() local 223 pen_t pen = (this->*m_map_color)(x, y); in draw_bitmap() local
|
/dports/emulators/mame/mame-mame0226/src/mame/video/ |
H A D | hyhoo.cpp | 140 int g = ((color & 0x18) >> 3) & 0x03; in hyhoo_gfxdraw() local 143 pen_t pen = rgb_t(pal6bit(r), pal5bit(g), pal5bit(b)); in hyhoo_gfxdraw() local 156 int g = ((color & 0x38) >> 3) & 0x07; in hyhoo_gfxdraw() local 159 pen_t pen = rgb_t(pal6bit(r << 3), pal5bit(g << 2), pal5bit(b << 3)); in hyhoo_gfxdraw() local 190 int g = ((~m_clut[color1] & 0x38) >> 3) & 0x07; in hyhoo_gfxdraw() local 193 pen_t pen = rgb_t(pal6bit(r << 3), pal5bit(g << 2), pal5bit(b << 3)); in hyhoo_gfxdraw() local 204 int g = ((~m_clut[color2] & 0x38) >> 3) & 0x07; in hyhoo_gfxdraw() local 207 pen_t pen = rgb_t(pal6bit(r << 3), pal5bit(g << 2), pal5bit(b << 3)); in hyhoo_gfxdraw() local
|
H A D | cosmic.cpp | 24 pen_t pen = memregion("user1")->base()[offs]; in panic_map_color() local 35 pen_t pen = memregion("user1")->base()[offs]; in cosmica_map_color() local 46 pen_t pen = memregion("user1")->base()[offs]; in cosmicg_map_color() local 55 pen_t pen = memregion("user1")->base()[offs]; in magspot_map_color() local 84 int const g = pal1bit(i >> 1); in panic_palette() local 147 int const g = 0xaa * BIT(i, 1); in cosmicg_palette() local 165 int const g = pal1bit(i >> 1); in magspot_palette() local 223 pen_t pen = (this->*m_map_color)(x, y); in draw_bitmap() local
|
/dports/print/hp2xx/hp2xx-3.4.4/sources/ |
H A D | pendef.c | 32 void Pen_Width_to_tmpfile(int pen, PEN_W width) in Pen_Width_to_tmpfile() 65 void Pen_Color_to_tmpfile(int pen, int red, int green, int blue) in Pen_Color_to_tmpfile() 68 PEN_C r, g, b; in Pen_Color_to_tmpfile() local 131 PEN_C r, g, b; in load_pen_color_table() local 157 void set_color_rgb(PEN_N index, BYTE r, BYTE g, BYTE b) in set_color_rgb()
|
/dports/games/libretro-mame2003/mame2003-libretro-4358db4/src/vidhrdw/ |
H A D | cosmic_vidhrdw.c | 30 pen_t pen; in panic_map_color() local 45 pen_t pen; in cosmica_map_color() local 60 pen_t pen; in cosmicg_map_color() local 74 pen_t pen; in magspot2_map_color() local 108 int g = 0xff * ((i >> 1) & 1); in PALETTE_INIT() local 145 int g = 0xff * ((i >> 1) & 1); in PALETTE_INIT() local 178 int r,g,b; in PALETTE_INIT() local 201 int r,g,b; in PALETTE_INIT() local 234 int r,g,b; in PALETTE_INIT() local 447 pen_t pen = Machine->pens[4]; /* blue */ in devzone_draw_grid() local [all …]
|
/dports/games/libretro-mame2003_plus/mame2003-plus-libretro-17e9889/src/vidhrdw/ |
H A D | cosmic_vidhrdw.c | 30 pen_t pen; in panic_map_color() local 45 pen_t pen; in cosmica_map_color() local 60 pen_t pen; in cosmicg_map_color() local 74 pen_t pen; in magspot2_map_color() local 108 int g = 0xff * ((i >> 1) & 1); in PALETTE_INIT() local 145 int g = 0xff * ((i >> 1) & 1); in PALETTE_INIT() local 178 int r,g,b; in PALETTE_INIT() local 201 int r,g,b; in PALETTE_INIT() local 234 int r,g,b; in PALETTE_INIT() local 447 pen_t pen = Machine->pens[4]; /* blue */ in devzone_draw_grid() local [all …]
|
/dports/graphics/freetype-gl/freetype-gl-647b062/ |
H A D | text-buffer.c | 16 #define SET_GLYPH_VERTEX(value,x0,y0,z0,s0,t0,r,g,b,a,sh,gm) { \ argument 74 text_buffer_printf( text_buffer_t * self, vec2 *pen, ... ) in text_buffer_printf() 181 vec2 * pen, markup_t * markup, in text_buffer_add_text() 234 vec2 * pen, markup_t * markup, in text_buffer_add_char() 291 float g = markup->background_color.g; in text_buffer_add_char() local 325 float g = markup->underline_color.g; in text_buffer_add_char() local 359 float g = markup->overline_color.g; in text_buffer_add_char() local 392 float g = markup->strikethrough_color.g; in text_buffer_add_char() local 423 float g = markup->foreground_color.green; in text_buffer_add_char() local 459 text_buffer_align( text_buffer_t * self, vec2 * pen, in text_buffer_align() [all …]
|
/dports/math/asymptote/asymptote-2.67/ |
H A D | pen.h | 149 class pen; variable 164 double r,g,b; // RGB or CMY value variable 211 pen() : in pen() function 222 ColorSpace color, double r, double g, double b, double grey, in pen() 235 pen(invisiblepen_t) : in pen() function 253 pen(path P) : in pen() function 262 pen(const LineType& line) : in pen() function 298 pen(FillRule fillrule) : in pen() function 307 pen(BaseLine baseline) : in pen() function 371 pen(double r, double g, double b) : in pen() function [all …]
|
/dports/print/texlive-base/texlive-20150521-source/utils/asymptote/ |
H A D | pen.h | 152 class pen; variable 167 double r,g,b; // RGB or CMY value variable 214 pen() : in pen() function 225 ColorSpace color, double r, double g, double b, double grey, in pen() 238 pen(invisiblepen_t) : in pen() function 256 pen(path P) : in pen() function 265 pen(const LineType& line) : in pen() function 301 pen(FillRule fillrule) : in pen() function 310 pen(BaseLine baseline) : in pen() function 374 pen(double r, double g, double b) : in pen() function [all …]
|
/dports/misc/gedkeeper/GEDKeeper-2.19.1/projects/GKMap/GKMap.WinForms/ |
H A D | GMapRoundedToolTip.cs | 28 …public void DrawRoundRectangle(Graphics g, Pen pen, float h, float v, float width, float height, f… in DrawRoundRectangle() 47 public override void OnRender(Graphics g) in OnRender()
|
/dports/emulators/mess/mame-mame0226/src/emu/ |
H A D | dipalette.h | 49 const pen_t &pen(int index) const { return m_pens[index]; } in pen() function 52 rgb_t pen_color(pen_t pen) const { return m_palette->entry_color(pen); } in pen_color() 53 double pen_contrast(pen_t pen) const { return m_palette->entry_contrast(pen); } in pen_contrast() 60 void set_pen_color(pen_t pen, rgb_t rgb) { m_palette->entry_set_color(pen, rgb); } in set_pen_color() 61 void set_pen_red_level(pen_t pen, u8 level) { m_palette->entry_set_red_level(pen, level); } in set_pen_red_level() 62 void set_pen_green_level(pen_t pen, u8 level) { m_palette->entry_set_green_level(pen, level); } in set_pen_green_level() 63 void set_pen_blue_level(pen_t pen, u8 level) { m_palette->entry_set_blue_level(pen, level); } in set_pen_blue_level() 64 …void set_pen_color(pen_t pen, u8 r, u8 g, u8 b) { m_palette->entry_set_color(pen, rgb_t(r, g, b));… in set_pen_color() 68 void set_pen_contrast(pen_t pen, double bright) { m_palette->entry_set_contrast(pen, bright); } in set_pen_contrast()
|
H A D | dipalette.cpp | 78 for (int pen = 0; pen < numentries; pen++) in interface_pre_start() local 174 for (u32 pen = 0; pen < m_indirect_pens.size(); pen++) in set_indirect_color() local 185 void device_palette_interface::set_pen_indirect(pen_t pen, indirect_pen_t index) in set_pen_indirect() 308 int g = pal5bit(i >> 5) + dg; in set_shadow_dRGB32() local 503 u8 const g = rgb_t::clamp((pal5bit(rgb555 >> 5) * ifactor) >> 8); in configure_rgb_shadows() local
|
/dports/emulators/mame/mame-mame0226/src/emu/ |
H A D | dipalette.h | 49 const pen_t &pen(int index) const { return m_pens[index]; } in pen() function 52 rgb_t pen_color(pen_t pen) const { return m_palette->entry_color(pen); } in pen_color() 53 double pen_contrast(pen_t pen) const { return m_palette->entry_contrast(pen); } in pen_contrast() 60 void set_pen_color(pen_t pen, rgb_t rgb) { m_palette->entry_set_color(pen, rgb); } in set_pen_color() 61 void set_pen_red_level(pen_t pen, u8 level) { m_palette->entry_set_red_level(pen, level); } in set_pen_red_level() 62 void set_pen_green_level(pen_t pen, u8 level) { m_palette->entry_set_green_level(pen, level); } in set_pen_green_level() 63 void set_pen_blue_level(pen_t pen, u8 level) { m_palette->entry_set_blue_level(pen, level); } in set_pen_blue_level() 64 …void set_pen_color(pen_t pen, u8 r, u8 g, u8 b) { m_palette->entry_set_color(pen, rgb_t(r, g, b));… in set_pen_color() 68 void set_pen_contrast(pen_t pen, double bright) { m_palette->entry_set_contrast(pen, bright); } in set_pen_contrast()
|
H A D | dipalette.cpp | 78 for (int pen = 0; pen < numentries; pen++) in interface_pre_start() local 174 for (u32 pen = 0; pen < m_indirect_pens.size(); pen++) in set_indirect_color() local 185 void device_palette_interface::set_pen_indirect(pen_t pen, indirect_pen_t index) in set_pen_indirect() 308 int g = pal5bit(i >> 5) + dg; in set_shadow_dRGB32() local 503 u8 const g = rgb_t::clamp((pal5bit(rgb555 >> 5) * ifactor) >> 8); in configure_rgb_shadows() local
|
/dports/graphics/ftgl/ftgl-2.4.0/src/FTGlyph/ |
H A D | FTGlyphGlue.cpp | 108 const FTPoint& Render(const FTPoint& pen, int renderMode) in Render() 149 void ftglDestroyGlyph(FTGLglyph *g) in ftglDestroyGlyph() 167 void ftglRenderGlyph(FTGLglyph *g, FTGL_DOUBLE penx, FTGL_DOUBLE peny, in ftglRenderGlyph() 171 FTPoint pen(penx, peny); in ftglRenderGlyph() local 186 void ftglGetGlyphBBox(FTGLglyph *g, float bounds[6]) in ftglGetGlyphBBox()
|
/dports/games/critterding/critterding-beta12/src/utils/ftgl/FTGlyph/ |
H A D | FTGlyphGlue.cpp | 108 const FTPoint& Render(const FTPoint& pen, int renderMode) in Render() 149 void ftglDestroyGlyph(FTGLglyph *g) in ftglDestroyGlyph() 167 void ftglRenderGlyph(FTGLglyph *g, FTGL_DOUBLE penx, FTGL_DOUBLE peny, in ftglRenderGlyph() 171 FTPoint pen(penx, peny); in ftglRenderGlyph() local 186 void ftglGetGlyphBBox(FTGLglyph *g, float bounds[6]) in ftglGetGlyphBBox()
|
/dports/devel/upp/upp/bazaar/FTGL/src/FTGlyph/ |
H A D | FTGlyphGlue.cpp | 108 const FTPoint& Render(const FTPoint& pen, int renderMode) in Render() 149 void ftglDestroyGlyph(FTGLglyph *g) in ftglDestroyGlyph() 167 void ftglRenderGlyph(FTGLglyph *g, FTGL_DOUBLE penx, FTGL_DOUBLE peny, in ftglRenderGlyph() 171 FTPoint pen(penx, peny); in ftglRenderGlyph() local 186 void ftglGetGlyphBBox(FTGLglyph *g, float bounds[6]) in ftglGetGlyphBBox()
|
/dports/editors/yudit/yudit-3.0.7/swindow/ |
H A D | SFontNative.cpp | 37 SFontNative::draw (const SString& xlfd, SCanvas* canvas, const SPen& pen, in draw() 38 const SS_Matrix2D& matrix, SS_UCS4 g) in draw() 44 SFontNative::width (const SString& xlfd, SS_UCS4 g, double* width_) in width()
|
/dports/databases/pgadmin3/pgadmin3-1.22.2/pgadmin/hotdraw/figures/ |
H A D | hdLineTerminal.cpp | 35 void hdLineTerminal::setLinePen(wxPen pen) in setLinePen() 42 hdGeometry g; in draw() local
|
/dports/graphics/freetype-gl/freetype-gl-647b062/demos/ |
H A D | benchmark.c | 21 float r, g, b, a; // color member 39 char *text, vec4 * color, vec2 * pen ) in add_text() 42 float r = color->red, g = color->green, b = color->blue, a = color->alpha; in add_text() local 81 vec2 pen = {{0,0}}; in init() local 159 vec2 pen = {{0,0}}; in display() local
|
/dports/games/libretro-mame2003_plus/mame2003-plus-libretro-17e9889/src/ |
H A D | palette.c | 127 static INLINE void mark_pen_dirty(int pen) in mark_pen_dirty() 1020 void palette_set_color(pen_t pen, UINT8 r, UINT8 g, UINT8 b) in palette_set_color() 1048 void palette_get_color(pen_t pen, UINT8 *r, UINT8 *g, UINT8 *b) in palette_get_color() 1074 void palette_set_brightness(pen_t pen, double bright) in palette_set_brightness() 1256 int r,g,b; in WRITE_HANDLER() local 1283 int r,g,b; in WRITE_HANDLER() local 1308 int r,g,b; in WRITE_HANDLER() local 1380 int r,g,b; in changecolor_xxxxBBBBGGGGRRRR() local 1427 int r,g,b; in changecolor_xxxxBBBBRRRRGGGG() local 1474 int r,g,b; in changecolor_xxxxRRRRBBBBGGGG() local [all …]
|
/dports/games/libretro-mame2003/mame2003-libretro-4358db4/src/ |
H A D | palette.c | 127 static INLINE void mark_pen_dirty(int pen) in mark_pen_dirty() 1020 void palette_set_color(pen_t pen, UINT8 r, UINT8 g, UINT8 b) in palette_set_color() 1048 void palette_get_color(pen_t pen, UINT8 *r, UINT8 *g, UINT8 *b) in palette_get_color() 1074 void palette_set_brightness(pen_t pen, double bright) in palette_set_brightness() 1256 int r,g,b; in WRITE_HANDLER() local 1283 int r,g,b; in WRITE_HANDLER() local 1308 int r,g,b; in WRITE_HANDLER() local 1380 int r,g,b; in changecolor_xxxxBBBBGGGGRRRR() local 1427 int r,g,b; in changecolor_xxxxBBBBRRRRGGGG() local 1474 int r,g,b; in changecolor_xxxxRRRRBBBBGGGG() local [all …]
|
/dports/print/py-fonttools/fonttools-4.28.2/Lib/fontTools/pens/ |
H A D | reportLabPen.py | 57 pen = ReportLabPen(gs, Path(fillColor=colors.red, strokeWidth=5)) variable 58 g = gs[glyphName] variable 66 g = Group(pen.path) variable
|
/dports/print/py-fonttools3/fonttools-3.44.0/Lib/fontTools/pens/ |
H A D | reportLabPen.py | 59 pen = ReportLabPen(gs, Path(fillColor=colors.red, strokeWidth=5)) variable 60 g = gs[glyphName] variable 68 g = Group(pen.path) variable
|