Sometimes, when I have really, really nothing else to do, I start doodling with some code. Wanted to display the coordinates of the mouse pointer. Thought it was complicated, but it was rather easy. Look, starting at line 94. Then: why not explore a [Bezier curve](https://en.wikipedia.org/wiki/B%C3%A9zier_curve), and what if I could move all the points on the screen? So here it is what I came up with. It is far from complete, but I thought why not share it. Highlights: - Follow the coordinates of the mouse pointer. - Moving controls(here PictureBoxes) with the mouse on the screen. Here is …
|+0 forum 0|
I am trying to find out the bounding box of a bezier curve. I know that it can be done by getting all the points using de Casteljau's algorithm and then finding the minimum reactangle around the curve. But de Casteljau's algorithm will make my application too expensive, i feel. Is there anyother way i can get te bounding box of the curve aloung the axis? Thank you.
|+0 forum 3|