I posted the message below into the WPF forum this morning, but it's quiet
as the grave in there. I'm reposting here in case anyone's awake -- Greg

---------------------------------------------------

Folks (anyone here?), I just want to run an idea past you to make sure it's
feasible before I start any coding.

We have a large VB6 app that tracks manufacturing jobs of various types, now
including glass cutting. The app needs to show a picture preview of a glass
sheet with artistically cut corners of different shapes. Doing this in VB6
would require tedious and delicate drawing. I suggested that we write a COM
visible .NET library that would use WPF to draw the picture and pop it up in
a Form.

I'm sure the COM interop will work and the form will open, as I've seen this
done before. I'm also sure I can draw the glass sheet beautifully in WPF and
it could be zoomed and panned (a 3D rotating version would be even more
eye-popping, but we'll stick to 2D for now). I would have to convert the
actual edge designs into path geometries, which might require graph paper
and pencil and a UI tool to compose the required effect, but you would only
do that once for each corner type and stash it in a library for reuse.

I'm keen to feedback before I make a proof of concept.

Cheers,
Greg

Reply via email to