问题
I found that WriteableBitmap.Render() is not supported in WinRT. Is there any other API for drawing bitmap images in Metro? I need to render some xaml-primitives (Rectangles, Circles, Paths, etc.) to png-image.
回答1:
It is indeed not supported yet. Your best bets are to either use WriteableBitmapEx or Direct2D.
来源:https://stackoverflow.com/questions/11840835/rendering-an-image-at-runtime-in-winrt