Skip to content

Commit a3c8f8e

Browse files
committed
拷贝和创建项目
1 parent 91bf376 commit a3c8f8e

128 files changed

Lines changed: 7728 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio Version 17
4+
VisualStudioVersion = 17.0.31903.59
5+
MinimumVisualStudioVersion = 10.0.40219.1
6+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "samples", "samples", "{5D20AA90-6969-D8BD-9DCD-8634F4692FDA}"
7+
EndProject
8+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "sample", "samples\sample\sample.csproj", "{82A7729F-37E7-459A-880D-B369D002D159}"
9+
EndProject
10+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{827E0CD3-B72D-47B6-A68D-7590B98EB39B}"
11+
EndProject
12+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "wieslawsoltes-wmf", "wieslawsoltes-wmf", "{D144BB0A-C7AF-AD14-AAB6-277D09411108}"
13+
EndProject
14+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{3BE548B1-DF76-A83D-2DD1-A4902A7471C0}"
15+
EndProject
16+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "library", "library", "{B9ACF88E-1B48-4C66-8D28-E5AA88E66DAE}"
17+
EndProject
18+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Library", "src\wieslawsoltes-wmf\src\library\Library.csproj", "{37C31B24-6793-4298-B68F-7A9E94932DD9}"
19+
EndProject
20+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SkiaWmfRenderer", "src\SkiaWmfRenderer\SkiaWmfRenderer.csproj", "{34500DA8-76D4-4CE5-ADA3-9482FECF7DEC}"
21+
EndProject
22+
Global
23+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
24+
Debug|Any CPU = Debug|Any CPU
25+
Debug|x64 = Debug|x64
26+
Debug|x86 = Debug|x86
27+
Release|Any CPU = Release|Any CPU
28+
Release|x64 = Release|x64
29+
Release|x86 = Release|x86
30+
EndGlobalSection
31+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
32+
{82A7729F-37E7-459A-880D-B369D002D159}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
33+
{82A7729F-37E7-459A-880D-B369D002D159}.Debug|Any CPU.Build.0 = Debug|Any CPU
34+
{82A7729F-37E7-459A-880D-B369D002D159}.Debug|x64.ActiveCfg = Debug|Any CPU
35+
{82A7729F-37E7-459A-880D-B369D002D159}.Debug|x64.Build.0 = Debug|Any CPU
36+
{82A7729F-37E7-459A-880D-B369D002D159}.Debug|x86.ActiveCfg = Debug|Any CPU
37+
{82A7729F-37E7-459A-880D-B369D002D159}.Debug|x86.Build.0 = Debug|Any CPU
38+
{82A7729F-37E7-459A-880D-B369D002D159}.Release|Any CPU.ActiveCfg = Release|Any CPU
39+
{82A7729F-37E7-459A-880D-B369D002D159}.Release|Any CPU.Build.0 = Release|Any CPU
40+
{82A7729F-37E7-459A-880D-B369D002D159}.Release|x64.ActiveCfg = Release|Any CPU
41+
{82A7729F-37E7-459A-880D-B369D002D159}.Release|x64.Build.0 = Release|Any CPU
42+
{82A7729F-37E7-459A-880D-B369D002D159}.Release|x86.ActiveCfg = Release|Any CPU
43+
{82A7729F-37E7-459A-880D-B369D002D159}.Release|x86.Build.0 = Release|Any CPU
44+
{37C31B24-6793-4298-B68F-7A9E94932DD9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
45+
{37C31B24-6793-4298-B68F-7A9E94932DD9}.Debug|Any CPU.Build.0 = Debug|Any CPU
46+
{37C31B24-6793-4298-B68F-7A9E94932DD9}.Debug|x64.ActiveCfg = Debug|Any CPU
47+
{37C31B24-6793-4298-B68F-7A9E94932DD9}.Debug|x64.Build.0 = Debug|Any CPU
48+
{37C31B24-6793-4298-B68F-7A9E94932DD9}.Debug|x86.ActiveCfg = Debug|Any CPU
49+
{37C31B24-6793-4298-B68F-7A9E94932DD9}.Debug|x86.Build.0 = Debug|Any CPU
50+
{37C31B24-6793-4298-B68F-7A9E94932DD9}.Release|Any CPU.ActiveCfg = Release|Any CPU
51+
{37C31B24-6793-4298-B68F-7A9E94932DD9}.Release|Any CPU.Build.0 = Release|Any CPU
52+
{37C31B24-6793-4298-B68F-7A9E94932DD9}.Release|x64.ActiveCfg = Release|Any CPU
53+
{37C31B24-6793-4298-B68F-7A9E94932DD9}.Release|x64.Build.0 = Release|Any CPU
54+
{37C31B24-6793-4298-B68F-7A9E94932DD9}.Release|x86.ActiveCfg = Release|Any CPU
55+
{37C31B24-6793-4298-B68F-7A9E94932DD9}.Release|x86.Build.0 = Release|Any CPU
56+
{34500DA8-76D4-4CE5-ADA3-9482FECF7DEC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
57+
{34500DA8-76D4-4CE5-ADA3-9482FECF7DEC}.Debug|Any CPU.Build.0 = Debug|Any CPU
58+
{34500DA8-76D4-4CE5-ADA3-9482FECF7DEC}.Debug|x64.ActiveCfg = Debug|Any CPU
59+
{34500DA8-76D4-4CE5-ADA3-9482FECF7DEC}.Debug|x64.Build.0 = Debug|Any CPU
60+
{34500DA8-76D4-4CE5-ADA3-9482FECF7DEC}.Debug|x86.ActiveCfg = Debug|Any CPU
61+
{34500DA8-76D4-4CE5-ADA3-9482FECF7DEC}.Debug|x86.Build.0 = Debug|Any CPU
62+
{34500DA8-76D4-4CE5-ADA3-9482FECF7DEC}.Release|Any CPU.ActiveCfg = Release|Any CPU
63+
{34500DA8-76D4-4CE5-ADA3-9482FECF7DEC}.Release|Any CPU.Build.0 = Release|Any CPU
64+
{34500DA8-76D4-4CE5-ADA3-9482FECF7DEC}.Release|x64.ActiveCfg = Release|Any CPU
65+
{34500DA8-76D4-4CE5-ADA3-9482FECF7DEC}.Release|x64.Build.0 = Release|Any CPU
66+
{34500DA8-76D4-4CE5-ADA3-9482FECF7DEC}.Release|x86.ActiveCfg = Release|Any CPU
67+
{34500DA8-76D4-4CE5-ADA3-9482FECF7DEC}.Release|x86.Build.0 = Release|Any CPU
68+
EndGlobalSection
69+
GlobalSection(SolutionProperties) = preSolution
70+
HideSolutionNode = FALSE
71+
EndGlobalSection
72+
GlobalSection(NestedProjects) = preSolution
73+
{82A7729F-37E7-459A-880D-B369D002D159} = {5D20AA90-6969-D8BD-9DCD-8634F4692FDA}
74+
{D144BB0A-C7AF-AD14-AAB6-277D09411108} = {827E0CD3-B72D-47B6-A68D-7590B98EB39B}
75+
{3BE548B1-DF76-A83D-2DD1-A4902A7471C0} = {D144BB0A-C7AF-AD14-AAB6-277D09411108}
76+
{B9ACF88E-1B48-4C66-8D28-E5AA88E66DAE} = {3BE548B1-DF76-A83D-2DD1-A4902A7471C0}
77+
{37C31B24-6793-4298-B68F-7A9E94932DD9} = {B9ACF88E-1B48-4C66-8D28-E5AA88E66DAE}
78+
{34500DA8-76D4-4CE5-ADA3-9482FECF7DEC} = {827E0CD3-B72D-47B6-A68D-7590B98EB39B}
79+
EndGlobalSection
80+
EndGlobal
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
// See https://aka.ms/new-console-template for more information
2+
Console.WriteLine("Hello, World!");
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
3+
<PropertyGroup>
4+
<OutputType>Exe</OutputType>
5+
<TargetFramework>net9.0</TargetFramework>
6+
<ImplicitUsings>enable</ImplicitUsings>
7+
<Nullable>enable</Nullable>
8+
</PropertyGroup>
9+
10+
</Project>
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
// See https://aka.ms/new-console-template for more information
2+
Console.WriteLine("Hello, World!");
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
3+
<PropertyGroup>
4+
<OutputType>Exe</OutputType>
5+
<TargetFramework>net9.0</TargetFramework>
6+
<ImplicitUsings>enable</ImplicitUsings>
7+
<Nullable>enable</Nullable>
8+
</PropertyGroup>
9+
10+
</Project>
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2010 Papn Kukn
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
6+
7+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
8+
9+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Copy from https://github.com/wieslawsoltes/wmf
2+
3+
Commit: a99e43a470ea0d14cfc9b437dc3606921c83dba2
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
using System;
2+
3+
namespace Oxage.Wmf
4+
{
5+
[AttributeUsage(AttributeTargets.Class, Inherited = true, AllowMultiple = false)]
6+
public sealed class WmfObjectAttribute : Attribute
7+
{
8+
public WmfObjectAttribute()
9+
{
10+
}
11+
12+
/// <summary>
13+
/// Gets or sets objects size in WORDs (number of 16-bit segments)
14+
/// </summary>
15+
public int Size
16+
{
17+
get;
18+
set;
19+
}
20+
21+
/// <summary>
22+
/// Gets or sets if the size is defined as variable (false by default)
23+
/// </summary>
24+
public bool SizeIsVariable
25+
{
26+
get;
27+
set;
28+
}
29+
}
30+
}
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
using System;
2+
3+
namespace Oxage.Wmf
4+
{
5+
[AttributeUsage(AttributeTargets.Class, Inherited = true, AllowMultiple = false)]
6+
public sealed class WmfRecordAttribute : Attribute
7+
{
8+
public WmfRecordAttribute()
9+
{
10+
}
11+
12+
/// <summary>
13+
/// Gets or sets a record type (aka record function)
14+
/// </summary>
15+
public RecordType Type
16+
{
17+
get;
18+
set;
19+
}
20+
21+
/// <summary>
22+
/// Gets or sets record size in WORDs (number of 16-bit segments)
23+
/// </summary>
24+
public uint Size
25+
{
26+
get;
27+
set;
28+
}
29+
30+
/// <summary>
31+
/// Gets or sets if the size is defined as variable (false by default)
32+
/// </summary>
33+
public bool SizeIsVariable
34+
{
35+
get;
36+
set;
37+
}
38+
}
39+
}
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
using System;
2+
3+
namespace Oxage.Wmf
4+
{
5+
public enum BinaryRasterOperation
6+
{
7+
R2_BLACK = 0x0001,
8+
R2_NOTMERGEPEN = 0x0002,
9+
R2_MASKNOTPEN = 0x0003,
10+
R2_NOTCOPYPEN = 0x0004,
11+
R2_MASKPENNOT = 0x0005,
12+
R2_NOT = 0x0006,
13+
R2_XORPEN = 0x0007,
14+
R2_NOTMASKPEN = 0x0008,
15+
R2_MASKPEN = 0x0009,
16+
R2_NOTXORPEN = 0x000A,
17+
R2_NOP = 0x000B,
18+
R2_MERGENOTPEN = 0x000C,
19+
R2_COPYPEN = 0x000D,
20+
R2_MERGEPENNOT = 0x000E,
21+
R2_MERGEPEN = 0x000F,
22+
R2_WHITE = 0x0010
23+
}
24+
}

0 commit comments

Comments
 (0)