【问题标题】:Render an image in SurfaceImageSource with direct2D使用 direct2D 在 SurfaceImageSource 中渲染图像
【发布时间】:2013-10-11 15:51:14
【问题描述】:

我正在制作一个在 ScrollViewer 中显示非常大的图像的 Windows 应用商店应用程序。 源图很大,用Image渲染不好(因为Image确实比源图小,所以缩放效果不好)。

我想使用 direct2D 进行更好的渲染(项目是 c# 中的)。 我对此真的很陌生,所以我真的不知道该怎么做......我发现那些看起来很有趣的链接:

SurfaceImageSource 示例很好,但只显示了如何渲染锐化... 而且我不知道如何使用 SurfaceImageSource 的第二个链接。

有没有人有这方面的好例子?谢谢!

【问题讨论】:

标签: c# .net windows-store-apps bitmapimage direct2d


【解决方案1】:

我想你可以试试VirtualSurfaceImageSource。它可以渲染大图。 了解更多: http://msdn.microsoft.com/en-us/library/windows/apps/hh825871.aspx

【讨论】:

    猜你喜欢
    • 2016-07-22
    • 2011-12-07
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2016-02-11
    • 1970-01-01
    • 2019-10-01
    相关资源
    最近更新 更多