[futurebasic] Re: [FB] Paint Field

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : January 2008 : Group Archive : Group : All Groups

From: Robert Covington <artlythere@...>
Date: Fri, 11 Jan 2008 20:02:49 -0500
Paint into a GWorld, blit to window , track the mouse, size your  
'brushes' and paint using Circle Fill or a CopyDeepMask approach.  
Fill source world with paint color, fill mask world with circular  
mask, copy as you go.

Perhapscheck out the fine demos with XCode and see if you can fathom  
integrating those CoreGraphics/CoreImage brushes and techniques into  
your paint needs. I seem to recall a painting demo. (might be  
daunting, but it's non-deprecated)

On the other hand, I've checked out some very new programs using what  
(appears) to be those methods, and they seem slower for painting than  
GWorlds on this machine. Even my 200 pixel brushes are faster than  
their 75's. But perhaps the graphics card is not helping in that  
case. Not helping me either. :)

I'm bummed that GWorlds might be going the way of the Dodo in a few  
more moons, and that things are so arcane and mystifying now just to  
do basic things with all the Opaque records, multiple calls and setup  
needed, and whatnot.

Robert

On Jan 11, 2008, at 7:42 PM, Brian Heibert wrote:

> I am building a game creation program and in it I need a paint area
>
> I got a NIB window with a Edit Field, a few buttons and a  
> HIImageView for now
> but I want to replace that  with some sort of paint area
>
> I have never done anything like this before in FutureBASIC, however  
> I have had a paint field in a shudder I say the name REALbasic  
> application.  So I don't know where to start.
>
> Any suggestions?
>
> Brian
> --
> To unsubscribe, send ANY message to: futurebasic- 
> unsubscribe@...
>