diff --git a/12-形状画刷和变换-20透明掩码/12-形状画刷和变换-20透明掩码.csproj b/12-形状画刷和变换-20透明掩码/12-形状画刷和变换-20透明掩码.csproj new file mode 100644 index 0000000..8d9cbd0 --- /dev/null +++ b/12-形状画刷和变换-20透明掩码/12-形状画刷和变换-20透明掩码.csproj @@ -0,0 +1,19 @@ + + + + WinExe + net8.0-windows + _12_形状画刷和变换_20透明掩码 + enable + enable + true + + + + + Always + + + + + diff --git a/12-形状画刷和变换-20透明掩码/App.xaml b/12-形状画刷和变换-20透明掩码/App.xaml new file mode 100644 index 0000000..f747167 --- /dev/null +++ b/12-形状画刷和变换-20透明掩码/App.xaml @@ -0,0 +1,9 @@ + + + + + diff --git a/12-形状画刷和变换-20透明掩码/App.xaml.cs b/12-形状画刷和变换-20透明掩码/App.xaml.cs new file mode 100644 index 0000000..b21c4fd --- /dev/null +++ b/12-形状画刷和变换-20透明掩码/App.xaml.cs @@ -0,0 +1,12 @@ +using System.Configuration; +using System.Data; +using System.Windows; + +namespace _12_形状画刷和变换_20透明掩码; + +/// +/// Interaction logic for App.xaml +/// +public partial class App : Application +{ +} \ No newline at end of file diff --git a/12-形状画刷和变换-20透明掩码/AssemblyInfo.cs b/12-形状画刷和变换-20透明掩码/AssemblyInfo.cs new file mode 100644 index 0000000..4a05c7d --- /dev/null +++ b/12-形状画刷和变换-20透明掩码/AssemblyInfo.cs @@ -0,0 +1,10 @@ +using System.Windows; + +[assembly: ThemeInfo( + ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located + //(used if a resource is not found in the page, + // or application resource dictionaries) + ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located + //(used if a resource is not found in the page, + // app, or any theme specific resource dictionaries) +)] \ No newline at end of file diff --git a/12-形状画刷和变换-20透明掩码/MainWindow.xaml b/12-形状画刷和变换-20透明掩码/MainWindow.xaml new file mode 100644 index 0000000..cab6112 --- /dev/null +++ b/12-形状画刷和变换-20透明掩码/MainWindow.xaml @@ -0,0 +1,24 @@ + + + + + + + + + \ No newline at end of file diff --git a/12-形状画刷和变换-20透明掩码/MainWindow.xaml.cs b/12-形状画刷和变换-20透明掩码/MainWindow.xaml.cs new file mode 100644 index 0000000..11d50b9 --- /dev/null +++ b/12-形状画刷和变换-20透明掩码/MainWindow.xaml.cs @@ -0,0 +1,23 @@ +using System.Text; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Input; +using System.Windows.Media; +using System.Windows.Media.Imaging; +using System.Windows.Navigation; +using System.Windows.Shapes; + +namespace _12_形状画刷和变换_20透明掩码; + +/// +/// Interaction logic for MainWindow.xaml +/// +public partial class MainWindow : Window +{ + public MainWindow() + { + InitializeComponent(); + } +} \ No newline at end of file diff --git a/12-形状画刷和变换-20透明掩码/public/003540AH4M72.jpg b/12-形状画刷和变换-20透明掩码/public/003540AH4M72.jpg new file mode 100644 index 0000000..4aa96ac Binary files /dev/null and b/12-形状画刷和变换-20透明掩码/public/003540AH4M72.jpg differ diff --git a/12-形状画刷和变换-20透明掩码/public/bunny.png b/12-形状画刷和变换-20透明掩码/public/bunny.png new file mode 100644 index 0000000..2eff910 Binary files /dev/null and b/12-形状画刷和变换-20透明掩码/public/bunny.png differ diff --git a/4-图形和动画.sln b/4-图形和动画.sln index c395d5d..b5cd26b 100644 --- a/4-图形和动画.sln +++ b/4-图形和动画.sln @@ -44,6 +44,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "12-形状画刷和变换-18 EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "12-形状画刷和变换-19透明", "12-形状画刷和变换-19透明\12-形状画刷和变换-19透明.csproj", "{A12635BC-1099-4B90-9BE3-F84C602B77CD}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "12-形状画刷和变换-20透明掩码", "12-形状画刷和变换-20透明掩码\12-形状画刷和变换-20透明掩码.csproj", "{26397700-1606-4E3D-A2E9-3E2CCF9662C9}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -138,5 +140,9 @@ Global {A12635BC-1099-4B90-9BE3-F84C602B77CD}.Debug|Any CPU.Build.0 = Debug|Any CPU {A12635BC-1099-4B90-9BE3-F84C602B77CD}.Release|Any CPU.ActiveCfg = Release|Any CPU {A12635BC-1099-4B90-9BE3-F84C602B77CD}.Release|Any CPU.Build.0 = Release|Any CPU + {26397700-1606-4E3D-A2E9-3E2CCF9662C9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {26397700-1606-4E3D-A2E9-3E2CCF9662C9}.Debug|Any CPU.Build.0 = Debug|Any CPU + {26397700-1606-4E3D-A2E9-3E2CCF9662C9}.Release|Any CPU.ActiveCfg = Release|Any CPU + {26397700-1606-4E3D-A2E9-3E2CCF9662C9}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection EndGlobal