在Metro样式应用程序中绘图 [英] Drawing in metro style application

查看:112
本文介绍了在Metro样式应用程序中绘图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,

我正在开发类似于Windows 8的应用程序的绘画.我已经尝试过,但是甚至连线描工具也无法开发.我的应用程序将具有徒手工具,线,矩形,椭圆,圆图绘制工具,擦除器.我正在使用画布工具进行绘制.

因此,请为我提供一些编码,请为我提供工作代码.

Hello,

I m developing paint like application for windows 8. I have tried but I can''t even developed even a line drawing tool. My application will have free hand tool, line, rectangle, ellipse, circle drawing tool, erasor. I am using canvas tool for drawing.

So please guide me with some coding, please provide me working code.

推荐答案

我已经成功开发了我的应用程序,可以检查 ^ ]
i have successfully developed my app, you can check Metro Paint[^]


[回应后续讨论:]

那么,您是说您在MSDN中找不到合适的文章吗?首先,除了MSDN之外,其他情况如何?这是怎么回事:
http://www.c-sharpcorner.com /UploadFile/65fc13/drawing-features-in-windows-8-metro-style-apps/ [ http://msdn.microsoft.com/en-us/library/windows/apps/br229583.aspx [ ^ ].

请参阅丰富的视觉和媒体"部分,尤其是这一部分:
http://msdn.microsoft.com/en-us/library/windows/apps/xaml/hh465055.aspx [ ^ ].

如果我现在真的需要它并且有时间,我将停止寻找缺少文章的借口(谁需要这些借口?不是您),并且会立即开始.有足够多的出版物可以很好地开始.

—SA
[In response to follow-up discussion:]

So, are you saying you could not find appropriate articles in MSDN? First, how about other than MSDN? What''s wrong about this one:
http://www.c-sharpcorner.com/UploadFile/65fc13/drawing-features-in-windows-8-metro-style-apps/[^]?

As to MSDN, please see this:
http://msdn.microsoft.com/en-us/library/windows/apps/br229583.aspx[^].

Look at the section "Rich visuals and media", in particular, this part:
http://msdn.microsoft.com/en-us/library/windows/apps/xaml/hh465055.aspx[^].

If I really needed it right now and had time, I would stop finding excuses about lack of articles (who needs those excuses? not you) and would start immediately. There is more than enough publications good to start.

—SA


可能有点晚,但是您(或其他人)可能会找到
Probably a bit late, but you may (or others) find Drawing Library for Modern UI useful, it''s a replacement for System.Drawing namespace that draws on top of a Canvas and provides a GDI+ like API.


这篇关于在Metro样式应用程序中绘图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆