Hi, > Or do I have to add my own code to answer queries like is point (x,y) close enough to that bezier curve to register a hit, on a mouse click?
CD does not have functions like that, it is a simple graphics library. Such questions don't usually be solved by graphics libraries. Foley is a great reference, Graphics Gems is another. I would search for algorithms and implement myself... Em sex., 6 de set. de 2024 às 12:04, Johann ''Myrkraverk'' Oskarsson via Iup-users <iup-users@lists.sourceforge.net> escreveu: > Dear IUP List, > > I'd like to try my hand at making a vector drawing tool, from scratch. > And I'd rather not have to invent the math and algorithms myself. > > Are there APIs in IUP and/or CD that make this easy? Or do I have to > add my own code to answer queries like is point (x,y) close enough to > that bezier curve to register a hit, on a mouse click? > > Is there a good book on the subjects I need? I've been flipping through > the old Foley book, /Computer Graphics, Principles and Practice/ (1995) > but it seems to be a bit high level for practitioners or I'm just lost > in the math. > > Website resources would be cool too; I'm not a fan of videos. > > > Thanks, > Johann > > > _______________________________________________ > Iup-users mailing list > Iup-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/iup-users >
_______________________________________________ Iup-users mailing list Iup-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/iup-users