Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想为 Windows Phone 7 创建一个简单的图形编辑器。用户将选择一个仪器并绘制 smth。要绘制我想使用WriteableBitmap,因为有时需要按像素绘制。这是一个好主意还是存在任何最好的方法?
由于性能损失,它的好主意,并且有利于GC,在创建WriteableBitmap时,应用程序必须定义图像属性,例如宽度,高度和像素格式。这允许 WriteableBitmap 对象分配一次内存并根据需要更新像素数据。