[Freeciv-Dev] Re: (PR#10734) SVG flags
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://rt.freeciv.org/Ticket/Display.html?id=10734 >
On Tue, 26 Oct 2004, Jason Short wrote:
> It should be possible to automatically add the line while rendering.
> However I don't really have an idea of how to do this. I suppose since
> all of our current flags are rectangular, it could just be done with
> clever use of "convert". But with non-rectangular flags something more
> clever would be needed.
>
> We could add the outline to the .svg image. However the outline really
> shouldn't be scaled. It should always be 1 pixel in width, right? Can
> SVG do this?
>
> For shields this should be particularly easy. Shields can be rendered
> automatically by rendering the flag SVG at a particular resolution and
> with a particular offset (specified in a $(flag)_shield.data file), then
> clipping by the shield mask. Thus adding a new shield is as easy as
> fiddling with the 3 values in this data file.
>
> The only drawback in all this is that ImageMagick is not as Free as one
> would hope.
I suspect you can achieve all these ops with SVG.
---
Vasco Alexandre da Silva Costa @ Instituto Superior Tecnico, Lisboa
- [Freeciv-Dev] Re: (PR#10734) SVG flags, (continued)
- [Freeciv-Dev] Re: (PR#10734) SVG flags, Jason Short, 2004/10/26
- [Freeciv-Dev] Re: (PR#10734) SVG flags, Vasco Alexandre da Silva Costa, 2004/10/26
- [Freeciv-Dev] Re: (PR#10734) SVG flags, Jason Short, 2004/10/26
- [Freeciv-Dev] Re: (PR#10734) SVG flags, Per I. Mathisen, 2004/10/26
- [Freeciv-Dev] Re: (PR#10734) SVG flags, Jason Short, 2004/10/26
- [Freeciv-Dev] (PR#10734) SVG flags, Vasco Alexandre da Silva Costa, 2004/10/26
- [Freeciv-Dev] Re: (PR#10734) SVG flags, Jason Short, 2004/10/26
- [Freeciv-Dev] Re: (PR#10734) SVG flags, Jason Short, 2004/10/26
- [Freeciv-Dev] (PR#10734) SVG flags, Vasco Alexandre da Silva Costa, 2004/10/26
- [Freeciv-Dev] (PR#10734) SVG flags, Vasco Alexandre da Silva Costa, 2004/10/26
- [Freeciv-Dev] Re: (PR#10734) SVG flags,
Vasco Alexandre da Silva Costa <=
- [Freeciv-Dev] Re: (PR#10734) SVG flags, Jason Short, 2004/10/26
- [Freeciv-Dev] Re: (PR#10734) SVG flags, Jason Short, 2004/10/26
- [Freeciv-Dev] Re: (PR#10734) SVG flags, Jason Short, 2004/10/26
- [Freeciv-Dev] Re: (PR#10734) SVG flags, Jason Short, 2004/10/26
- [Freeciv-Dev] Re: (PR#10734) SVG flags, Per I. Mathisen, 2004/10/27
- [Freeciv-Dev] Re: (PR#10734) SVG flags, Jason Short, 2004/10/27
- [Freeciv-Dev] Re: (PR#10734) SVG flags, Jason Short, 2004/10/27
- [Freeciv-Dev] gui-xaw & png, Per Inge Mathisen, 2004/10/27
- [Freeciv-Dev] Re: gui-xaw & png, Vasco Alexandre Da Silva Costa, 2004/10/27
- [Freeciv-Dev] Re: gui-xaw & png, Per Inge Mathisen, 2004/10/27
|
|