如何在图片上绘制文字并将其保存在 windows phone c# 应用程序中?
how to draw text on picture and save it on windows phone c# app?
我正在使用 windows phone 8.1 c# 应用程序 visual studio 2015
Graphics g = Graphics.FromImage
不适用于 windows phone 8.1
现在这是我来自 android 的代码,我需要在 windows phone c#:
中做同样的事情
Paint paint = new Paint();
canvas.drawBitmap(originalBitmap, 0, 0, paint);
canvas.drawText("Testing...", 10, 10, paint);
WriteableBitmap.render 无效。我知道 WriteableBitmap.render 可以解决我的问题。 windows phone 8.1 c# WriteableBitmap.render 未找到。
请参阅 msdn 中的示例:WindowsPhone: Write Text on Image control
此示例使用 Lumia Imaging sdk 和 Win2D
https://msdn.microsoft.com/en-us/library/mt598529.aspx
https://github.com/Microsoft/Lumia-imaging-sdk/tree/master/Samples/LumiaImagingSDKWin2DDemo
我正在使用 windows phone 8.1 c# 应用程序 visual studio 2015
Graphics g = Graphics.FromImage
不适用于 windows phone 8.1
现在这是我来自 android 的代码,我需要在 windows phone c#:
中做同样的事情Paint paint = new Paint();
canvas.drawBitmap(originalBitmap, 0, 0, paint);
canvas.drawText("Testing...", 10, 10, paint);
WriteableBitmap.render 无效。我知道 WriteableBitmap.render 可以解决我的问题。 windows phone 8.1 c# WriteableBitmap.render 未找到。
请参阅 msdn 中的示例:WindowsPhone: Write Text on Image control
此示例使用 Lumia Imaging sdk 和 Win2D
https://msdn.microsoft.com/en-us/library/mt598529.aspx
https://github.com/Microsoft/Lumia-imaging-sdk/tree/master/Samples/LumiaImagingSDKWin2DDemo