--- Benoit Marchant <[EMAIL PROTECTED]> wrote:
> maybe the drawing should then be separated, so that
> if you need the
> shapes for the drag areas but don't care for the
> drawing or vice versa
> you don't have to load something you don't need.
> Does it make sense ?
Very much so. The drag areas should not force the user
to have to load the graphics object. I don't know much
about the graphics object, but if you can design a
Shapes object that can be used separate and apart from
the grpahics object for the drag areas, then that
would be cool.
PS. I think it's cool to have this drag area feature
as part of the dynapi package. If you can pull this
off then it would be well appreciated.
Best regards,
--
Raymond Irving
>
> Benoit
>
> On Tuesday, February 25, 2003, at 11:56 AM, Raymond
> Irving wrote:
>
> >
> > --- Benoit Marchant <[EMAIL PROTECTED]> wrote:
> >> What about using Shapes ?
> >
> > What shapes? You mean the Graphics object? Or is
> it
> > that you're planning on creating a Shapes Object?
> >
> > Wouldn't it be better to use something like:
> > DragArea.circle(lyr,20)
> > DragArea.rectangle(lyr,x1,x2,y1,y2)
> > DragArea.polygon, etc
> >
> >> Some code still needs to be added to
> >> DragEvent:
> >>
> >> // check if event occured within one of the
> areas
> >> (if any)
> >> if (lyr.dragAreas && !
> >> lyr.isWithinArea(e.getPageX()-lyr.getPageX(),
> >> e.getPageY()-lyr.getPageY())) {
> >> return;
> >> }
> >>
> >> So that needs to be done there even though the
> area
> >> stuff is in another
> >> file.
> >>
> >
> > That's fine. Once the dragarea stuff is working it
> can
> > be added.
> >
> > Best regards,
> >
> > --
> > Raymond Irving
> >
> > __________________________________________________
> > Do you Yahoo!?
> > Yahoo! Tax Center - forms, calculators, tips, more
> > http://taxes.yahoo.com/
> >
> >
> >
>
-------------------------------------------------------
> > This sf.net email is sponsored by:ThinkGeek
> > Welcome to geek heaven.
> > http://thinkgeek.com/sf
> > _______________________________________________
> > Dynapi-Dev mailing list
> > [EMAIL PROTECTED]
> >
>
http://www.mail-archive.com/[EMAIL PROTECTED]/
> >
>
>
>
>
-------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Dynapi-Dev mailing list
> [EMAIL PROTECTED]
>
http://www.mail-archive.com/[EMAIL PROTECTED]/
__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Dynapi-Dev mailing list
[EMAIL PROTECTED]
http://www.mail-archive.com/[EMAIL PROTECTED]/