开发者

MFC and Diagramming libraries/ vector graphics?

Can you recommend good diagramming libraries?

I wish to draw vector graphics and make custom shapes.开发者_如何转开发


Lacking a particular reason to do something else, you typically use MFC itself -- CDC::Polyline, CDC::PolyPolyline, CDC::Arc, CDC::PolyBezier, etc.

Edit: I'm afraid if you want a complete example of a vector drawing program, complete with scaling, editing, saving and opening files, and such, you're probably in the wrong place. I (along with quite a few others here) can and often will answer reasonably specific questions, but if you want examples of relatively large, elaborate programs, some place like Code Project is probably a better bet. I'm not sure they have one, but at least there you'd stand a reasonable chance. About the closest I can advise where would be to the look at the standard Scribble tutorial. It certainly uses vector drawing, and supports saving and loading files. I'm not sure, but I seem to recall it supporting scaling as well.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜