2022年1月25日

WPF 添加或删除Visual对象 画文字和画线

摘要: 直接上码: 1.新建WpfApp解决方案 2.MainWindow.xaml文件代码如下: <Window x:Class="WpfApp1.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" x 阅读全文

posted @ 2022-01-25 15:03 wu.g.q 阅读(407) 评论(0) 推荐(0) 编辑

WPF WriteableBitmap类直接操作像素点

摘要: 还是话不多说,直接上码: 1.新建WpfApp应用程序 2.MainWindow.xaml文件代码如下: <Window x:Class="WpfApp1.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presenta 阅读全文

posted @ 2022-01-25 14:16 wu.g.q 阅读(283) 评论(0) 推荐(0) 编辑

WPF WriteableBitmap类 + gdi画线和文字

摘要: 话不多说,直接上码: 1.新建wpfApp工程 2.MainWindow.xaml文件中代码如下: <Window x:Class="WpfApp1.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentatio 阅读全文

posted @ 2022-01-25 13:57 wu.g.q 阅读(760) 评论(0) 推荐(0) 编辑

导航