[Grace-core] Cross platform graphics library

Alex Sandilands sandilands.alex at gmail.com
Tue Jan 28 14:59:41 PST 2014


On Wed, Jan 29, 2014 at 11:30 AM, Kim Bruce <kim at cs.pomona.edu> wrote:

> I think we do.  We have components that are themselves not containers.
>  Canvas/Drawable
> are different things with drawables going in a canvas
>
>
Yeah I agree


>
> I prefer having the separation as we might wish to have multiple canvases
> in a container (interspersed with other objects).  We can always define new
> classes that give you a window with a canvas built-in.  I do that in
> objectdraw.  The key here is to provide primitives that can be used to
> build a higher-level library.
>
>
Also agree


>
> I'd prefer not to do this as the full variety of mouse actions make sense
> on a canvas, but if you are working with a button or a pop-up menu then
> only a subset of those actions make sense
>
>
Also agree



> I think this does make sense for these basic operations as it makes life
> simpler all around.
>

Semi agree. I guess it's debatable. From a math point of view I would
prefer to see something like:

sin( [big equation here] )

as that is how math is read, rather than something like:

def v = [big equation here]
v.sin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailhost.cecs.pdx.edu/pipermail/grace-core/attachments/20140129/b159196c/attachment-0001.html>


More information about the Grace-core mailing list