gnash-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-dev] Re: Programmatically creating filled shape characters (was:


From: strk
Subject: [Gnash-dev] Re: Programmatically creating filled shape characters (was: Drawing bitmaps)
Date: Tue, 13 Feb 2007 16:37:09 +0100

On Tue, Feb 13, 2007 at 02:42:47PM +0100, Udo Giacomozzi wrote:

> As for the definition: Basically it should be enough if you:
>   - add the bitmap as it's only fill style
>   - add one path with four edges:
> 
> 
>   1               0
>     +-----------+
>     |           |
>     |           |
>     | m         |
>     +-----------o
>   2               3
> 
>   The "o" marks the anchor point the path, the edges go
>   counterclock-wise. Set the *left* fill style to 0 (= the bitmal fill
>   style ID) and the *right* fill style to -1 (no fill).

Which is *left* and which *right*  between m_fill0 and m_fill1 ?
(not documented)

mm... I'm too dumb to understand how to create the edges.
I suppose the definition below doesn't work ?

        edge e01(10, 10, 0, 10);
        edge e12(0, 10, 0, 0);
        edge e23(0, 0, 10, 0);
        edge e30(10, 0, 10, 10);


--strk;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]