|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
NSGradient implementationI Just added the gui part of an implementation of NSGradient. This is
based on code by Nikolaus Schaller and still requires some clean up. If somebody helps me to remove all the remaining FIXMEs in the code I am willing to define two backend methods for this class and implement them at least for the cairo backend. If on the other hand this results in as little feedback as the pattern colour implementation, I will just forget about that class. Cheers Fred _______________________________________________ Gnustep-dev mailing list Gnustep-dev@... http://lists.gnu.org/mailman/listinfo/gnustep-dev |
|
|
Re: NSGradient implementationHi Fred,
This is great to hear - I started two projects this summer which will really benefit from an NSGradient implementation. The first is a little piece of code [1] which draws speech bubbles identical to the ones in this mockup: http://jesseross.com/clients/etoile/ui/concepts/01/workspace_200.jpg I use NSGradient for filling in the bubbles, so currently it only looks correct on OS X. I also began working on drawing/painting framework tentatively called EtoilePaint [2], built on top of Quentin's EtoileUI, It's very unfinished, but I plan to resume working on it in January and create a nice hybrid bitmap/vector editor for Etoile. The NSColor pattern drawing feature will be useful here as well. If I have time in the next few weeks I'll look at the FIXME's in NSGradient. Thanks for starting this! Regards, Eric [1] http://svn.gna.org/viewcvs/etoile/trunk/Etoile/Frameworks/EtoileUI/Source/ETStyle.m?rev=5201&view=diff&r1=5201&r2=5200 [2] http://svn.gna.org/viewcvs/etoile/trunk/Etoile/Frameworks/EtoilePaint/ On 2009-10-21, at 1:15 AM, Fred Kiefer wrote: > I Just added the gui part of an implementation of NSGradient. This is > based on code by Nikolaus Schaller and still requires some clean up. > If > somebody helps me to remove all the remaining FIXMEs in the code I am > willing to define two backend methods for this class and implement > them > at least for the cairo backend. > > If on the other hand this results in as little feedback as the pattern > colour implementation, I will just forget about that class. > > Cheers > Fred > > > _______________________________________________ > Gnustep-dev mailing list > Gnustep-dev@... > http://lists.gnu.org/mailman/listinfo/gnustep-dev _______________________________________________ Gnustep-dev mailing list Gnustep-dev@... http://lists.gnu.org/mailman/listinfo/gnustep-dev |
|
|
Re: NSGradient implementationFred Kiefer schrieb:
> I Just added the gui part of an implementation of NSGradient. This is > based on code by Nikolaus Schaller and still requires some clean up. If > somebody helps me to remove all the remaining FIXMEs in the code I am > willing to define two backend methods for this class and implement them > at least for the cairo backend. > > If on the other hand this results in as little feedback as the pattern > colour implementation, I will just forget about that class. > As there wasn't much feedback here I went ahead and tried to sort out the maths myself and also wrote the simple cairo backend to do the drawing. This sadly shows that my computation was only correct for the first quadrant. Now it is back to the drawing board. Fred _______________________________________________ Gnustep-dev mailing list Gnustep-dev@... http://lists.gnu.org/mailman/listinfo/gnustep-dev |
| Free embeddable forum powered by Nabble | Forum Help |