[Freeciv-Dev] Re: Betr: Re: (PR#7123) Metaissue for FS
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://rt.freeciv.org/Ticket/Display.html?id=7123 >
Raimar Falke wrote:
> <URL: http://rt.freeciv.org/Ticket/Display.html?id=7123 >
>
> On Fri, Jan 02, 2004 at 05:58:11AM -0800, Raimar Falke wrote:
>
>>>Regarding overlays of text over complex drawn backgrounds: always add an
>>>outline around the text. The outline should always be black unless the
>>>text is black or very dark, in that case the outline should be white.
>>>
>>>The reason should be obvious:
>>>http://webreference.com/graphics/column20/art/psout.gif
>>
>>Also added to my todo-list.
>
>
> A difficult topic. The poor-man version (I call this the
> halo-method) looks like this:
>
> for (d = 0; d < 8; d++) {
> struct ct_point p2 = p;
>
> p2.x += DIR_DX[d];
> p2.y += DIR_DY[d];
> be_draw_bitmap(target, 0, black, &p2,
> string->data->glyphs[i].bitmap);
> }
> be_draw_bitmap(target, 0, string->foreground, &p,
> string->data->glyphs[i].bitmap);
>
> You first draw 8 different versions of the bitmap in black and then
> the final one in the real color.
And what if the font is anti-aliased?
jason
- [Freeciv-Dev] Re: Betr: Re: (PR#7123) Metaissue for FS,
Jason Short <=
- [Freeciv-Dev] Re: Betr: Re: (PR#7123) Metaissue for FS, Raimar Falke, 2004/01/04
- [Freeciv-Dev] Re: (PR#7123) Metaissue for FS, Raimar Falke, 2004/01/04
- [Freeciv-Dev] Re: (PR#7123) mouse control, Raimar Falke, 2004/01/17
- [Freeciv-Dev] Re: (PR#7123) mouse control, Arnstein Lindgard, 2004/01/17
- [Freeciv-Dev] Re: (PR#7123) mouse control, Jason Short, 2004/01/17
- [Freeciv-Dev] Re: (PR#7123) mouse control, Raimar Falke, 2004/01/18
- [Freeciv-Dev] Re: (PR#7123) mouse control, Raimar Falke, 2004/01/18
- [Freeciv-Dev] Re: (PR#7123) mouse control, Morgan Jones, 2004/01/18
- [Freeciv-Dev] Re: (PR#7123) mouse control, Morgan Jones, 2004/01/18
- [Freeciv-Dev] Re: (PR#7123) mouse control, Raimar Falke, 2004/01/19
|
|