Add WinUI support (#2042)
Co-authored-by: Pavel Anpin <pavel@apes.ge> Co-authored-by: Jerome Laban <jerome.laban@nventive.com>
|
@ -22,6 +22,7 @@ System.IO.UnmanagedMemoryStream release 4.3.0
|
|||
System.Drawing.Common release 4.5.1
|
||||
SharpVk release 0.4.2
|
||||
Uno.UI release 4.0.8
|
||||
Uno.WinUI release 4.0.13
|
||||
Microsoft.WindowsAppSDK release 1.0.3
|
||||
Microsoft.Maui.Graphics release 6.0.300-rc.2.1310
|
||||
Microsoft.Windows.SDK.NET.Ref release 10.0.18362.22
|
||||
|
@ -75,6 +76,7 @@ SkiaSharp.Views.Forms nuget 2.88.1
|
|||
SkiaSharp.Views.Forms.WPF nuget 2.88.1
|
||||
SkiaSharp.Views.Forms.GTK nuget 2.88.1
|
||||
SkiaSharp.Views.Uno nuget 2.88.1
|
||||
SkiaSharp.Views.Uno.WinUI nuget 2.88.1
|
||||
SkiaSharp.Views.WinUI nuget 2.88.1
|
||||
SkiaSharp.Views.Maui.Core nuget 2.88.1
|
||||
SkiaSharp.Views.Maui.Controls nuget 2.88.1
|
||||
|
|
|
@ -90,6 +90,7 @@ var TRACKED_NUGETS = new Dictionary<string, Version> {
|
|||
{ "SkiaSharp.Views.Forms.WPF", new Version (1, 60, 0) },
|
||||
{ "SkiaSharp.Views.Forms.GTK", new Version (1, 60, 0) },
|
||||
{ "SkiaSharp.Views.Uno", new Version (1, 60, 0) },
|
||||
{ "SkiaSharp.Views.Uno.WinUI", new Version (1, 60, 0) },
|
||||
{ "SkiaSharp.Views.WinUI", new Version (1, 60, 0) },
|
||||
{ "SkiaSharp.Views.Maui.Core", new Version (1, 60, 0) },
|
||||
{ "SkiaSharp.Views.Maui.Controls", new Version (1, 60, 0) },
|
||||
|
|
|
@ -212,7 +212,7 @@ Task ("docs-update-frameworks")
|
|||
var monikers = new List<string> ();
|
||||
foreach (var id in TRACKED_NUGETS.Keys) {
|
||||
// skip doc generation for Uno, this is the same as UWP and it is not needed
|
||||
if (id.StartsWith ("SkiaSharp.Views.Uno"))
|
||||
if (id.StartsWith ("SkiaSharp.Views.Uno") || id.StartsWith ("SkiaSharp.Views.Uno.WinUI") )
|
||||
continue;
|
||||
// skip doc generation for NativeAssets as that has nothing but a native binary
|
||||
if (id.Contains ("NativeAssets"))
|
||||
|
|
|
@ -0,0 +1,95 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<package>
|
||||
<metadata>
|
||||
|
||||
<!-- package -->
|
||||
<id>SkiaSharp.Views.Uno.WinUI</id>
|
||||
<title>SkiaSharp for Uno Platform</title>
|
||||
<version>1.0.0</version>
|
||||
<description>
|
||||
SkiaSharp for Uno Platform is a set of views that can be used to draw on the screen.
|
||||
</description>
|
||||
<summary>
|
||||
SkiaSharp for Uno Platform is a set of views that can be used to draw on the screen.
|
||||
</summary>
|
||||
<releaseNotes>
|
||||
Please visit https://go.microsoft.com/fwlink/?linkid=868517 to view the release notes.
|
||||
</releaseNotes>
|
||||
<projectUrl>https://go.microsoft.com/fwlink/?linkid=868515</projectUrl>
|
||||
<iconUrl>https://go.microsoft.com/fwlink/?linkid=2130524</iconUrl>
|
||||
<tags>ui uno xamarin graphics ios android catalyst windows winui macos cross-platform skiasharp</tags>
|
||||
|
||||
<!-- legal -->
|
||||
<licenseUrl>https://go.microsoft.com/fwlink/?linkid=868514</licenseUrl>
|
||||
<authors>Microsoft</authors>
|
||||
<owners>Microsoft</owners>
|
||||
<requireLicenseAcceptance>true</requireLicenseAcceptance>
|
||||
<copyright>© Microsoft Corporation. All rights reserved.</copyright>
|
||||
|
||||
<dependencies>
|
||||
<group targetFramework="netstandard2.0">
|
||||
<dependency id="Uno.WinUI" version="1.0.0" />
|
||||
<dependency id="SkiaSharp" version="1.0.0" />
|
||||
<dependency id="SkiaSharp.NativeAssets.WebAssembly" version="1.0.0" />
|
||||
</group>
|
||||
<group targetFramework="net6.0-ios13.6">
|
||||
<dependency id="Uno.WinUI" version="1.0.0" />
|
||||
<dependency id="SkiaSharp" version="1.0.0" />
|
||||
</group>
|
||||
<group targetFramework="net6.0-maccatalyst13.5">
|
||||
<dependency id="Uno.WinUI" version="1.0.0" />
|
||||
<dependency id="SkiaSharp" version="1.0.0" />
|
||||
</group>
|
||||
<group targetFramework="net6.0-macos12.1">
|
||||
<dependency id="Uno.WinUI" version="1.0.0" />
|
||||
<dependency id="SkiaSharp" version="1.0.0" />
|
||||
</group>
|
||||
<group targetFramework="net6.0-android30.0">
|
||||
<dependency id="Uno.WinUI" version="1.0.0" />
|
||||
<dependency id="SkiaSharp" version="1.0.0" />
|
||||
</group>
|
||||
<group targetFramework="net5.0-windows10.0.18362">
|
||||
<dependency id="Uno.WinUI" version="1.0.0" />
|
||||
<dependency id="SkiaSharp" version="1.0.0" />
|
||||
<dependency id="SkiaSharp.Views" version="1.0.0" />
|
||||
</group>
|
||||
</dependencies>
|
||||
|
||||
</metadata>
|
||||
<files>
|
||||
|
||||
<!-- SkiaSharp.Views.Windows.dll -->
|
||||
<file src="lib/netstandard2.0/SkiaSharp.Views.Windows.dll" />
|
||||
<file src="lib/netstandard2.0/SkiaSharp.Views.Windows.pdb" />
|
||||
<file src="lib/netstandard2.0/SkiaSharp.Views.Windows.xml" />
|
||||
<file src="uno-runtime/webassembly/SkiaSharp.Views.Windows.dll" />
|
||||
<file src="uno-runtime/webassembly/SkiaSharp.Views.Windows.pdb" />
|
||||
<file src="uno-runtime/webassembly/SkiaSharp.Views.Windows.xml" />
|
||||
<file src="uno-runtime/skia/SkiaSharp.Views.Windows.dll" />
|
||||
<file src="uno-runtime/skia/SkiaSharp.Views.Windows.pdb" />
|
||||
<file src="uno-runtime/skia/SkiaSharp.Views.Windows.xml" />
|
||||
<file platform="windows" src="lib/net6.0-android/SkiaSharp.Views.Windows.dll" target="lib/net6.0-android3.0/SkiaSharp.Views.Windows.dll"/>
|
||||
<file platform="windows" src="lib/net6.0-android/SkiaSharp.Views.Windows.pdb" target="lib/net6.0-android3.0/SkiaSharp.Views.Windows.pdb"/>
|
||||
<file platform="windows" src="lib/net6.0-android/SkiaSharp.Views.Windows.xml" target="lib/net6.0-android3.0/SkiaSharp.Views.Windows.xml"/>
|
||||
<file platform="windows" src="lib/net6.0-ios/SkiaSharp.Views.Windows.dll" target="lib/net6.0-ios13.6/SkiaSharp.Views.Windows.dll"/>
|
||||
<file platform="windows" src="lib/net6.0-ios/SkiaSharp.Views.Windows.pdb" target="lib/net6.0-ios13.6/SkiaSharp.Views.Windows.pdb"/>
|
||||
<file platform="windows" src="lib/net6.0-ios/SkiaSharp.Views.Windows.xml" target="lib/net6.0-ios13.6/SkiaSharp.Views.Windows.xml"/>
|
||||
<file platform="windows" src="lib/net6.0-macos/SkiaSharp.Views.Windows.dll" target="lib/net6.0-macos12.1/SkiaSharp.Views.Windows.dll"/>
|
||||
<file platform="windows" src="lib/net6.0-macos/SkiaSharp.Views.Windows.pdb" target="lib/net6.0-macos12.1/SkiaSharp.Views.Windows.pdb"/>
|
||||
<file platform="windows" src="lib/net6.0-macos/SkiaSharp.Views.Windows.xml" target="lib/net6.0-macos12.1/SkiaSharp.Views.Windows.xml"/>
|
||||
<file platform="windows" src="lib/net6.0-maccatalyst/SkiaSharp.Views.Windows.dll" target="lib/net6.0-maccatalyst13.5/SkiaSharp.Views.Windows.dll"/>
|
||||
<file platform="windows" src="lib/net6.0-maccatalyst/SkiaSharp.Views.Windows.pdb" target="lib/net6.0-maccatalyst13.5/SkiaSharp.Views.Windows.pdb"/>
|
||||
<file platform="windows" src="lib/net6.0-maccatalyst/SkiaSharp.Views.Windows.xml" target="lib/net6.0-maccatalyst13.5/SkiaSharp.Views.Windows.xml"/>
|
||||
|
||||
<!-- Fallback to avoid netstandard2.0 to be used incorrectly and cause hard to troubleshoot build errors -->
|
||||
<file src="_._" target="lib/net5.0-windows10.0.18362/_._" />
|
||||
|
||||
<!-- the build bits -->
|
||||
<file src="build/netstandard2.0/SkiaSharp.Views.Uno.WinUI.targets" />
|
||||
<file src="build/netstandard2.0/SkiaSharp.Views.Uno.WinUI.targets" target="buildTransitive/netstandard2.0/SkiaSharp.Views.Uno.WinUI.targets" />
|
||||
|
||||
<!-- legal -->
|
||||
<file src="LICENSE.txt" />
|
||||
|
||||
</files>
|
||||
</package>
|
|
@ -0,0 +1,97 @@
|
|||
{
|
||||
"version": "1.0",
|
||||
"components": [
|
||||
"Microsoft.VisualStudio.Component.CoreEditor",
|
||||
"Microsoft.VisualStudio.Workload.CoreEditor",
|
||||
"Microsoft.NetCore.Component.Runtime.3.1",
|
||||
"Microsoft.NetCore.Component.SDK",
|
||||
"Microsoft.VisualStudio.Component.NuGet",
|
||||
"Microsoft.VisualStudio.Component.Roslyn.Compiler",
|
||||
"Microsoft.VisualStudio.Component.Roslyn.LanguageServices",
|
||||
"Microsoft.NetCore.Component.DevelopmentTools",
|
||||
"Microsoft.VisualStudio.ComponentGroup.WebToolsExtensions",
|
||||
"Microsoft.VisualStudio.Component.DockerTools",
|
||||
"Microsoft.NetCore.Component.Web",
|
||||
"Microsoft.Net.ComponentGroup.DevelopmentPrerequisites",
|
||||
"Microsoft.VisualStudio.Component.TypeScript.4.0",
|
||||
"Microsoft.VisualStudio.Component.JavaScript.TypeScript",
|
||||
"Microsoft.VisualStudio.Component.JavaScript.Diagnostics",
|
||||
"Microsoft.Component.MSBuild",
|
||||
"Microsoft.VisualStudio.Component.TextTemplating",
|
||||
"Component.Microsoft.VisualStudio.RazorExtension",
|
||||
"Microsoft.VisualStudio.Component.IISExpress",
|
||||
"Microsoft.VisualStudio.Component.SQL.ADAL",
|
||||
"Microsoft.VisualStudio.Component.SQL.LocalDB.Runtime",
|
||||
"Microsoft.VisualStudio.Component.Common.Azure.Tools",
|
||||
"Microsoft.VisualStudio.Component.SQL.CLR",
|
||||
"Microsoft.VisualStudio.Component.MSODBC.SQL",
|
||||
"Microsoft.VisualStudio.Component.MSSQL.CMDLnUtils",
|
||||
"Microsoft.VisualStudio.Component.ManagedDesktop.Core",
|
||||
"Microsoft.VisualStudio.Component.SQL.SSDT",
|
||||
"Microsoft.VisualStudio.Component.SQL.DataSources",
|
||||
"Component.Microsoft.Web.LibraryManager",
|
||||
"Microsoft.VisualStudio.ComponentGroup.Web",
|
||||
"Microsoft.VisualStudio.Component.Web",
|
||||
"Microsoft.VisualStudio.Component.IntelliCode",
|
||||
"Component.Microsoft.VisualStudio.LiveShare",
|
||||
"Microsoft.VisualStudio.ComponentGroup.Web.Client",
|
||||
"Microsoft.Net.ComponentGroup.TargetingPacks.Common",
|
||||
"Component.Microsoft.VisualStudio.Web.AzureFunctions",
|
||||
"Microsoft.VisualStudio.ComponentGroup.AzureFunctions",
|
||||
"Microsoft.VisualStudio.Component.Azure.Compute.Emulator",
|
||||
"Microsoft.VisualStudio.Component.Azure.Storage.Emulator",
|
||||
"Microsoft.VisualStudio.Component.Azure.ClientLibs",
|
||||
"Microsoft.VisualStudio.Component.Azure.AuthoringTools",
|
||||
"Microsoft.VisualStudio.Component.CloudExplorer",
|
||||
"Microsoft.VisualStudio.ComponentGroup.Web.CloudTools",
|
||||
"Microsoft.VisualStudio.Component.DiagnosticTools",
|
||||
"Microsoft.VisualStudio.Component.EntityFramework",
|
||||
"Microsoft.VisualStudio.Component.AspNet45",
|
||||
"Microsoft.VisualStudio.Component.AppInsights.Tools",
|
||||
"Microsoft.VisualStudio.Component.WebDeploy",
|
||||
"Microsoft.VisualStudio.Component.Wcf.Tooling",
|
||||
"Microsoft.VisualStudio.Workload.NetWeb",
|
||||
"Microsoft.VisualStudio.ComponentGroup.Azure.Prerequisites",
|
||||
"Microsoft.VisualStudio.Component.Azure.Waverton.BuildTools",
|
||||
"Microsoft.VisualStudio.Component.Azure.Waverton",
|
||||
"Microsoft.Component.Azure.DataLake.Tools",
|
||||
"Microsoft.VisualStudio.Component.Azure.Kubernetes.Tools",
|
||||
"Microsoft.VisualStudio.Component.Azure.ResourceManager.Tools",
|
||||
"Microsoft.VisualStudio.ComponentGroup.Azure.ResourceManager.Tools",
|
||||
"Microsoft.VisualStudio.ComponentGroup.Azure.CloudServices",
|
||||
"Microsoft.VisualStudio.Component.Azure.ServiceFabric.Tools",
|
||||
"Microsoft.VisualStudio.Workload.Azure",
|
||||
"Microsoft.VisualStudio.Component.VC.CoreIde",
|
||||
"Microsoft.VisualStudio.Component.VC.Tools.x86.x64",
|
||||
"Microsoft.VisualStudio.Component.Graphics.Tools",
|
||||
"Microsoft.VisualStudio.Component.Windows10SDK.19041",
|
||||
"Microsoft.VisualStudio.Component.ManagedDesktop.Prerequisites",
|
||||
"Microsoft.ComponentGroup.Blend",
|
||||
"Microsoft.VisualStudio.Component.Debugger.JustInTime",
|
||||
"Microsoft.VisualStudio.Component.PortableLibrary",
|
||||
"Microsoft.VisualStudio.ComponentGroup.MSIX.Packaging",
|
||||
"Microsoft.VisualStudio.Workload.ManagedDesktop",
|
||||
"Microsoft.VisualStudio.Component.Windows10SDK.18362",
|
||||
"Microsoft.VisualStudio.Component.Windows10SDK.17763",
|
||||
"Microsoft.Component.NetFX.Native",
|
||||
"Microsoft.VisualStudio.ComponentGroup.UWP.NetCoreAndStandard",
|
||||
"Microsoft.VisualStudio.Component.Graphics",
|
||||
"Microsoft.VisualStudio.ComponentGroup.UWP.Xamarin",
|
||||
"Microsoft.VisualStudio.ComponentGroup.UWP.Support",
|
||||
"Microsoft.VisualStudio.Component.VC.Tools.ARM64",
|
||||
"Microsoft.VisualStudio.Component.UWP.VC.ARM64",
|
||||
"Microsoft.VisualStudio.Component.VC.Tools.ARM",
|
||||
"Microsoft.VisualStudio.ComponentGroup.UWP.VC",
|
||||
"Microsoft.VisualStudio.Workload.Universal",
|
||||
"Component.OpenJDK",
|
||||
"Microsoft.VisualStudio.Component.MonoDebugger",
|
||||
"Microsoft.VisualStudio.Component.Merq",
|
||||
"Component.Xamarin.RemotedSimulator",
|
||||
"Microsoft.VisualStudio.ComponentGroup.WebToolsExtensions.TemplateEngine",
|
||||
"Component.Xamarin",
|
||||
"Component.Android.SDK28",
|
||||
"Microsoft.VisualStudio.Workload.NetCrossPlat",
|
||||
"Microsoft.VisualStudio.Workload.NetCoreTools",
|
||||
"Microsoft.VisualStudio.ComponentGroup.Maui.All",
|
||||
]
|
||||
}
|
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
"solution": {
|
||||
"path": "SkiaSharpSample.sln",
|
||||
"projects": [
|
||||
"SkiaSharpSample.Shared\\SkiaSharpSample.Shared.shproj",
|
||||
|
||||
"SkiaSharpSample.Mobile\\SkiaSharpSample.Mobile.csproj",
|
||||
|
||||
"SkiaSharpSample.Wasm\\SkiaSharpSample.Wasm.csproj",
|
||||
|
||||
"SkiaSharpSample.Skia.Gtk\\SkiaSharpSample.Skia.Gtk.csproj",
|
||||
]
|
||||
}
|
||||
}
|
|
@ -0,0 +1,156 @@
|
|||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio Version 17
|
||||
VisualStudioVersion = 17.0.32126.317
|
||||
MinimumVisualStudioVersion = 15.0.26124.0
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SkiaSharpSample.Wasm", "SkiaSharpSample.Wasm\SkiaSharpSample.Wasm.csproj", "{40EA03F7-8A22-4143-B251-79BAC3EB13D2}"
|
||||
EndProject
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SkiaSharp.Views.Uno.WinUI.Skia", "..\..\..\source\SkiaSharp.Views.Uno\SkiaSharp.Views.Uno.WinUI.Skia\SkiaSharp.Views.Uno.WinUI.Skia.csproj", "{29D93EBF-DFB0-4ECF-93D1-2FC43149E107}"
|
||||
EndProject
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SkiaSharp.Views.Uno.WinUI.Wasm", "..\..\..\source\SkiaSharp.Views.Uno\SkiaSharp.Views.Uno.WinUI.Wasm\SkiaSharp.Views.Uno.WinUI.Wasm.csproj", "{F7DA6F83-85C5-4FE2-B26A-4D86F95252B8}"
|
||||
EndProject
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SkiaSharp", "..\..\..\binding\SkiaSharp\SkiaSharp.csproj", "{E64FFE5A-989F-4CDB-B2BA-C06B8635479F}"
|
||||
EndProject
|
||||
Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "SkiaSharpSample.Shared", "SkiaSharpSample.Shared\SkiaSharpSample.Shared.shproj", "{C3BC3667-BB67-4B3F-A7F0-053C19AF4D1F}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Debug|ARM = Debug|ARM
|
||||
Debug|ARM64 = Debug|ARM64
|
||||
Debug|iPhone = Debug|iPhone
|
||||
Debug|iPhoneSimulator = Debug|iPhoneSimulator
|
||||
Debug|x64 = Debug|x64
|
||||
Debug|x86 = Debug|x86
|
||||
Release|Any CPU = Release|Any CPU
|
||||
Release|ARM = Release|ARM
|
||||
Release|ARM64 = Release|ARM64
|
||||
Release|iPhone = Release|iPhone
|
||||
Release|iPhoneSimulator = Release|iPhoneSimulator
|
||||
Release|x64 = Release|x64
|
||||
Release|x86 = Release|x86
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{40EA03F7-8A22-4143-B251-79BAC3EB13D2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{40EA03F7-8A22-4143-B251-79BAC3EB13D2}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{40EA03F7-8A22-4143-B251-79BAC3EB13D2}.Debug|ARM.ActiveCfg = Debug|Any CPU
|
||||
{40EA03F7-8A22-4143-B251-79BAC3EB13D2}.Debug|ARM.Build.0 = Debug|Any CPU
|
||||
{40EA03F7-8A22-4143-B251-79BAC3EB13D2}.Debug|ARM64.ActiveCfg = Debug|Any CPU
|
||||
{40EA03F7-8A22-4143-B251-79BAC3EB13D2}.Debug|ARM64.Build.0 = Debug|Any CPU
|
||||
{40EA03F7-8A22-4143-B251-79BAC3EB13D2}.Debug|iPhone.ActiveCfg = Debug|Any CPU
|
||||
{40EA03F7-8A22-4143-B251-79BAC3EB13D2}.Debug|iPhone.Build.0 = Debug|Any CPU
|
||||
{40EA03F7-8A22-4143-B251-79BAC3EB13D2}.Debug|iPhoneSimulator.ActiveCfg = Debug|Any CPU
|
||||
{40EA03F7-8A22-4143-B251-79BAC3EB13D2}.Debug|iPhoneSimulator.Build.0 = Debug|Any CPU
|
||||
{40EA03F7-8A22-4143-B251-79BAC3EB13D2}.Debug|x64.ActiveCfg = Debug|Any CPU
|
||||
{40EA03F7-8A22-4143-B251-79BAC3EB13D2}.Debug|x64.Build.0 = Debug|Any CPU
|
||||
{40EA03F7-8A22-4143-B251-79BAC3EB13D2}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||
{40EA03F7-8A22-4143-B251-79BAC3EB13D2}.Debug|x86.Build.0 = Debug|Any CPU
|
||||
{40EA03F7-8A22-4143-B251-79BAC3EB13D2}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{40EA03F7-8A22-4143-B251-79BAC3EB13D2}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{40EA03F7-8A22-4143-B251-79BAC3EB13D2}.Release|ARM.ActiveCfg = Release|Any CPU
|
||||
{40EA03F7-8A22-4143-B251-79BAC3EB13D2}.Release|ARM.Build.0 = Release|Any CPU
|
||||
{40EA03F7-8A22-4143-B251-79BAC3EB13D2}.Release|ARM64.ActiveCfg = Release|Any CPU
|
||||
{40EA03F7-8A22-4143-B251-79BAC3EB13D2}.Release|ARM64.Build.0 = Release|Any CPU
|
||||
{40EA03F7-8A22-4143-B251-79BAC3EB13D2}.Release|iPhone.ActiveCfg = Release|Any CPU
|
||||
{40EA03F7-8A22-4143-B251-79BAC3EB13D2}.Release|iPhone.Build.0 = Release|Any CPU
|
||||
{40EA03F7-8A22-4143-B251-79BAC3EB13D2}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU
|
||||
{40EA03F7-8A22-4143-B251-79BAC3EB13D2}.Release|iPhoneSimulator.Build.0 = Release|Any CPU
|
||||
{40EA03F7-8A22-4143-B251-79BAC3EB13D2}.Release|x64.ActiveCfg = Release|Any CPU
|
||||
{40EA03F7-8A22-4143-B251-79BAC3EB13D2}.Release|x64.Build.0 = Release|Any CPU
|
||||
{40EA03F7-8A22-4143-B251-79BAC3EB13D2}.Release|x86.ActiveCfg = Release|Any CPU
|
||||
{40EA03F7-8A22-4143-B251-79BAC3EB13D2}.Release|x86.Build.0 = Release|Any CPU
|
||||
{29D93EBF-DFB0-4ECF-93D1-2FC43149E107}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{29D93EBF-DFB0-4ECF-93D1-2FC43149E107}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{29D93EBF-DFB0-4ECF-93D1-2FC43149E107}.Debug|ARM.ActiveCfg = Debug|Any CPU
|
||||
{29D93EBF-DFB0-4ECF-93D1-2FC43149E107}.Debug|ARM.Build.0 = Debug|Any CPU
|
||||
{29D93EBF-DFB0-4ECF-93D1-2FC43149E107}.Debug|ARM64.ActiveCfg = Debug|Any CPU
|
||||
{29D93EBF-DFB0-4ECF-93D1-2FC43149E107}.Debug|ARM64.Build.0 = Debug|Any CPU
|
||||
{29D93EBF-DFB0-4ECF-93D1-2FC43149E107}.Debug|iPhone.ActiveCfg = Debug|Any CPU
|
||||
{29D93EBF-DFB0-4ECF-93D1-2FC43149E107}.Debug|iPhone.Build.0 = Debug|Any CPU
|
||||
{29D93EBF-DFB0-4ECF-93D1-2FC43149E107}.Debug|iPhoneSimulator.ActiveCfg = Debug|Any CPU
|
||||
{29D93EBF-DFB0-4ECF-93D1-2FC43149E107}.Debug|iPhoneSimulator.Build.0 = Debug|Any CPU
|
||||
{29D93EBF-DFB0-4ECF-93D1-2FC43149E107}.Debug|x64.ActiveCfg = Debug|Any CPU
|
||||
{29D93EBF-DFB0-4ECF-93D1-2FC43149E107}.Debug|x64.Build.0 = Debug|Any CPU
|
||||
{29D93EBF-DFB0-4ECF-93D1-2FC43149E107}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||
{29D93EBF-DFB0-4ECF-93D1-2FC43149E107}.Debug|x86.Build.0 = Debug|Any CPU
|
||||
{29D93EBF-DFB0-4ECF-93D1-2FC43149E107}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{29D93EBF-DFB0-4ECF-93D1-2FC43149E107}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{29D93EBF-DFB0-4ECF-93D1-2FC43149E107}.Release|ARM.ActiveCfg = Release|Any CPU
|
||||
{29D93EBF-DFB0-4ECF-93D1-2FC43149E107}.Release|ARM.Build.0 = Release|Any CPU
|
||||
{29D93EBF-DFB0-4ECF-93D1-2FC43149E107}.Release|ARM64.ActiveCfg = Release|Any CPU
|
||||
{29D93EBF-DFB0-4ECF-93D1-2FC43149E107}.Release|ARM64.Build.0 = Release|Any CPU
|
||||
{29D93EBF-DFB0-4ECF-93D1-2FC43149E107}.Release|iPhone.ActiveCfg = Release|Any CPU
|
||||
{29D93EBF-DFB0-4ECF-93D1-2FC43149E107}.Release|iPhone.Build.0 = Release|Any CPU
|
||||
{29D93EBF-DFB0-4ECF-93D1-2FC43149E107}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU
|
||||
{29D93EBF-DFB0-4ECF-93D1-2FC43149E107}.Release|iPhoneSimulator.Build.0 = Release|Any CPU
|
||||
{29D93EBF-DFB0-4ECF-93D1-2FC43149E107}.Release|x64.ActiveCfg = Release|Any CPU
|
||||
{29D93EBF-DFB0-4ECF-93D1-2FC43149E107}.Release|x64.Build.0 = Release|Any CPU
|
||||
{29D93EBF-DFB0-4ECF-93D1-2FC43149E107}.Release|x86.ActiveCfg = Release|Any CPU
|
||||
{29D93EBF-DFB0-4ECF-93D1-2FC43149E107}.Release|x86.Build.0 = Release|Any CPU
|
||||
{F7DA6F83-85C5-4FE2-B26A-4D86F95252B8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{F7DA6F83-85C5-4FE2-B26A-4D86F95252B8}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{F7DA6F83-85C5-4FE2-B26A-4D86F95252B8}.Debug|ARM.ActiveCfg = Debug|Any CPU
|
||||
{F7DA6F83-85C5-4FE2-B26A-4D86F95252B8}.Debug|ARM.Build.0 = Debug|Any CPU
|
||||
{F7DA6F83-85C5-4FE2-B26A-4D86F95252B8}.Debug|ARM64.ActiveCfg = Debug|Any CPU
|
||||
{F7DA6F83-85C5-4FE2-B26A-4D86F95252B8}.Debug|ARM64.Build.0 = Debug|Any CPU
|
||||
{F7DA6F83-85C5-4FE2-B26A-4D86F95252B8}.Debug|iPhone.ActiveCfg = Debug|Any CPU
|
||||
{F7DA6F83-85C5-4FE2-B26A-4D86F95252B8}.Debug|iPhone.Build.0 = Debug|Any CPU
|
||||
{F7DA6F83-85C5-4FE2-B26A-4D86F95252B8}.Debug|iPhoneSimulator.ActiveCfg = Debug|Any CPU
|
||||
{F7DA6F83-85C5-4FE2-B26A-4D86F95252B8}.Debug|iPhoneSimulator.Build.0 = Debug|Any CPU
|
||||
{F7DA6F83-85C5-4FE2-B26A-4D86F95252B8}.Debug|x64.ActiveCfg = Debug|Any CPU
|
||||
{F7DA6F83-85C5-4FE2-B26A-4D86F95252B8}.Debug|x64.Build.0 = Debug|Any CPU
|
||||
{F7DA6F83-85C5-4FE2-B26A-4D86F95252B8}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||
{F7DA6F83-85C5-4FE2-B26A-4D86F95252B8}.Debug|x86.Build.0 = Debug|Any CPU
|
||||
{F7DA6F83-85C5-4FE2-B26A-4D86F95252B8}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{F7DA6F83-85C5-4FE2-B26A-4D86F95252B8}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{F7DA6F83-85C5-4FE2-B26A-4D86F95252B8}.Release|ARM.ActiveCfg = Release|Any CPU
|
||||
{F7DA6F83-85C5-4FE2-B26A-4D86F95252B8}.Release|ARM.Build.0 = Release|Any CPU
|
||||
{F7DA6F83-85C5-4FE2-B26A-4D86F95252B8}.Release|ARM64.ActiveCfg = Release|Any CPU
|
||||
{F7DA6F83-85C5-4FE2-B26A-4D86F95252B8}.Release|ARM64.Build.0 = Release|Any CPU
|
||||
{F7DA6F83-85C5-4FE2-B26A-4D86F95252B8}.Release|iPhone.ActiveCfg = Release|Any CPU
|
||||
{F7DA6F83-85C5-4FE2-B26A-4D86F95252B8}.Release|iPhone.Build.0 = Release|Any CPU
|
||||
{F7DA6F83-85C5-4FE2-B26A-4D86F95252B8}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU
|
||||
{F7DA6F83-85C5-4FE2-B26A-4D86F95252B8}.Release|iPhoneSimulator.Build.0 = Release|Any CPU
|
||||
{F7DA6F83-85C5-4FE2-B26A-4D86F95252B8}.Release|x64.ActiveCfg = Release|Any CPU
|
||||
{F7DA6F83-85C5-4FE2-B26A-4D86F95252B8}.Release|x64.Build.0 = Release|Any CPU
|
||||
{F7DA6F83-85C5-4FE2-B26A-4D86F95252B8}.Release|x86.ActiveCfg = Release|Any CPU
|
||||
{F7DA6F83-85C5-4FE2-B26A-4D86F95252B8}.Release|x86.Build.0 = Release|Any CPU
|
||||
{E64FFE5A-989F-4CDB-B2BA-C06B8635479F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{E64FFE5A-989F-4CDB-B2BA-C06B8635479F}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{E64FFE5A-989F-4CDB-B2BA-C06B8635479F}.Debug|ARM.ActiveCfg = Debug|Any CPU
|
||||
{E64FFE5A-989F-4CDB-B2BA-C06B8635479F}.Debug|ARM.Build.0 = Debug|Any CPU
|
||||
{E64FFE5A-989F-4CDB-B2BA-C06B8635479F}.Debug|ARM64.ActiveCfg = Debug|Any CPU
|
||||
{E64FFE5A-989F-4CDB-B2BA-C06B8635479F}.Debug|ARM64.Build.0 = Debug|Any CPU
|
||||
{E64FFE5A-989F-4CDB-B2BA-C06B8635479F}.Debug|iPhone.ActiveCfg = Debug|Any CPU
|
||||
{E64FFE5A-989F-4CDB-B2BA-C06B8635479F}.Debug|iPhone.Build.0 = Debug|Any CPU
|
||||
{E64FFE5A-989F-4CDB-B2BA-C06B8635479F}.Debug|iPhoneSimulator.ActiveCfg = Debug|Any CPU
|
||||
{E64FFE5A-989F-4CDB-B2BA-C06B8635479F}.Debug|iPhoneSimulator.Build.0 = Debug|Any CPU
|
||||
{E64FFE5A-989F-4CDB-B2BA-C06B8635479F}.Debug|x64.ActiveCfg = Debug|Any CPU
|
||||
{E64FFE5A-989F-4CDB-B2BA-C06B8635479F}.Debug|x64.Build.0 = Debug|Any CPU
|
||||
{E64FFE5A-989F-4CDB-B2BA-C06B8635479F}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||
{E64FFE5A-989F-4CDB-B2BA-C06B8635479F}.Debug|x86.Build.0 = Debug|Any CPU
|
||||
{E64FFE5A-989F-4CDB-B2BA-C06B8635479F}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{E64FFE5A-989F-4CDB-B2BA-C06B8635479F}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{E64FFE5A-989F-4CDB-B2BA-C06B8635479F}.Release|ARM.ActiveCfg = Release|Any CPU
|
||||
{E64FFE5A-989F-4CDB-B2BA-C06B8635479F}.Release|ARM.Build.0 = Release|Any CPU
|
||||
{E64FFE5A-989F-4CDB-B2BA-C06B8635479F}.Release|ARM64.ActiveCfg = Release|Any CPU
|
||||
{E64FFE5A-989F-4CDB-B2BA-C06B8635479F}.Release|ARM64.Build.0 = Release|Any CPU
|
||||
{E64FFE5A-989F-4CDB-B2BA-C06B8635479F}.Release|iPhone.ActiveCfg = Release|Any CPU
|
||||
{E64FFE5A-989F-4CDB-B2BA-C06B8635479F}.Release|iPhone.Build.0 = Release|Any CPU
|
||||
{E64FFE5A-989F-4CDB-B2BA-C06B8635479F}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU
|
||||
{E64FFE5A-989F-4CDB-B2BA-C06B8635479F}.Release|iPhoneSimulator.Build.0 = Release|Any CPU
|
||||
{E64FFE5A-989F-4CDB-B2BA-C06B8635479F}.Release|x64.ActiveCfg = Release|Any CPU
|
||||
{E64FFE5A-989F-4CDB-B2BA-C06B8635479F}.Release|x64.Build.0 = Release|Any CPU
|
||||
{E64FFE5A-989F-4CDB-B2BA-C06B8635479F}.Release|x86.ActiveCfg = Release|Any CPU
|
||||
{E64FFE5A-989F-4CDB-B2BA-C06B8635479F}.Release|x86.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {C7433AE2-B1A0-4C1A-887E-5CAA7AAF67A6}
|
||||
EndGlobalSection
|
||||
GlobalSection(SharedMSBuildProjectFiles) = preSolution
|
||||
SkiaSharpSample.Shared\SkiaSharpSample.Shared.projitems*{40ea03f7-8a22-4143-b251-79bac3eb13d2}*SharedItemsImports = 5
|
||||
SkiaSharpSample.Shared\SkiaSharpSample.Shared.projitems*{c3bc3667-bb67-4b3f-a7f0-053c19af4d1f}*SharedItemsImports = 13
|
||||
EndGlobalSection
|
||||
EndGlobal
|
|
@ -0,0 +1,155 @@
|
|||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio Version 17
|
||||
VisualStudioVersion = 17.0.32126.317
|
||||
MinimumVisualStudioVersion = 15.0.26124.0
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SkiaSharp.Views.Uno.WinUI.Skia", "..\..\..\source\SkiaSharp.Views.Uno\SkiaSharp.Views.Uno.WinUI.Skia\SkiaSharp.Views.Uno.WinUI.Skia.csproj", "{29D93EBF-DFB0-4ECF-93D1-2FC43149E107}"
|
||||
EndProject
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SkiaSharp.Views.Uno.WinUI.Wasm", "..\..\..\source\SkiaSharp.Views.Uno\SkiaSharp.Views.Uno.WinUI.Wasm\SkiaSharp.Views.Uno.WinUI.Wasm.csproj", "{F7DA6F83-85C5-4FE2-B26A-4D86F95252B8}"
|
||||
EndProject
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SkiaSharp", "..\..\..\binding\SkiaSharp\SkiaSharp.csproj", "{E64FFE5A-989F-4CDB-B2BA-C06B8635479F}"
|
||||
EndProject
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SkiaSharp.Views.Uno.WinUI.Mobile", "..\..\..\source\SkiaSharp.Views.Uno\SkiaSharp.Views.Uno.WinUI.Mobile\SkiaSharp.Views.Uno.WinUI.Mobile.csproj", "{482DDA70-C4FD-4CF4-84F6-641DD94426D0}"
|
||||
EndProject
|
||||
Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "SkiaSharpSample.Shared", "SkiaSharpSample.Shared\SkiaSharpSample.Shared.shproj", "{C3BC3667-BB67-4B3F-A7F0-053C19AF4D1F}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Debug|ARM = Debug|ARM
|
||||
Debug|ARM64 = Debug|ARM64
|
||||
Debug|iPhone = Debug|iPhone
|
||||
Debug|iPhoneSimulator = Debug|iPhoneSimulator
|
||||
Debug|x64 = Debug|x64
|
||||
Debug|x86 = Debug|x86
|
||||
Release|Any CPU = Release|Any CPU
|
||||
Release|ARM = Release|ARM
|
||||
Release|ARM64 = Release|ARM64
|
||||
Release|iPhone = Release|iPhone
|
||||
Release|iPhoneSimulator = Release|iPhoneSimulator
|
||||
Release|x64 = Release|x64
|
||||
Release|x86 = Release|x86
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{29D93EBF-DFB0-4ECF-93D1-2FC43149E107}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{29D93EBF-DFB0-4ECF-93D1-2FC43149E107}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{29D93EBF-DFB0-4ECF-93D1-2FC43149E107}.Debug|ARM.ActiveCfg = Debug|Any CPU
|
||||
{29D93EBF-DFB0-4ECF-93D1-2FC43149E107}.Debug|ARM.Build.0 = Debug|Any CPU
|
||||
{29D93EBF-DFB0-4ECF-93D1-2FC43149E107}.Debug|ARM64.ActiveCfg = Debug|Any CPU
|
||||
{29D93EBF-DFB0-4ECF-93D1-2FC43149E107}.Debug|ARM64.Build.0 = Debug|Any CPU
|
||||
{29D93EBF-DFB0-4ECF-93D1-2FC43149E107}.Debug|iPhone.ActiveCfg = Debug|Any CPU
|
||||
{29D93EBF-DFB0-4ECF-93D1-2FC43149E107}.Debug|iPhone.Build.0 = Debug|Any CPU
|
||||
{29D93EBF-DFB0-4ECF-93D1-2FC43149E107}.Debug|iPhoneSimulator.ActiveCfg = Debug|Any CPU
|
||||
{29D93EBF-DFB0-4ECF-93D1-2FC43149E107}.Debug|iPhoneSimulator.Build.0 = Debug|Any CPU
|
||||
{29D93EBF-DFB0-4ECF-93D1-2FC43149E107}.Debug|x64.ActiveCfg = Debug|Any CPU
|
||||
{29D93EBF-DFB0-4ECF-93D1-2FC43149E107}.Debug|x64.Build.0 = Debug|Any CPU
|
||||
{29D93EBF-DFB0-4ECF-93D1-2FC43149E107}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||
{29D93EBF-DFB0-4ECF-93D1-2FC43149E107}.Debug|x86.Build.0 = Debug|Any CPU
|
||||
{29D93EBF-DFB0-4ECF-93D1-2FC43149E107}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{29D93EBF-DFB0-4ECF-93D1-2FC43149E107}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{29D93EBF-DFB0-4ECF-93D1-2FC43149E107}.Release|ARM.ActiveCfg = Release|Any CPU
|
||||
{29D93EBF-DFB0-4ECF-93D1-2FC43149E107}.Release|ARM.Build.0 = Release|Any CPU
|
||||
{29D93EBF-DFB0-4ECF-93D1-2FC43149E107}.Release|ARM64.ActiveCfg = Release|Any CPU
|
||||
{29D93EBF-DFB0-4ECF-93D1-2FC43149E107}.Release|ARM64.Build.0 = Release|Any CPU
|
||||
{29D93EBF-DFB0-4ECF-93D1-2FC43149E107}.Release|iPhone.ActiveCfg = Release|Any CPU
|
||||
{29D93EBF-DFB0-4ECF-93D1-2FC43149E107}.Release|iPhone.Build.0 = Release|Any CPU
|
||||
{29D93EBF-DFB0-4ECF-93D1-2FC43149E107}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU
|
||||
{29D93EBF-DFB0-4ECF-93D1-2FC43149E107}.Release|iPhoneSimulator.Build.0 = Release|Any CPU
|
||||
{29D93EBF-DFB0-4ECF-93D1-2FC43149E107}.Release|x64.ActiveCfg = Release|Any CPU
|
||||
{29D93EBF-DFB0-4ECF-93D1-2FC43149E107}.Release|x64.Build.0 = Release|Any CPU
|
||||
{29D93EBF-DFB0-4ECF-93D1-2FC43149E107}.Release|x86.ActiveCfg = Release|Any CPU
|
||||
{29D93EBF-DFB0-4ECF-93D1-2FC43149E107}.Release|x86.Build.0 = Release|Any CPU
|
||||
{F7DA6F83-85C5-4FE2-B26A-4D86F95252B8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{F7DA6F83-85C5-4FE2-B26A-4D86F95252B8}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{F7DA6F83-85C5-4FE2-B26A-4D86F95252B8}.Debug|ARM.ActiveCfg = Debug|Any CPU
|
||||
{F7DA6F83-85C5-4FE2-B26A-4D86F95252B8}.Debug|ARM.Build.0 = Debug|Any CPU
|
||||
{F7DA6F83-85C5-4FE2-B26A-4D86F95252B8}.Debug|ARM64.ActiveCfg = Debug|Any CPU
|
||||
{F7DA6F83-85C5-4FE2-B26A-4D86F95252B8}.Debug|ARM64.Build.0 = Debug|Any CPU
|
||||
{F7DA6F83-85C5-4FE2-B26A-4D86F95252B8}.Debug|iPhone.ActiveCfg = Debug|Any CPU
|
||||
{F7DA6F83-85C5-4FE2-B26A-4D86F95252B8}.Debug|iPhone.Build.0 = Debug|Any CPU
|
||||
{F7DA6F83-85C5-4FE2-B26A-4D86F95252B8}.Debug|iPhoneSimulator.ActiveCfg = Debug|Any CPU
|
||||
{F7DA6F83-85C5-4FE2-B26A-4D86F95252B8}.Debug|iPhoneSimulator.Build.0 = Debug|Any CPU
|
||||
{F7DA6F83-85C5-4FE2-B26A-4D86F95252B8}.Debug|x64.ActiveCfg = Debug|Any CPU
|
||||
{F7DA6F83-85C5-4FE2-B26A-4D86F95252B8}.Debug|x64.Build.0 = Debug|Any CPU
|
||||
{F7DA6F83-85C5-4FE2-B26A-4D86F95252B8}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||
{F7DA6F83-85C5-4FE2-B26A-4D86F95252B8}.Debug|x86.Build.0 = Debug|Any CPU
|
||||
{F7DA6F83-85C5-4FE2-B26A-4D86F95252B8}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{F7DA6F83-85C5-4FE2-B26A-4D86F95252B8}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{F7DA6F83-85C5-4FE2-B26A-4D86F95252B8}.Release|ARM.ActiveCfg = Release|Any CPU
|
||||
{F7DA6F83-85C5-4FE2-B26A-4D86F95252B8}.Release|ARM.Build.0 = Release|Any CPU
|
||||
{F7DA6F83-85C5-4FE2-B26A-4D86F95252B8}.Release|ARM64.ActiveCfg = Release|Any CPU
|
||||
{F7DA6F83-85C5-4FE2-B26A-4D86F95252B8}.Release|ARM64.Build.0 = Release|Any CPU
|
||||
{F7DA6F83-85C5-4FE2-B26A-4D86F95252B8}.Release|iPhone.ActiveCfg = Release|Any CPU
|
||||
{F7DA6F83-85C5-4FE2-B26A-4D86F95252B8}.Release|iPhone.Build.0 = Release|Any CPU
|
||||
{F7DA6F83-85C5-4FE2-B26A-4D86F95252B8}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU
|
||||
{F7DA6F83-85C5-4FE2-B26A-4D86F95252B8}.Release|iPhoneSimulator.Build.0 = Release|Any CPU
|
||||
{F7DA6F83-85C5-4FE2-B26A-4D86F95252B8}.Release|x64.ActiveCfg = Release|Any CPU
|
||||
{F7DA6F83-85C5-4FE2-B26A-4D86F95252B8}.Release|x64.Build.0 = Release|Any CPU
|
||||
{F7DA6F83-85C5-4FE2-B26A-4D86F95252B8}.Release|x86.ActiveCfg = Release|Any CPU
|
||||
{F7DA6F83-85C5-4FE2-B26A-4D86F95252B8}.Release|x86.Build.0 = Release|Any CPU
|
||||
{E64FFE5A-989F-4CDB-B2BA-C06B8635479F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{E64FFE5A-989F-4CDB-B2BA-C06B8635479F}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{E64FFE5A-989F-4CDB-B2BA-C06B8635479F}.Debug|ARM.ActiveCfg = Debug|Any CPU
|
||||
{E64FFE5A-989F-4CDB-B2BA-C06B8635479F}.Debug|ARM.Build.0 = Debug|Any CPU
|
||||
{E64FFE5A-989F-4CDB-B2BA-C06B8635479F}.Debug|ARM64.ActiveCfg = Debug|Any CPU
|
||||
{E64FFE5A-989F-4CDB-B2BA-C06B8635479F}.Debug|ARM64.Build.0 = Debug|Any CPU
|
||||
{E64FFE5A-989F-4CDB-B2BA-C06B8635479F}.Debug|iPhone.ActiveCfg = Debug|Any CPU
|
||||
{E64FFE5A-989F-4CDB-B2BA-C06B8635479F}.Debug|iPhone.Build.0 = Debug|Any CPU
|
||||
{E64FFE5A-989F-4CDB-B2BA-C06B8635479F}.Debug|iPhoneSimulator.ActiveCfg = Debug|Any CPU
|
||||
{E64FFE5A-989F-4CDB-B2BA-C06B8635479F}.Debug|iPhoneSimulator.Build.0 = Debug|Any CPU
|
||||
{E64FFE5A-989F-4CDB-B2BA-C06B8635479F}.Debug|x64.ActiveCfg = Debug|Any CPU
|
||||
{E64FFE5A-989F-4CDB-B2BA-C06B8635479F}.Debug|x64.Build.0 = Debug|Any CPU
|
||||
{E64FFE5A-989F-4CDB-B2BA-C06B8635479F}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||
{E64FFE5A-989F-4CDB-B2BA-C06B8635479F}.Debug|x86.Build.0 = Debug|Any CPU
|
||||
{E64FFE5A-989F-4CDB-B2BA-C06B8635479F}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{E64FFE5A-989F-4CDB-B2BA-C06B8635479F}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{E64FFE5A-989F-4CDB-B2BA-C06B8635479F}.Release|ARM.ActiveCfg = Release|Any CPU
|
||||
{E64FFE5A-989F-4CDB-B2BA-C06B8635479F}.Release|ARM.Build.0 = Release|Any CPU
|
||||
{E64FFE5A-989F-4CDB-B2BA-C06B8635479F}.Release|ARM64.ActiveCfg = Release|Any CPU
|
||||
{E64FFE5A-989F-4CDB-B2BA-C06B8635479F}.Release|ARM64.Build.0 = Release|Any CPU
|
||||
{E64FFE5A-989F-4CDB-B2BA-C06B8635479F}.Release|iPhone.ActiveCfg = Release|Any CPU
|
||||
{E64FFE5A-989F-4CDB-B2BA-C06B8635479F}.Release|iPhone.Build.0 = Release|Any CPU
|
||||
{E64FFE5A-989F-4CDB-B2BA-C06B8635479F}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU
|
||||
{E64FFE5A-989F-4CDB-B2BA-C06B8635479F}.Release|iPhoneSimulator.Build.0 = Release|Any CPU
|
||||
{E64FFE5A-989F-4CDB-B2BA-C06B8635479F}.Release|x64.ActiveCfg = Release|Any CPU
|
||||
{E64FFE5A-989F-4CDB-B2BA-C06B8635479F}.Release|x64.Build.0 = Release|Any CPU
|
||||
{E64FFE5A-989F-4CDB-B2BA-C06B8635479F}.Release|x86.ActiveCfg = Release|Any CPU
|
||||
{E64FFE5A-989F-4CDB-B2BA-C06B8635479F}.Release|x86.Build.0 = Release|Any CPU
|
||||
{482DDA70-C4FD-4CF4-84F6-641DD94426D0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{482DDA70-C4FD-4CF4-84F6-641DD94426D0}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{482DDA70-C4FD-4CF4-84F6-641DD94426D0}.Debug|ARM.ActiveCfg = Debug|Any CPU
|
||||
{482DDA70-C4FD-4CF4-84F6-641DD94426D0}.Debug|ARM.Build.0 = Debug|Any CPU
|
||||
{482DDA70-C4FD-4CF4-84F6-641DD94426D0}.Debug|ARM64.ActiveCfg = Debug|Any CPU
|
||||
{482DDA70-C4FD-4CF4-84F6-641DD94426D0}.Debug|ARM64.Build.0 = Debug|Any CPU
|
||||
{482DDA70-C4FD-4CF4-84F6-641DD94426D0}.Debug|iPhone.ActiveCfg = Debug|Any CPU
|
||||
{482DDA70-C4FD-4CF4-84F6-641DD94426D0}.Debug|iPhone.Build.0 = Debug|Any CPU
|
||||
{482DDA70-C4FD-4CF4-84F6-641DD94426D0}.Debug|iPhoneSimulator.ActiveCfg = Debug|Any CPU
|
||||
{482DDA70-C4FD-4CF4-84F6-641DD94426D0}.Debug|iPhoneSimulator.Build.0 = Debug|Any CPU
|
||||
{482DDA70-C4FD-4CF4-84F6-641DD94426D0}.Debug|x64.ActiveCfg = Debug|Any CPU
|
||||
{482DDA70-C4FD-4CF4-84F6-641DD94426D0}.Debug|x64.Build.0 = Debug|Any CPU
|
||||
{482DDA70-C4FD-4CF4-84F6-641DD94426D0}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||
{482DDA70-C4FD-4CF4-84F6-641DD94426D0}.Debug|x86.Build.0 = Debug|Any CPU
|
||||
{482DDA70-C4FD-4CF4-84F6-641DD94426D0}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{482DDA70-C4FD-4CF4-84F6-641DD94426D0}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{482DDA70-C4FD-4CF4-84F6-641DD94426D0}.Release|ARM.ActiveCfg = Release|Any CPU
|
||||
{482DDA70-C4FD-4CF4-84F6-641DD94426D0}.Release|ARM.Build.0 = Release|Any CPU
|
||||
{482DDA70-C4FD-4CF4-84F6-641DD94426D0}.Release|ARM64.ActiveCfg = Release|Any CPU
|
||||
{482DDA70-C4FD-4CF4-84F6-641DD94426D0}.Release|ARM64.Build.0 = Release|Any CPU
|
||||
{482DDA70-C4FD-4CF4-84F6-641DD94426D0}.Release|iPhone.ActiveCfg = Release|Any CPU
|
||||
{482DDA70-C4FD-4CF4-84F6-641DD94426D0}.Release|iPhone.Build.0 = Release|Any CPU
|
||||
{482DDA70-C4FD-4CF4-84F6-641DD94426D0}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU
|
||||
{482DDA70-C4FD-4CF4-84F6-641DD94426D0}.Release|iPhoneSimulator.Build.0 = Release|Any CPU
|
||||
{482DDA70-C4FD-4CF4-84F6-641DD94426D0}.Release|x64.ActiveCfg = Release|Any CPU
|
||||
{482DDA70-C4FD-4CF4-84F6-641DD94426D0}.Release|x64.Build.0 = Release|Any CPU
|
||||
{482DDA70-C4FD-4CF4-84F6-641DD94426D0}.Release|x86.ActiveCfg = Release|Any CPU
|
||||
{482DDA70-C4FD-4CF4-84F6-641DD94426D0}.Release|x86.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {C7433AE2-B1A0-4C1A-887E-5CAA7AAF67A6}
|
||||
EndGlobalSection
|
||||
GlobalSection(SharedMSBuildProjectFiles) = preSolution
|
||||
SkiaSharpSample.Shared\SkiaSharpSample.Shared.projitems*{c3bc3667-bb67-4b3f-a7f0-053c19af4d1f}*SharedItemsImports = 13
|
||||
EndGlobalSection
|
||||
EndGlobal
|
|
@ -0,0 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="SkiaSharpSample" android:versionCode="1" android:versionName="1.0">
|
||||
<uses-sdk android:minSdkVersion="16" android:targetSdkVersion="30" />
|
||||
<application android:label="SkiaSharpSample"></application>
|
||||
</manifest>
|
|
@ -0,0 +1,22 @@
|
|||
To add cross-platform image assets for your Uno Platform app, use the Assets folder
|
||||
in the shared project instead. Assets in this folder are Android-only assets.
|
||||
|
||||
Any raw assets you want to be deployed with your application can be placed in
|
||||
this directory (and child directories) and given a Build Action of "AndroidAsset".
|
||||
|
||||
These files will be deployed with you package and will be accessible using Android's
|
||||
AssetManager, like this:
|
||||
|
||||
public class ReadAsset : Activity
|
||||
{
|
||||
protected override void OnCreate (Bundle bundle)
|
||||
{
|
||||
base.OnCreate (bundle);
|
||||
|
||||
InputStream input = Assets.Open ("my_asset.txt");
|
||||
}
|
||||
}
|
||||
|
||||
Additionally, some Android functions will automatically load asset files:
|
||||
|
||||
Typeface tf = Typeface.CreateFromAsset (Context.Assets, "fonts/samplefont.ttf");
|
Двоичные данные
samples/Basic/Uno.WinUI/SkiaSharpSample.Mobile/Android/Assets/Fonts/uno-fluentui-assets.ttf
Normal file
|
@ -0,0 +1,43 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using Android.App;
|
||||
using Android.Content;
|
||||
using Android.OS;
|
||||
using Android.Runtime;
|
||||
using Android.Views;
|
||||
using Android.Widget;
|
||||
using Com.Nostra13.Universalimageloader.Core;
|
||||
using Microsoft.UI.Xaml.Media;
|
||||
|
||||
namespace SkiaSharpSample.Droid
|
||||
{
|
||||
[global::Android.App.ApplicationAttribute(
|
||||
Label = "@string/ApplicationName",
|
||||
Icon = "@mipmap/icon",
|
||||
LargeHeap = true,
|
||||
HardwareAccelerated = true,
|
||||
Theme = "@style/AppTheme"
|
||||
)]
|
||||
public class Application : Microsoft.UI.Xaml.NativeApplication
|
||||
{
|
||||
public Application(IntPtr javaReference, JniHandleOwnership transfer)
|
||||
: base(() => new App(), javaReference, transfer)
|
||||
{
|
||||
ConfigureUniversalImageLoader();
|
||||
}
|
||||
|
||||
private static void ConfigureUniversalImageLoader()
|
||||
{
|
||||
// Create global configuration and initialize ImageLoader with this config
|
||||
ImageLoaderConfiguration config = new ImageLoaderConfiguration
|
||||
.Builder(Context)
|
||||
.Build();
|
||||
|
||||
ImageLoader.Instance.Init(config);
|
||||
|
||||
ImageSource.DefaultImageLoader = ImageLoader.Instance.LoadImageAsync;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,18 @@
|
|||
using Android.App;
|
||||
using Android.Widget;
|
||||
using Android.OS;
|
||||
using Android.Content.PM;
|
||||
using Android.Views;
|
||||
|
||||
namespace SkiaSharpSample
|
||||
{
|
||||
[Activity(
|
||||
MainLauncher = true,
|
||||
ConfigurationChanges = global::Uno.UI.ActivityHelper.AllConfigChanges,
|
||||
WindowSoftInputMode = SoftInput.AdjustPan | SoftInput.StateHidden
|
||||
)]
|
||||
public class MainActivity : Microsoft.UI.Xaml.ApplicationActivity
|
||||
{
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,47 @@
|
|||
To add cross-platform image assets for your Uno Platform app, use the Assets folder
|
||||
in the shared project instead. Resources in this folder are Android-only.
|
||||
|
||||
Images, layout descriptions, binary blobs and string dictionaries can be included
|
||||
in your application as resource files. Various Android APIs are designed to
|
||||
operate on the resource IDs instead of dealing with images, strings or binary blobs
|
||||
directly.
|
||||
|
||||
For example, a sample Android app that contains a user interface layout (main.axml),
|
||||
an internationalization string table (strings.xml) and some icons (drawable-XXX/icon.png)
|
||||
would keep its resources in the "Resources" directory of the application:
|
||||
|
||||
Resources/
|
||||
drawable/
|
||||
icon.png
|
||||
|
||||
layout/
|
||||
main.axml
|
||||
|
||||
values/
|
||||
strings.xml
|
||||
|
||||
In order to get the build system to recognize Android resources, set the build action to
|
||||
"AndroidResource". The native Android APIs do not operate directly with filenames, but
|
||||
instead operate on resource IDs. When you compile an Android application that uses resources,
|
||||
the build system will package the resources for distribution and generate a class called "R"
|
||||
(this is an Android convention) that contains the tokens for each one of the resources
|
||||
included. For example, for the above Resources layout, this is what the R class would expose:
|
||||
|
||||
public class R {
|
||||
public class drawable {
|
||||
public const int icon = 0x123;
|
||||
}
|
||||
|
||||
public class layout {
|
||||
public const int main = 0x456;
|
||||
}
|
||||
|
||||
public class strings {
|
||||
public const int first_string = 0xabc;
|
||||
public const int second_string = 0xbcd;
|
||||
}
|
||||
}
|
||||
|
||||
You would then use R.drawable.icon to reference the drawable/icon.png file, or R.layout.main
|
||||
to reference the layout/main.axml file, or R.strings.first_string to reference the first
|
||||
string in the dictionary file values/strings.xml.
|
Двоичные данные
samples/Basic/Uno.WinUI/SkiaSharpSample.Mobile/Android/Resources/mipmap-hdpi/icon.png
Normal file
После Ширина: | Высота: | Размер: 2.5 KiB |
Двоичные данные
samples/Basic/Uno.WinUI/SkiaSharpSample.Mobile/Android/Resources/mipmap-ldpi/icon.png
Normal file
После Ширина: | Высота: | Размер: 1.2 KiB |
Двоичные данные
samples/Basic/Uno.WinUI/SkiaSharpSample.Mobile/Android/Resources/mipmap-mdpi/icon.png
Normal file
После Ширина: | Высота: | Размер: 1.7 KiB |
Двоичные данные
samples/Basic/Uno.WinUI/SkiaSharpSample.Mobile/Android/Resources/mipmap-tvdpi/icon.png
Normal file
После Ширина: | Высота: | Размер: 2.4 KiB |
Двоичные данные
samples/Basic/Uno.WinUI/SkiaSharpSample.Mobile/Android/Resources/mipmap-xhdpi/icon.png
Normal file
После Ширина: | Высота: | Размер: 3.5 KiB |
Двоичные данные
samples/Basic/Uno.WinUI/SkiaSharpSample.Mobile/Android/Resources/mipmap-xxhdpi/icon.png
Normal file
После Ширина: | Высота: | Размер: 5.0 KiB |
Двоичные данные
samples/Basic/Uno.WinUI/SkiaSharpSample.Mobile/Android/Resources/mipmap-xxxhdpi/icon.png
Normal file
После Ширина: | Высота: | Размер: 7.3 KiB |
|
@ -0,0 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<string name="Hello">Hello World, Click Me!</string>
|
||||
<string name="ApplicationName">SkiaSharpSample</string>
|
||||
</resources>
|
|
@ -0,0 +1,17 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<resources>
|
||||
<style name="AppTheme" parent="Theme.AppCompat.Light">
|
||||
|
||||
<!-- This removes the ActionBar -->
|
||||
<item name="windowActionBar">false</item>
|
||||
<item name="android:windowActionBar">false</item>
|
||||
<item name="windowNoTitle">true</item>
|
||||
<item name="android:windowNoTitle">true</item>
|
||||
|
||||
</style>
|
||||
<style name="Theme.AppCompat.Translucent">
|
||||
<item name="android:windowIsTranslucent">true</item>
|
||||
<item name="android:windowAnimationStyle">@android:style/Animation</item>
|
||||
</style>
|
||||
|
||||
</resources>
|
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
</dict>
|
||||
</plist>
|
|
@ -0,0 +1,34 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>CFBundleDisplayName</key>
|
||||
<string>SkiaSharpSample</string>
|
||||
<key>CFBundleIdentifier</key>
|
||||
<string>com.companyname.changeme</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>1.0</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>1.0</string>
|
||||
<key>LSMinimumSystemVersion</key>
|
||||
<string>10.15.1</string>
|
||||
<key>UIDeviceFamily</key>
|
||||
<array>
|
||||
<integer>2</integer>
|
||||
</array>
|
||||
<key>UILaunchStoryboardName</key>
|
||||
<string>LaunchScreen</string>
|
||||
<key>UISupportedInterfaceOrientations</key>
|
||||
<array>
|
||||
<string>UIInterfaceOrientationPortrait</string>
|
||||
<string>UIInterfaceOrientationLandscapeLeft</string>
|
||||
<string>UIInterfaceOrientationLandscapeRight</string>
|
||||
</array>
|
||||
<key>XSAppIconAssets</key>
|
||||
<string>Media.xcassets/AppIcon.appiconset</string>
|
||||
<key>UIAppFonts</key>
|
||||
<array>
|
||||
<string>Fonts/uno-fluentui-assets.ttf</string>
|
||||
</array>
|
||||
</dict>
|
||||
</plist>
|
|
@ -0,0 +1,52 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="11762" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" colorMatched="YES" initialViewController="5" launchScreen="YES">
|
||||
<dependencies>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="11757"/>
|
||||
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
||||
</dependencies>
|
||||
<scenes>
|
||||
<scene sceneID="4">
|
||||
<objects>
|
||||
<viewController id="5" sceneMemberID="viewController">
|
||||
<layoutGuides>
|
||||
<viewControllerLayoutGuide type="top" id="2"/>
|
||||
<viewControllerLayoutGuide type="bottom" id="3"/>
|
||||
</layoutGuides>
|
||||
<view contentMode="scaleToFill" id="55" key="view">
|
||||
<rect key="frame" x="0.0" y="0.0" width="320" height="480"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||
<color key="backgroundColor" colorSpace="custom" customColorSpace="sRGB" red="1" green="1" blue="1" alpha="1"/>
|
||||
<subviews>
|
||||
<imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" id="56" translatesAutoresizingMaskIntoConstraints="NO" image="SplashScreen.png">
|
||||
<rect key="frame" x="58" y="120" width="204" height="242"/>
|
||||
<constraints>
|
||||
<constraint id="91" firstItem="56" firstAttribute="width" constant="204"/>
|
||||
<constraint id="92" firstItem="56" firstAttribute="height" constant="242"/>
|
||||
</constraints>
|
||||
</imageView>
|
||||
</subviews>
|
||||
<constraints>
|
||||
<constraint id="80" firstItem="55" firstAttribute="centerY" secondItem="56" secondAttribute="centerY" constant="0"/>
|
||||
<constraint id="81" firstItem="55" firstAttribute="centerX" secondItem="56" secondAttribute="centerX" constant="0"/>
|
||||
</constraints>
|
||||
</view>
|
||||
</viewController>
|
||||
<placeholder placeholderIdentifier="IBFirstResponder" id="7" userLabel="First Responder" sceneMemberID="firstResponder"/>
|
||||
</objects>
|
||||
<point key="canvasLocation" x="-300" y="-555"/>
|
||||
</scene>
|
||||
</scenes>
|
||||
<resources>
|
||||
<image name="iPhone-40x40@3x.png" width="40" height="40"/>
|
||||
<image name="iPhone-60x60@2x.png" width="60" height="60"/>
|
||||
<image name="iPad-76x76@2x.png" width="76" height="76"/>
|
||||
<image name="iPhone-40x40@3x.png" width="40" height="40"/>
|
||||
<image name="Icon-Small.png" width="29" height="29"/>
|
||||
<image name="SplashScreen.png" width="620" height="300"/>
|
||||
</resources>
|
||||
<simulatedMetricsContainer key="defaultSimulatedMetrics">
|
||||
<simulatedStatusBarMetrics key="statusBar"/>
|
||||
<simulatedOrientationMetrics key="orientation"/>
|
||||
<simulatedScreenMetrics key="destination"/>
|
||||
</simulatedMetricsContainer>
|
||||
</document>
|
|
@ -0,0 +1,15 @@
|
|||
using UIKit;
|
||||
|
||||
namespace SkiaSharpSample
|
||||
{
|
||||
public class EntryPoint
|
||||
{
|
||||
// This is the main entry point of the application.
|
||||
static void Main(string[] args)
|
||||
{
|
||||
// if you want to use a different Application Delegate class from "AppDelegate"
|
||||
// you can specify it here.
|
||||
UIApplication.Main(args, null, typeof(App));
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,117 @@
|
|||
{
|
||||
"images": [
|
||||
{
|
||||
"scale": "2x",
|
||||
"size": "29x29",
|
||||
"idiom": "iphone",
|
||||
"filename": "Icon58.png"
|
||||
},
|
||||
{
|
||||
"scale": "3x",
|
||||
"size": "29x29",
|
||||
"idiom": "iphone",
|
||||
"filename": "Icon87.png"
|
||||
},
|
||||
{
|
||||
"scale": "2x",
|
||||
"size": "40x40",
|
||||
"idiom": "iphone",
|
||||
"filename": "Icon80.png"
|
||||
},
|
||||
{
|
||||
"scale": "3x",
|
||||
"size": "60x60",
|
||||
"idiom": "iphone",
|
||||
"filename": "Icon180.png"
|
||||
},
|
||||
{
|
||||
"scale": "1x",
|
||||
"size": "20x20",
|
||||
"idiom": "ipad",
|
||||
"filename": "Icon20.png"
|
||||
},
|
||||
{
|
||||
"scale": "2x",
|
||||
"size": "20x20",
|
||||
"idiom": "ipad",
|
||||
"filename": "Icon40.png"
|
||||
},
|
||||
{
|
||||
"scale": "1x",
|
||||
"size": "29x29",
|
||||
"idiom": "ipad",
|
||||
"filename": "Icon29.png"
|
||||
},
|
||||
{
|
||||
"scale": "2x",
|
||||
"size": "29x29",
|
||||
"idiom": "ipad",
|
||||
"filename": "Icon58.png"
|
||||
},
|
||||
{
|
||||
"scale": "1x",
|
||||
"size": "40x40",
|
||||
"idiom": "ipad",
|
||||
"filename": "Icon40.png"
|
||||
},
|
||||
{
|
||||
"scale": "2x",
|
||||
"size": "40x40",
|
||||
"idiom": "ipad",
|
||||
"filename": "Icon80.png"
|
||||
},
|
||||
{
|
||||
"scale": "1x",
|
||||
"size": "76x76",
|
||||
"idiom": "ipad",
|
||||
"filename": "Icon76.png"
|
||||
},
|
||||
{
|
||||
"scale": "2x",
|
||||
"size": "20x20",
|
||||
"idiom": "iphone",
|
||||
"filename": "Icon40.png"
|
||||
},
|
||||
{
|
||||
"scale": "3x",
|
||||
"size": "20x20",
|
||||
"idiom": "iphone",
|
||||
"filename": "Icon60.png"
|
||||
},
|
||||
{
|
||||
"scale": "3x",
|
||||
"size": "40x40",
|
||||
"idiom": "iphone",
|
||||
"filename": "Icon120.png"
|
||||
},
|
||||
{
|
||||
"scale": "2x",
|
||||
"size": "60x60",
|
||||
"idiom": "iphone",
|
||||
"filename": "Icon120.png"
|
||||
},
|
||||
{
|
||||
"scale": "2x",
|
||||
"size": "76x76",
|
||||
"idiom": "ipad",
|
||||
"filename": "Icon152.png"
|
||||
},
|
||||
{
|
||||
"scale": "2x",
|
||||
"size": "83.5x83.5",
|
||||
"idiom": "ipad",
|
||||
"filename": "Icon167.png"
|
||||
},
|
||||
{
|
||||
"scale": "1x",
|
||||
"size": "1024x1024",
|
||||
"idiom": "ios-marketing",
|
||||
"filename": "Icon1024.png"
|
||||
}
|
||||
],
|
||||
"properties": {},
|
||||
"info": {
|
||||
"version": 1,
|
||||
"author": "xcode"
|
||||
}
|
||||
}
|
Двоичные данные
samples/Basic/Uno.WinUI/SkiaSharpSample.Mobile/MacCatalyst/Media.xcassets/AppIcons.appiconset/Icon1024.png
Normal file
После Ширина: | Высота: | Размер: 35 KiB |
Двоичные данные
samples/Basic/Uno.WinUI/SkiaSharpSample.Mobile/MacCatalyst/Media.xcassets/AppIcons.appiconset/Icon120.png
Normal file
После Ширина: | Высота: | Размер: 3.8 KiB |
Двоичные данные
samples/Basic/Uno.WinUI/SkiaSharpSample.Mobile/MacCatalyst/Media.xcassets/AppIcons.appiconset/Icon152.png
Normal file
После Ширина: | Высота: | Размер: 4.8 KiB |
Двоичные данные
samples/Basic/Uno.WinUI/SkiaSharpSample.Mobile/MacCatalyst/Media.xcassets/AppIcons.appiconset/Icon167.png
Normal file
После Ширина: | Высота: | Размер: 5.4 KiB |
Двоичные данные
samples/Basic/Uno.WinUI/SkiaSharpSample.Mobile/MacCatalyst/Media.xcassets/AppIcons.appiconset/Icon180.png
Normal file
После Ширина: | Высота: | Размер: 5.7 KiB |
Двоичные данные
samples/Basic/Uno.WinUI/SkiaSharpSample.Mobile/MacCatalyst/Media.xcassets/AppIcons.appiconset/Icon20.png
Normal file
После Ширина: | Высота: | Размер: 590 B |
Двоичные данные
samples/Basic/Uno.WinUI/SkiaSharpSample.Mobile/MacCatalyst/Media.xcassets/AppIcons.appiconset/Icon29.png
Normal file
После Ширина: | Высота: | Размер: 900 B |
Двоичные данные
samples/Basic/Uno.WinUI/SkiaSharpSample.Mobile/MacCatalyst/Media.xcassets/AppIcons.appiconset/Icon40.png
Normal file
После Ширина: | Высота: | Размер: 1.3 KiB |
Двоичные данные
samples/Basic/Uno.WinUI/SkiaSharpSample.Mobile/MacCatalyst/Media.xcassets/AppIcons.appiconset/Icon58.png
Normal file
После Ширина: | Высота: | Размер: 2.1 KiB |
Двоичные данные
samples/Basic/Uno.WinUI/SkiaSharpSample.Mobile/MacCatalyst/Media.xcassets/AppIcons.appiconset/Icon60.png
Normal file
После Ширина: | Высота: | Размер: 2.2 KiB |
Двоичные данные
samples/Basic/Uno.WinUI/SkiaSharpSample.Mobile/MacCatalyst/Media.xcassets/AppIcons.appiconset/Icon76.png
Normal file
После Ширина: | Высота: | Размер: 2.5 KiB |
Двоичные данные
samples/Basic/Uno.WinUI/SkiaSharpSample.Mobile/MacCatalyst/Media.xcassets/AppIcons.appiconset/Icon80.png
Normal file
После Ширина: | Высота: | Размер: 2.6 KiB |
Двоичные данные
samples/Basic/Uno.WinUI/SkiaSharpSample.Mobile/MacCatalyst/Media.xcassets/AppIcons.appiconset/Icon87.png
Normal file
После Ширина: | Высота: | Размер: 3.0 KiB |
|
@ -0,0 +1,58 @@
|
|||
{
|
||||
"images": [
|
||||
{
|
||||
"orientation": "portrait",
|
||||
"extent": "full-screen",
|
||||
"minimum-system-version": "7.0",
|
||||
"scale": "2x",
|
||||
"size": "640x960",
|
||||
"idiom": "iphone"
|
||||
},
|
||||
{
|
||||
"orientation": "portrait",
|
||||
"extent": "full-screen",
|
||||
"minimum-system-version": "7.0",
|
||||
"subtype": "retina4",
|
||||
"scale": "2x",
|
||||
"size": "640x1136",
|
||||
"idiom": "iphone"
|
||||
},
|
||||
{
|
||||
"orientation": "portrait",
|
||||
"extent": "full-screen",
|
||||
"minimum-system-version": "7.0",
|
||||
"scale": "1x",
|
||||
"size": "768x1024",
|
||||
"idiom": "ipad"
|
||||
},
|
||||
{
|
||||
"orientation": "landscape",
|
||||
"extent": "full-screen",
|
||||
"minimum-system-version": "7.0",
|
||||
"scale": "1x",
|
||||
"size": "1024x768",
|
||||
"idiom": "ipad"
|
||||
},
|
||||
{
|
||||
"orientation": "portrait",
|
||||
"extent": "full-screen",
|
||||
"minimum-system-version": "7.0",
|
||||
"scale": "2x",
|
||||
"size": "1536x2048",
|
||||
"idiom": "ipad"
|
||||
},
|
||||
{
|
||||
"orientation": "landscape",
|
||||
"extent": "full-screen",
|
||||
"minimum-system-version": "7.0",
|
||||
"scale": "2x",
|
||||
"size": "2048x1536",
|
||||
"idiom": "ipad"
|
||||
}
|
||||
],
|
||||
"properties": {},
|
||||
"info": {
|
||||
"version": 1,
|
||||
"author": ""
|
||||
}
|
||||
}
|
Двоичные данные
samples/Basic/Uno.WinUI/SkiaSharpSample.Mobile/MacCatalyst/Resources/Default-568h@2x.png
Normal file
После Ширина: | Высота: | Размер: 2.2 KiB |
Двоичные данные
samples/Basic/Uno.WinUI/SkiaSharpSample.Mobile/MacCatalyst/Resources/Fonts/uno-fluentui-assets.ttf
Normal file
Двоичные данные
samples/Basic/Uno.WinUI/SkiaSharpSample.Mobile/MacCatalyst/Resources/SplashScreen@2x.png
Normal file
После Ширина: | Высота: | Размер: 36 KiB |
Двоичные данные
samples/Basic/Uno.WinUI/SkiaSharpSample.Mobile/MacCatalyst/Resources/SplashScreen@3x.png
Normal file
После Ширина: | Высота: | Размер: 58 KiB |
|
@ -0,0 +1,50 @@
|
|||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<TargetFrameworks>net6.0-android;net6.0-ios;net6.0-maccatalyst;net6.0-macos</TargetFrameworks>
|
||||
<SingleProject>true</SingleProject>
|
||||
<OutputType>Exe</OutputType>
|
||||
<EnablePreviewMsixTooling>true</EnablePreviewMsixTooling>
|
||||
<RootNamespace>SkiaSharpSample</RootNamespace>
|
||||
<ApplicationTitle>SkiaSharpSample</ApplicationTitle>
|
||||
<ApplicationId>com.companyname.SkiaSharpSample</ApplicationId>
|
||||
<ApplicationVersion>1</ApplicationVersion>
|
||||
<ApplicationDisplayVersion>1.0</ApplicationDisplayVersion>
|
||||
<RuntimeIdentifier Condition="'$(TargetFramework)' == 'net6.0-ios'">iossimulator-x64</RuntimeIdentifier>
|
||||
<RuntimeIdentifier Condition="'$(TargetFramework)' == 'net6.0-maccatalyst'">maccatalyst-x64</RuntimeIdentifier>
|
||||
<RuntimeIdentifier Condition="'$(TargetFramework)' == 'net6.0-macos'">osx-x64</RuntimeIdentifier>
|
||||
<InvariantGlobalization Condition="'$(TargetFramework)' == 'net6.0-maccatalyst'">true</InvariantGlobalization>
|
||||
<!-- Debugger workaround https://github.com/dotnet/maui-samples/blob/8aa6b8780b12e97b157514c3bdc54bb4a13001cd/HelloMacCatalyst/HelloMacCatalyst.csproj#L7 -->
|
||||
<!-- <MtouchExtraArgs Condition="'$(TargetFramework)' == 'net6.0-maccatalyst'">$(MtouchExtraArgs) -setenv:MONO_THREADS_SUSPEND=preemptive</MtouchExtraArgs> -->
|
||||
<!-- Required for C# Hot Reload -->
|
||||
<UseInterpreter Condition="'$(Configuration)' == 'Debug'">True</UseInterpreter>
|
||||
<IsUnoHead>true</IsUnoHead>
|
||||
<PublishTrimmed>false</PublishTrimmed>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<DefineConstants>$(DefineConstants);WINUI</DefineConstants>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Uno.WinUI" Version="4.1.9" />
|
||||
<PackageReference Include="Uno.WinUI.RemoteControl" Version="4.1.9" Condition="'$(Configuration)'=='Debug'" />
|
||||
<PackageReference Include="Uno.Extensions.Logging.WinUI " Version="1.0.1" />
|
||||
<PackageReference Include="Microsoft.Extensions.Logging" Version="6.0.0" />
|
||||
<PackageReference Include="Microsoft.Extensions.Logging.Filter" Version="1.1.2" />
|
||||
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="6.0.0" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\..\..\binding\SkiaSharp\SkiaSharp.csproj" />
|
||||
<ProjectReference Include="..\..\..\..\source\SkiaSharp.Views.Uno\SkiaSharp.Views.Uno.WinUI.Mobile\SkiaSharp.Views.Uno.WinUI.Mobile.csproj">
|
||||
<Project>{482DDA70-C4FD-4CF4-84F6-641DD94426D0}</Project>
|
||||
<Name>SkiaSharp.Views.Uno.WinUI.Mobile</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup Condition="'$(TargetFramework)'=='net6.0-android'">
|
||||
<PackageReference Include="Xamarin.Google.Android.Material" Version="1.4.0.4" />
|
||||
<PackageReference Include="Uno.UniversalImageLoader" Version="1.9.35" />
|
||||
</ItemGroup>
|
||||
<ItemGroup Condition="'$(TargetFramework)'=='net6.0-ios' or '$(TargetFramework)'=='net6.0-maccatalyst'">
|
||||
<PackageReference Include="Uno.Extensions.Logging.OSLog" Version="1.3.0-dev.1" />
|
||||
</ItemGroup>
|
||||
<Import Project="..\SkiaSharpSample.Shared\SkiaSharpSample.Shared.projitems" Label="Shared" />
|
||||
<Import Project="..\..\..\..\output\SkiaSharp\nuget\build\$(TargetFramework)\SkiaSharp.Local.targets" Condition="Exists('..\..\..\..\output\SkiaSharp\nuget\build\$(TargetFramework)\SkiaSharp.Local.targets')" />
|
||||
</Project>
|
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
</dict>
|
||||
</plist>
|
|
@ -0,0 +1,57 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>CFBundleDisplayName</key>
|
||||
<string>SkiaSharpSample</string>
|
||||
<key>CFBundleIdentifier</key>
|
||||
<string>com.companyname.SkiaSharpSample</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>1.0</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>1.0</string>
|
||||
<key>LSRequiresIPhoneOS</key>
|
||||
<true/>
|
||||
<key>MinimumOSVersion</key>
|
||||
<string>10.0</string>
|
||||
<key>UIDeviceFamily</key>
|
||||
<array>
|
||||
<integer>1</integer>
|
||||
<integer>2</integer>
|
||||
</array>
|
||||
<key>UILaunchStoryboardName</key>
|
||||
<string>LaunchScreen</string>
|
||||
<key>UIRequiredDeviceCapabilities</key>
|
||||
<array>
|
||||
<string>armv7</string>
|
||||
<string>arm64</string>
|
||||
</array>
|
||||
<key>UISupportedInterfaceOrientations</key>
|
||||
<array>
|
||||
<string>UIInterfaceOrientationPortrait</string>
|
||||
<string>UIInterfaceOrientationLandscapeLeft</string>
|
||||
<string>UIInterfaceOrientationLandscapeRight</string>
|
||||
</array>
|
||||
<key>UISupportedInterfaceOrientations~ipad</key>
|
||||
<array>
|
||||
<string>UIInterfaceOrientationPortrait</string>
|
||||
<string>UIInterfaceOrientationPortraitUpsideDown</string>
|
||||
<string>UIInterfaceOrientationLandscapeLeft</string>
|
||||
<string>UIInterfaceOrientationLandscapeRight</string>
|
||||
</array>
|
||||
<key>UIAppFonts</key>
|
||||
<array>
|
||||
<string>Fonts/uno-fluentui-assets.ttf</string>
|
||||
</array>
|
||||
<key>UIViewControllerBasedStatusBarAppearance</key>
|
||||
<false/>
|
||||
<key>UILaunchImageMinimumOSVersion</key>
|
||||
<string>9.0</string>
|
||||
<key>UILaunchImageOrientation</key>
|
||||
<string>Portrait</string>
|
||||
<key>UILaunchImageSize</key>
|
||||
<string>{320, 568}</string>
|
||||
<key>UIApplicationSupportsIndirectInputEvents</key>
|
||||
<true/>
|
||||
</dict>
|
||||
</plist>
|
|
@ -0,0 +1,52 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="11762" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" colorMatched="YES" initialViewController="5" launchScreen="YES">
|
||||
<dependencies>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="11757"/>
|
||||
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
||||
</dependencies>
|
||||
<scenes>
|
||||
<scene sceneID="4">
|
||||
<objects>
|
||||
<viewController id="5" sceneMemberID="viewController">
|
||||
<layoutGuides>
|
||||
<viewControllerLayoutGuide type="top" id="2"/>
|
||||
<viewControllerLayoutGuide type="bottom" id="3"/>
|
||||
</layoutGuides>
|
||||
<view contentMode="scaleToFill" id="55" key="view">
|
||||
<rect key="frame" x="0.0" y="0.0" width="320" height="480"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||
<color key="backgroundColor" colorSpace="custom" customColorSpace="sRGB" red="1" green="1" blue="1" alpha="1"/>
|
||||
<subviews>
|
||||
<imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" id="56" translatesAutoresizingMaskIntoConstraints="NO" image="SplashScreen.png">
|
||||
<rect key="frame" x="58" y="120" width="204" height="242"/>
|
||||
<constraints>
|
||||
<constraint id="91" firstItem="56" firstAttribute="width" constant="204"/>
|
||||
<constraint id="92" firstItem="56" firstAttribute="height" constant="242"/>
|
||||
</constraints>
|
||||
</imageView>
|
||||
</subviews>
|
||||
<constraints>
|
||||
<constraint id="80" firstItem="55" firstAttribute="centerY" secondItem="56" secondAttribute="centerY" constant="0"/>
|
||||
<constraint id="81" firstItem="55" firstAttribute="centerX" secondItem="56" secondAttribute="centerX" constant="0"/>
|
||||
</constraints>
|
||||
</view>
|
||||
</viewController>
|
||||
<placeholder placeholderIdentifier="IBFirstResponder" id="7" userLabel="First Responder" sceneMemberID="firstResponder"/>
|
||||
</objects>
|
||||
<point key="canvasLocation" x="-300" y="-555"/>
|
||||
</scene>
|
||||
</scenes>
|
||||
<resources>
|
||||
<image name="iPhone-40x40@3x.png" width="40" height="40"/>
|
||||
<image name="iPhone-60x60@2x.png" width="60" height="60"/>
|
||||
<image name="iPad-76x76@2x.png" width="76" height="76"/>
|
||||
<image name="iPhone-40x40@3x.png" width="40" height="40"/>
|
||||
<image name="Icon-Small.png" width="29" height="29"/>
|
||||
<image name="SplashScreen.png" width="620" height="300"/>
|
||||
</resources>
|
||||
<simulatedMetricsContainer key="defaultSimulatedMetrics">
|
||||
<simulatedStatusBarMetrics key="statusBar"/>
|
||||
<simulatedOrientationMetrics key="orientation"/>
|
||||
<simulatedScreenMetrics key="destination"/>
|
||||
</simulatedMetricsContainer>
|
||||
</document>
|
|
@ -0,0 +1,15 @@
|
|||
using UIKit;
|
||||
|
||||
namespace SkiaSharpSample
|
||||
{
|
||||
public class EntryPoint
|
||||
{
|
||||
// This is the main entry point of the application.
|
||||
static void Main(string[] args)
|
||||
{
|
||||
// if you want to use a different Application Delegate class from "AppDelegate"
|
||||
// you can specify it here.
|
||||
UIApplication.Main(args, null, typeof(App));
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,117 @@
|
|||
{
|
||||
"images": [
|
||||
{
|
||||
"scale": "2x",
|
||||
"size": "29x29",
|
||||
"idiom": "iphone",
|
||||
"filename": "Icon58.png"
|
||||
},
|
||||
{
|
||||
"scale": "3x",
|
||||
"size": "29x29",
|
||||
"idiom": "iphone",
|
||||
"filename": "Icon87.png"
|
||||
},
|
||||
{
|
||||
"scale": "2x",
|
||||
"size": "40x40",
|
||||
"idiom": "iphone",
|
||||
"filename": "Icon80.png"
|
||||
},
|
||||
{
|
||||
"scale": "3x",
|
||||
"size": "60x60",
|
||||
"idiom": "iphone",
|
||||
"filename": "Icon180.png"
|
||||
},
|
||||
{
|
||||
"scale": "1x",
|
||||
"size": "20x20",
|
||||
"idiom": "ipad",
|
||||
"filename": "Icon20.png"
|
||||
},
|
||||
{
|
||||
"scale": "2x",
|
||||
"size": "20x20",
|
||||
"idiom": "ipad",
|
||||
"filename": "Icon40.png"
|
||||
},
|
||||
{
|
||||
"scale": "1x",
|
||||
"size": "29x29",
|
||||
"idiom": "ipad",
|
||||
"filename": "Icon29.png"
|
||||
},
|
||||
{
|
||||
"scale": "2x",
|
||||
"size": "29x29",
|
||||
"idiom": "ipad",
|
||||
"filename": "Icon58.png"
|
||||
},
|
||||
{
|
||||
"scale": "1x",
|
||||
"size": "40x40",
|
||||
"idiom": "ipad",
|
||||
"filename": "Icon40.png"
|
||||
},
|
||||
{
|
||||
"scale": "2x",
|
||||
"size": "40x40",
|
||||
"idiom": "ipad",
|
||||
"filename": "Icon80.png"
|
||||
},
|
||||
{
|
||||
"scale": "1x",
|
||||
"size": "76x76",
|
||||
"idiom": "ipad",
|
||||
"filename": "Icon76.png"
|
||||
},
|
||||
{
|
||||
"scale": "2x",
|
||||
"size": "20x20",
|
||||
"idiom": "iphone",
|
||||
"filename": "Icon40.png"
|
||||
},
|
||||
{
|
||||
"scale": "3x",
|
||||
"size": "20x20",
|
||||
"idiom": "iphone",
|
||||
"filename": "Icon60.png"
|
||||
},
|
||||
{
|
||||
"scale": "3x",
|
||||
"size": "40x40",
|
||||
"idiom": "iphone",
|
||||
"filename": "Icon120.png"
|
||||
},
|
||||
{
|
||||
"scale": "2x",
|
||||
"size": "60x60",
|
||||
"idiom": "iphone",
|
||||
"filename": "Icon120.png"
|
||||
},
|
||||
{
|
||||
"scale": "2x",
|
||||
"size": "76x76",
|
||||
"idiom": "ipad",
|
||||
"filename": "Icon152.png"
|
||||
},
|
||||
{
|
||||
"scale": "2x",
|
||||
"size": "83.5x83.5",
|
||||
"idiom": "ipad",
|
||||
"filename": "Icon167.png"
|
||||
},
|
||||
{
|
||||
"scale": "1x",
|
||||
"size": "1024x1024",
|
||||
"idiom": "ios-marketing",
|
||||
"filename": "Icon1024.png"
|
||||
}
|
||||
],
|
||||
"properties": {},
|
||||
"info": {
|
||||
"version": 1,
|
||||
"author": "xcode"
|
||||
}
|
||||
}
|
Двоичные данные
samples/Basic/Uno.WinUI/SkiaSharpSample.Mobile/iOS/Media.xcassets/AppIcons.appiconset/Icon1024.png
Normal file
После Ширина: | Высота: | Размер: 35 KiB |
Двоичные данные
samples/Basic/Uno.WinUI/SkiaSharpSample.Mobile/iOS/Media.xcassets/AppIcons.appiconset/Icon120.png
Normal file
После Ширина: | Высота: | Размер: 3.8 KiB |
Двоичные данные
samples/Basic/Uno.WinUI/SkiaSharpSample.Mobile/iOS/Media.xcassets/AppIcons.appiconset/Icon152.png
Normal file
После Ширина: | Высота: | Размер: 4.8 KiB |
Двоичные данные
samples/Basic/Uno.WinUI/SkiaSharpSample.Mobile/iOS/Media.xcassets/AppIcons.appiconset/Icon167.png
Normal file
После Ширина: | Высота: | Размер: 5.4 KiB |
Двоичные данные
samples/Basic/Uno.WinUI/SkiaSharpSample.Mobile/iOS/Media.xcassets/AppIcons.appiconset/Icon180.png
Normal file
После Ширина: | Высота: | Размер: 5.7 KiB |
Двоичные данные
samples/Basic/Uno.WinUI/SkiaSharpSample.Mobile/iOS/Media.xcassets/AppIcons.appiconset/Icon20.png
Normal file
После Ширина: | Высота: | Размер: 590 B |
Двоичные данные
samples/Basic/Uno.WinUI/SkiaSharpSample.Mobile/iOS/Media.xcassets/AppIcons.appiconset/Icon29.png
Normal file
После Ширина: | Высота: | Размер: 900 B |
Двоичные данные
samples/Basic/Uno.WinUI/SkiaSharpSample.Mobile/iOS/Media.xcassets/AppIcons.appiconset/Icon40.png
Normal file
После Ширина: | Высота: | Размер: 1.3 KiB |
Двоичные данные
samples/Basic/Uno.WinUI/SkiaSharpSample.Mobile/iOS/Media.xcassets/AppIcons.appiconset/Icon58.png
Normal file
После Ширина: | Высота: | Размер: 2.1 KiB |
Двоичные данные
samples/Basic/Uno.WinUI/SkiaSharpSample.Mobile/iOS/Media.xcassets/AppIcons.appiconset/Icon60.png
Normal file
После Ширина: | Высота: | Размер: 2.2 KiB |
Двоичные данные
samples/Basic/Uno.WinUI/SkiaSharpSample.Mobile/iOS/Media.xcassets/AppIcons.appiconset/Icon76.png
Normal file
После Ширина: | Высота: | Размер: 2.5 KiB |
Двоичные данные
samples/Basic/Uno.WinUI/SkiaSharpSample.Mobile/iOS/Media.xcassets/AppIcons.appiconset/Icon80.png
Normal file
После Ширина: | Высота: | Размер: 2.6 KiB |
Двоичные данные
samples/Basic/Uno.WinUI/SkiaSharpSample.Mobile/iOS/Media.xcassets/AppIcons.appiconset/Icon87.png
Normal file
После Ширина: | Высота: | Размер: 3.0 KiB |
|
@ -0,0 +1,58 @@
|
|||
{
|
||||
"images": [
|
||||
{
|
||||
"orientation": "portrait",
|
||||
"extent": "full-screen",
|
||||
"minimum-system-version": "7.0",
|
||||
"scale": "2x",
|
||||
"size": "640x960",
|
||||
"idiom": "iphone"
|
||||
},
|
||||
{
|
||||
"orientation": "portrait",
|
||||
"extent": "full-screen",
|
||||
"minimum-system-version": "7.0",
|
||||
"subtype": "retina4",
|
||||
"scale": "2x",
|
||||
"size": "640x1136",
|
||||
"idiom": "iphone"
|
||||
},
|
||||
{
|
||||
"orientation": "portrait",
|
||||
"extent": "full-screen",
|
||||
"minimum-system-version": "7.0",
|
||||
"scale": "1x",
|
||||
"size": "768x1024",
|
||||
"idiom": "ipad"
|
||||
},
|
||||
{
|
||||
"orientation": "landscape",
|
||||
"extent": "full-screen",
|
||||
"minimum-system-version": "7.0",
|
||||
"scale": "1x",
|
||||
"size": "1024x768",
|
||||
"idiom": "ipad"
|
||||
},
|
||||
{
|
||||
"orientation": "portrait",
|
||||
"extent": "full-screen",
|
||||
"minimum-system-version": "7.0",
|
||||
"scale": "2x",
|
||||
"size": "1536x2048",
|
||||
"idiom": "ipad"
|
||||
},
|
||||
{
|
||||
"orientation": "landscape",
|
||||
"extent": "full-screen",
|
||||
"minimum-system-version": "7.0",
|
||||
"scale": "2x",
|
||||
"size": "2048x1536",
|
||||
"idiom": "ipad"
|
||||
}
|
||||
],
|
||||
"properties": {},
|
||||
"info": {
|
||||
"version": 1,
|
||||
"author": ""
|
||||
}
|
||||
}
|
Двоичные данные
samples/Basic/Uno.WinUI/SkiaSharpSample.Mobile/iOS/Resources/Default-568h@2x.png
Normal file
После Ширина: | Высота: | Размер: 2.2 KiB |
Двоичные данные
samples/Basic/Uno.WinUI/SkiaSharpSample.Mobile/iOS/Resources/Fonts/uno-fluentui-assets.ttf
Normal file
Двоичные данные
samples/Basic/Uno.WinUI/SkiaSharpSample.Mobile/iOS/Resources/SplashScreen@2x.png
Normal file
После Ширина: | Высота: | Размер: 36 KiB |
Двоичные данные
samples/Basic/Uno.WinUI/SkiaSharpSample.Mobile/iOS/Resources/SplashScreen@3x.png
Normal file
После Ширина: | Высота: | Размер: 58 KiB |
Двоичные данные
samples/Basic/Uno.WinUI/SkiaSharpSample.Mobile/macOS/Assets.xcassets/AppIcon.appiconset/AppIcon-128.png
Normal file
После Ширина: | Высота: | Размер: 23 KiB |
Двоичные данные
samples/Basic/Uno.WinUI/SkiaSharpSample.Mobile/macOS/Assets.xcassets/AppIcon.appiconset/AppIcon-128@2x.png
Normal file
После Ширина: | Высота: | Размер: 36 KiB |
Двоичные данные
samples/Basic/Uno.WinUI/SkiaSharpSample.Mobile/macOS/Assets.xcassets/AppIcon.appiconset/AppIcon-16.png
Normal file
После Ширина: | Высота: | Размер: 15 KiB |
Двоичные данные
samples/Basic/Uno.WinUI/SkiaSharpSample.Mobile/macOS/Assets.xcassets/AppIcon.appiconset/AppIcon-16@2x.png
Normal file
После Ширина: | Высота: | Размер: 16 KiB |
Двоичные данные
samples/Basic/Uno.WinUI/SkiaSharpSample.Mobile/macOS/Assets.xcassets/AppIcon.appiconset/AppIcon-256.png
Normal file
После Ширина: | Высота: | Размер: 36 KiB |
Двоичные данные
samples/Basic/Uno.WinUI/SkiaSharpSample.Mobile/macOS/Assets.xcassets/AppIcon.appiconset/AppIcon-256@2x.png
Normal file
После Ширина: | Высота: | Размер: 77 KiB |
Двоичные данные
samples/Basic/Uno.WinUI/SkiaSharpSample.Mobile/macOS/Assets.xcassets/AppIcon.appiconset/AppIcon-32.png
Normal file
После Ширина: | Высота: | Размер: 16 KiB |
Двоичные данные
samples/Basic/Uno.WinUI/SkiaSharpSample.Mobile/macOS/Assets.xcassets/AppIcon.appiconset/AppIcon-32@2x.png
Normal file
После Ширина: | Высота: | Размер: 18 KiB |
Двоичные данные
samples/Basic/Uno.WinUI/SkiaSharpSample.Mobile/macOS/Assets.xcassets/AppIcon.appiconset/AppIcon-512.png
Normal file
После Ширина: | Высота: | Размер: 77 KiB |
Двоичные данные
samples/Basic/Uno.WinUI/SkiaSharpSample.Mobile/macOS/Assets.xcassets/AppIcon.appiconset/AppIcon-512@2x.png
Normal file
После Ширина: | Высота: | Размер: 178 KiB |
|
@ -0,0 +1,68 @@
|
|||
{
|
||||
"images": [
|
||||
{
|
||||
"filename": "AppIcon-16.png",
|
||||
"size": "16x16",
|
||||
"scale": "1x",
|
||||
"idiom": "mac"
|
||||
},
|
||||
{
|
||||
"filename": "AppIcon-16@2x.png",
|
||||
"size": "16x16",
|
||||
"scale": "2x",
|
||||
"idiom": "mac"
|
||||
},
|
||||
{
|
||||
"filename": "AppIcon-32.png",
|
||||
"size": "32x32",
|
||||
"scale": "1x",
|
||||
"idiom": "mac"
|
||||
},
|
||||
{
|
||||
"filename": "AppIcon-32@2x.png",
|
||||
"size": "32x32",
|
||||
"scale": "2x",
|
||||
"idiom": "mac"
|
||||
},
|
||||
{
|
||||
"filename": "AppIcon-128.png",
|
||||
"size": "128x128",
|
||||
"scale": "1x",
|
||||
"idiom": "mac"
|
||||
},
|
||||
{
|
||||
"filename": "AppIcon-128@2x.png",
|
||||
"size": "128x128",
|
||||
"scale": "2x",
|
||||
"idiom": "mac"
|
||||
},
|
||||
{
|
||||
"filename": "AppIcon-256.png",
|
||||
"size": "256x256",
|
||||
"scale": "1x",
|
||||
"idiom": "mac"
|
||||
},
|
||||
{
|
||||
"filename": "AppIcon-256@2x.png",
|
||||
"size": "256x256",
|
||||
"scale": "2x",
|
||||
"idiom": "mac"
|
||||
},
|
||||
{
|
||||
"filename": "AppIcon-512.png",
|
||||
"size": "512x512",
|
||||
"scale": "1x",
|
||||
"idiom": "mac"
|
||||
},
|
||||
{
|
||||
"filename": "AppIcon-512@2x.png",
|
||||
"size": "512x512",
|
||||
"scale": "2x",
|
||||
"idiom": "mac"
|
||||
}
|
||||
],
|
||||
"info": {
|
||||
"version": 1,
|
||||
"author": "xcode"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"info" : {
|
||||
"version" : 1,
|
||||
"author" : "xcode"
|
||||
}
|
||||
}
|
528
samples/Basic/Uno.WinUI/SkiaSharpSample.Mobile/macOS/Assets.xcassets/unologo.imageset/Contents.json
поставляемый
Normal file
|
@ -0,0 +1,528 @@
|
|||
{
|
||||
"images": [
|
||||
{
|
||||
"idiom": "universal"
|
||||
},
|
||||
{
|
||||
"scale": "1x",
|
||||
"idiom": "universal"
|
||||
},
|
||||
{
|
||||
"filename": "unoplatform.jpg",
|
||||
"scale": "2x",
|
||||
"idiom": "universal"
|
||||
},
|
||||
{
|
||||
"scale": "3x",
|
||||
"idiom": "universal"
|
||||
},
|
||||
{
|
||||
"idiom": "iphone"
|
||||
},
|
||||
{
|
||||
"scale": "1x",
|
||||
"idiom": "iphone"
|
||||
},
|
||||
{
|
||||
"scale": "2x",
|
||||
"idiom": "iphone"
|
||||
},
|
||||
{
|
||||
"subtype": "retina4",
|
||||
"scale": "2x",
|
||||
"idiom": "iphone"
|
||||
},
|
||||
{
|
||||
"scale": "3x",
|
||||
"idiom": "iphone"
|
||||
},
|
||||
{
|
||||
"idiom": "ipad"
|
||||
},
|
||||
{
|
||||
"scale": "1x",
|
||||
"idiom": "ipad"
|
||||
},
|
||||
{
|
||||
"scale": "2x",
|
||||
"idiom": "ipad"
|
||||
},
|
||||
{
|
||||
"idiom": "watch"
|
||||
},
|
||||
{
|
||||
"scale": "2x",
|
||||
"idiom": "watch"
|
||||
},
|
||||
{
|
||||
"screenWidth": "{130,145}",
|
||||
"scale": "2x",
|
||||
"idiom": "watch"
|
||||
},
|
||||
{
|
||||
"screenWidth": "{146,165}",
|
||||
"scale": "2x",
|
||||
"idiom": "watch"
|
||||
},
|
||||
{
|
||||
"idiom": "mac"
|
||||
},
|
||||
{
|
||||
"scale": "1x",
|
||||
"idiom": "mac"
|
||||
},
|
||||
{
|
||||
"scale": "2x",
|
||||
"idiom": "mac"
|
||||
},
|
||||
{
|
||||
"idiom": "car"
|
||||
},
|
||||
{
|
||||
"scale": "2x",
|
||||
"idiom": "car"
|
||||
},
|
||||
{
|
||||
"scale": "3x",
|
||||
"idiom": "car"
|
||||
},
|
||||
{
|
||||
"appearances": [
|
||||
{
|
||||
"appearance": "luminosity",
|
||||
"value": "dark"
|
||||
}
|
||||
],
|
||||
"idiom": "universal"
|
||||
},
|
||||
{
|
||||
"appearances": [
|
||||
{
|
||||
"appearance": "luminosity",
|
||||
"value": "dark"
|
||||
}
|
||||
],
|
||||
"scale": "1x",
|
||||
"idiom": "universal"
|
||||
},
|
||||
{
|
||||
"appearances": [
|
||||
{
|
||||
"appearance": "luminosity",
|
||||
"value": "dark"
|
||||
}
|
||||
],
|
||||
"scale": "2x",
|
||||
"idiom": "universal"
|
||||
},
|
||||
{
|
||||
"appearances": [
|
||||
{
|
||||
"appearance": "luminosity",
|
||||
"value": "dark"
|
||||
}
|
||||
],
|
||||
"scale": "3x",
|
||||
"idiom": "universal"
|
||||
},
|
||||
{
|
||||
"appearances": [
|
||||
{
|
||||
"appearance": "luminosity",
|
||||
"value": "dark"
|
||||
}
|
||||
],
|
||||
"idiom": "iphone"
|
||||
},
|
||||
{
|
||||
"appearances": [
|
||||
{
|
||||
"appearance": "luminosity",
|
||||
"value": "dark"
|
||||
}
|
||||
],
|
||||
"scale": "1x",
|
||||
"idiom": "iphone"
|
||||
},
|
||||
{
|
||||
"appearances": [
|
||||
{
|
||||
"appearance": "luminosity",
|
||||
"value": "dark"
|
||||
}
|
||||
],
|
||||
"scale": "2x",
|
||||
"idiom": "iphone"
|
||||
},
|
||||
{
|
||||
"subtype": "retina4",
|
||||
"appearances": [
|
||||
{
|
||||
"appearance": "luminosity",
|
||||
"value": "dark"
|
||||
}
|
||||
],
|
||||
"scale": "2x",
|
||||
"idiom": "iphone"
|
||||
},
|
||||
{
|
||||
"appearances": [
|
||||
{
|
||||
"appearance": "luminosity",
|
||||
"value": "dark"
|
||||
}
|
||||
],
|
||||
"scale": "3x",
|
||||
"idiom": "iphone"
|
||||
},
|
||||
{
|
||||
"appearances": [
|
||||
{
|
||||
"appearance": "luminosity",
|
||||
"value": "dark"
|
||||
}
|
||||
],
|
||||
"idiom": "ipad"
|
||||
},
|
||||
{
|
||||
"appearances": [
|
||||
{
|
||||
"appearance": "luminosity",
|
||||
"value": "dark"
|
||||
}
|
||||
],
|
||||
"scale": "1x",
|
||||
"idiom": "ipad"
|
||||
},
|
||||
{
|
||||
"appearances": [
|
||||
{
|
||||
"appearance": "luminosity",
|
||||
"value": "dark"
|
||||
}
|
||||
],
|
||||
"scale": "2x",
|
||||
"idiom": "ipad"
|
||||
},
|
||||
{
|
||||
"appearances": [
|
||||
{
|
||||
"appearance": "luminosity",
|
||||
"value": "dark"
|
||||
}
|
||||
],
|
||||
"idiom": "watch"
|
||||
},
|
||||
{
|
||||
"appearances": [
|
||||
{
|
||||
"appearance": "luminosity",
|
||||
"value": "dark"
|
||||
}
|
||||
],
|
||||
"scale": "2x",
|
||||
"idiom": "watch"
|
||||
},
|
||||
{
|
||||
"screenWidth": "{130,145}",
|
||||
"appearances": [
|
||||
{
|
||||
"appearance": "luminosity",
|
||||
"value": "dark"
|
||||
}
|
||||
],
|
||||
"scale": "2x",
|
||||
"idiom": "watch"
|
||||
},
|
||||
{
|
||||
"screenWidth": "{146,165}",
|
||||
"appearances": [
|
||||
{
|
||||
"appearance": "luminosity",
|
||||
"value": "dark"
|
||||
}
|
||||
],
|
||||
"scale": "2x",
|
||||
"idiom": "watch"
|
||||
},
|
||||
{
|
||||
"appearances": [
|
||||
{
|
||||
"appearance": "luminosity",
|
||||
"value": "dark"
|
||||
}
|
||||
],
|
||||
"idiom": "mac"
|
||||
},
|
||||
{
|
||||
"appearances": [
|
||||
{
|
||||
"appearance": "luminosity",
|
||||
"value": "dark"
|
||||
}
|
||||
],
|
||||
"scale": "1x",
|
||||
"idiom": "mac"
|
||||
},
|
||||
{
|
||||
"appearances": [
|
||||
{
|
||||
"appearance": "luminosity",
|
||||
"value": "dark"
|
||||
}
|
||||
],
|
||||
"scale": "2x",
|
||||
"idiom": "mac"
|
||||
},
|
||||
{
|
||||
"appearances": [
|
||||
{
|
||||
"appearance": "luminosity",
|
||||
"value": "dark"
|
||||
}
|
||||
],
|
||||
"idiom": "car"
|
||||
},
|
||||
{
|
||||
"appearances": [
|
||||
{
|
||||
"appearance": "luminosity",
|
||||
"value": "dark"
|
||||
}
|
||||
],
|
||||
"scale": "2x",
|
||||
"idiom": "car"
|
||||
},
|
||||
{
|
||||
"appearances": [
|
||||
{
|
||||
"appearance": "luminosity",
|
||||
"value": "dark"
|
||||
}
|
||||
],
|
||||
"scale": "3x",
|
||||
"idiom": "car"
|
||||
},
|
||||
{
|
||||
"appearances": [
|
||||
{
|
||||
"appearance": "luminosity",
|
||||
"value": "light"
|
||||
}
|
||||
],
|
||||
"idiom": "universal"
|
||||
},
|
||||
{
|
||||
"appearances": [
|
||||
{
|
||||
"appearance": "luminosity",
|
||||
"value": "light"
|
||||
}
|
||||
],
|
||||
"scale": "1x",
|
||||
"idiom": "universal"
|
||||
},
|
||||
{
|
||||
"appearances": [
|
||||
{
|
||||
"appearance": "luminosity",
|
||||
"value": "light"
|
||||
}
|
||||
],
|
||||
"scale": "2x",
|
||||
"idiom": "universal"
|
||||
},
|
||||
{
|
||||
"appearances": [
|
||||
{
|
||||
"appearance": "luminosity",
|
||||
"value": "light"
|
||||
}
|
||||
],
|
||||
"scale": "3x",
|
||||
"idiom": "universal"
|
||||
},
|
||||
{
|
||||
"appearances": [
|
||||
{
|
||||
"appearance": "luminosity",
|
||||
"value": "light"
|
||||
}
|
||||
],
|
||||
"idiom": "iphone"
|
||||
},
|
||||
{
|
||||
"appearances": [
|
||||
{
|
||||
"appearance": "luminosity",
|
||||
"value": "light"
|
||||
}
|
||||
],
|
||||
"scale": "1x",
|
||||
"idiom": "iphone"
|
||||
},
|
||||
{
|
||||
"appearances": [
|
||||
{
|
||||
"appearance": "luminosity",
|
||||
"value": "light"
|
||||
}
|
||||
],
|
||||
"scale": "2x",
|
||||
"idiom": "iphone"
|
||||
},
|
||||
{
|
||||
"subtype": "retina4",
|
||||
"appearances": [
|
||||
{
|
||||
"appearance": "luminosity",
|
||||
"value": "light"
|
||||
}
|
||||
],
|
||||
"scale": "2x",
|
||||
"idiom": "iphone"
|
||||
},
|
||||
{
|
||||
"appearances": [
|
||||
{
|
||||
"appearance": "luminosity",
|
||||
"value": "light"
|
||||
}
|
||||
],
|
||||
"scale": "3x",
|
||||
"idiom": "iphone"
|
||||
},
|
||||
{
|
||||
"appearances": [
|
||||
{
|
||||
"appearance": "luminosity",
|
||||
"value": "light"
|
||||
}
|
||||
],
|
||||
"idiom": "ipad"
|
||||
},
|
||||
{
|
||||
"appearances": [
|
||||
{
|
||||
"appearance": "luminosity",
|
||||
"value": "light"
|
||||
}
|
||||
],
|
||||
"scale": "1x",
|
||||
"idiom": "ipad"
|
||||
},
|
||||
{
|
||||
"appearances": [
|
||||
{
|
||||
"appearance": "luminosity",
|
||||
"value": "light"
|
||||
}
|
||||
],
|
||||
"scale": "2x",
|
||||
"idiom": "ipad"
|
||||
},
|
||||
{
|
||||
"appearances": [
|
||||
{
|
||||
"appearance": "luminosity",
|
||||
"value": "light"
|
||||
}
|
||||
],
|
||||
"idiom": "watch"
|
||||
},
|
||||
{
|
||||
"appearances": [
|
||||
{
|
||||
"appearance": "luminosity",
|
||||
"value": "light"
|
||||
}
|
||||
],
|
||||
"scale": "2x",
|
||||
"idiom": "watch"
|
||||
},
|
||||
{
|
||||
"screenWidth": "{130,145}",
|
||||
"appearances": [
|
||||
{
|
||||
"appearance": "luminosity",
|
||||
"value": "light"
|
||||
}
|
||||
],
|
||||
"scale": "2x",
|
||||
"idiom": "watch"
|
||||
},
|
||||
{
|
||||
"screenWidth": "{146,165}",
|
||||
"appearances": [
|
||||
{
|
||||
"appearance": "luminosity",
|
||||
"value": "light"
|
||||
}
|
||||
],
|
||||
"scale": "2x",
|
||||
"idiom": "watch"
|
||||
},
|
||||
{
|
||||
"appearances": [
|
||||
{
|
||||
"appearance": "luminosity",
|
||||
"value": "light"
|
||||
}
|
||||
],
|
||||
"idiom": "mac"
|
||||
},
|
||||
{
|
||||
"appearances": [
|
||||
{
|
||||
"appearance": "luminosity",
|
||||
"value": "light"
|
||||
}
|
||||
],
|
||||
"scale": "1x",
|
||||
"idiom": "mac"
|
||||
},
|
||||
{
|
||||
"appearances": [
|
||||
{
|
||||
"appearance": "luminosity",
|
||||
"value": "light"
|
||||
}
|
||||
],
|
||||
"scale": "2x",
|
||||
"idiom": "mac"
|
||||
},
|
||||
{
|
||||
"appearances": [
|
||||
{
|
||||
"appearance": "luminosity",
|
||||
"value": "light"
|
||||
}
|
||||
],
|
||||
"idiom": "car"
|
||||
},
|
||||
{
|
||||
"appearances": [
|
||||
{
|
||||
"appearance": "luminosity",
|
||||
"value": "light"
|
||||
}
|
||||
],
|
||||
"scale": "2x",
|
||||
"idiom": "car"
|
||||
},
|
||||
{
|
||||
"appearances": [
|
||||
{
|
||||
"appearance": "luminosity",
|
||||
"value": "light"
|
||||
}
|
||||
],
|
||||
"scale": "3x",
|
||||
"idiom": "car"
|
||||
}
|
||||
],
|
||||
"info": {
|
||||
"version": 1,
|
||||
"author": "xcode"
|
||||
}
|
||||
}
|
Двоичные данные
samples/Basic/Uno.WinUI/SkiaSharpSample.Mobile/macOS/Assets.xcassets/unologo.imageset/unoplatform.jpg
поставляемый
Normal file
После Ширина: | Высота: | Размер: 18 KiB |
|
@ -0,0 +1,7 @@
|
|||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
</dict>
|
||||
</plist>
|
||||
|
|
@ -0,0 +1,32 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>CFBundleName</key>
|
||||
<string>SkiaSharpSample.macOS</string>
|
||||
<key>CFBundleIdentifier</key>
|
||||
<string>com.companyname.SkiaSharpSample-macOS</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>1.0</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>1</string>
|
||||
<key>LSMinimumSystemVersion</key>
|
||||
<string>10.11</string>
|
||||
<key>CFBundleDevelopmentRegion</key>
|
||||
<string>en</string>
|
||||
<key>CFBundleInfoDictionaryVersion</key>
|
||||
<string>6.0</string>
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>APPL</string>
|
||||
<key>CFBundleSignature</key>
|
||||
<string>????</string>
|
||||
<key>NSHumanReadableCopyright</key>
|
||||
<string>${AuthorCopyright:HtmlEncode}</string>
|
||||
<key>NSPrincipalClass</key>
|
||||
<string>NSApplication</string>
|
||||
<key>XSAppIconAssets</key>
|
||||
<string>Assets.xcassets/AppIcon.appiconset</string>
|
||||
<key>ATSApplicationFontsPath</key>
|
||||
<string>Fonts/uno-fluentui-assets.ttf</string>
|
||||
</dict>
|
||||
</plist>
|
|
@ -0,0 +1,15 @@
|
|||
using AppKit;
|
||||
|
||||
namespace SkiaSharpSample.macOS
|
||||
{
|
||||
static class MainClass
|
||||
{
|
||||
static void Main(string[] args)
|
||||
{
|
||||
NSApplication.Init();
|
||||
NSApplication.SharedApplication.Delegate = new App();
|
||||
NSApplication.Main(args);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Двоичные данные
samples/Basic/Uno.WinUI/SkiaSharpSample.Mobile/macOS/Resources/Fonts/uno-fluentui-assets.ttf
Normal file
|
@ -0,0 +1,7 @@
|
|||
<Application
|
||||
x:Class="SkiaSharpSample.App"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:local="using:SkiaSharpSample">
|
||||
|
||||
</Application>
|
|
@ -0,0 +1,169 @@
|
|||
using System;
|
||||
using Microsoft.Extensions.Logging;
|
||||
using Windows.ApplicationModel;
|
||||
using Windows.ApplicationModel.Activation;
|
||||
using Windows.UI.Core;
|
||||
using Windows.UI.ViewManagement;
|
||||
using Microsoft.UI.Xaml;
|
||||
using Microsoft.UI.Xaml.Controls;
|
||||
using Microsoft.UI.Xaml.Navigation;
|
||||
using LaunchActivatedEventArgs = Microsoft.UI.Xaml.LaunchActivatedEventArgs;
|
||||
using Window = Microsoft.UI.Xaml.Window;
|
||||
using CoreApplication = Windows.ApplicationModel.Core.CoreApplication;
|
||||
|
||||
namespace SkiaSharpSample
|
||||
{
|
||||
/// <summary>
|
||||
/// Provides application-specific behavior to supplement the default Application class.
|
||||
/// </summary>
|
||||
public sealed partial class App : Application
|
||||
{
|
||||
private Window _window;
|
||||
public Window Window => _window;
|
||||
/// <summary>
|
||||
/// Initializes the singleton application object. This is the first line of authored code
|
||||
/// executed, and as such is the logical equivalent of main() or WinMain().
|
||||
/// </summary>
|
||||
public App()
|
||||
{
|
||||
InitializeLogging();
|
||||
InitializeComponent();
|
||||
Suspending += OnSuspending;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Invoked when the application is launched normally by the end user. Other entry points
|
||||
/// will be used such as when the application is launched to open a specific file.
|
||||
/// </summary>
|
||||
/// <param name="args">Details about the launch request and process.</param>
|
||||
protected override void OnLaunched(LaunchActivatedEventArgs args)
|
||||
{
|
||||
#if NET6_0_OR_GREATER && WINDOWS
|
||||
_window = new Window();
|
||||
//_window.Activate();
|
||||
#else
|
||||
_window = Window.Current;
|
||||
#endif
|
||||
|
||||
Frame rootFrame = _window.Content as Frame;
|
||||
|
||||
// Do not repeat app initialization when the Window already has content,
|
||||
// just ensure that the window is active
|
||||
if (rootFrame == null)
|
||||
{
|
||||
// Create a Frame to act as the navigation context and navigate to the first page
|
||||
rootFrame = new Frame();
|
||||
|
||||
rootFrame.NavigationFailed += OnNavigationFailed;
|
||||
|
||||
//if (args.PreviousExecutionState == ApplicationExecutionState.Terminated)
|
||||
//{
|
||||
// //TODO: Load state from previously suspended application
|
||||
//}
|
||||
|
||||
// Place the frame in the current Window
|
||||
_window.Content = rootFrame;
|
||||
}
|
||||
|
||||
//#if !(NET6_0_OR_GREATER && WINDOWS)
|
||||
//if (args.PrelaunchActivated == false)
|
||||
//#endif
|
||||
{
|
||||
if (rootFrame.Content == null)
|
||||
{
|
||||
// When the navigation stack isn't restored navigate to the first page,
|
||||
// configuring the new page by passing required information as a navigation
|
||||
// parameter
|
||||
rootFrame.Navigate(typeof(MainPage), args.Arguments);
|
||||
}
|
||||
// Ensure the current window is active
|
||||
_window.Activate();
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Invoked when Navigation to a certain page fails
|
||||
/// </summary>
|
||||
/// <param name="sender">The Frame which failed navigation</param>
|
||||
/// <param name="e">Details about the navigation failure</param>
|
||||
private void OnNavigationFailed(object sender, NavigationFailedEventArgs e)
|
||||
{
|
||||
throw new Exception($"Failed to load {e.SourcePageType.FullName}: {e.Exception}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Invoked when application execution is being suspended. Application state is saved
|
||||
/// without knowing whether the application will be terminated or resumed with the contents
|
||||
/// of memory still intact.
|
||||
/// </summary>
|
||||
/// <param name="sender">The source of the suspend request.</param>
|
||||
/// <param name="e">Details about the suspend request.</param>
|
||||
private void OnSuspending(object sender, SuspendingEventArgs e)
|
||||
{
|
||||
var deferral = e.SuspendingOperation.GetDeferral();
|
||||
//TODO: Save application state and stop any background activity
|
||||
deferral.Complete();
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Configures global Uno Platform logging
|
||||
/// </summary>
|
||||
private static void InitializeLogging()
|
||||
{
|
||||
var factory = LoggerFactory.Create(builder =>
|
||||
{
|
||||
#if __WASM__
|
||||
builder.AddProvider(new global::Uno.Extensions.Logging.WebAssembly.WebAssemblyConsoleLoggerProvider());
|
||||
#elif __IOS__
|
||||
builder.AddProvider(new global::Uno.Extensions.Logging.OSLogLoggerProvider());
|
||||
#elif NETFX_CORE
|
||||
builder.AddDebug();
|
||||
#else
|
||||
builder.AddConsole();
|
||||
#endif
|
||||
|
||||
// Exclude logs below this level
|
||||
builder.SetMinimumLevel(LogLevel.Information);
|
||||
|
||||
// Default filters for Uno Platform namespaces
|
||||
builder.AddFilter("Uno", LogLevel.Warning);
|
||||
builder.AddFilter("Windows", LogLevel.Warning);
|
||||
builder.AddFilter("Microsoft", LogLevel.Warning);
|
||||
|
||||
// Generic Xaml events
|
||||
// builder.AddFilter("Windows.UI.Xaml", LogLevel.Debug );
|
||||
// builder.AddFilter("Windows.UI.Xaml.VisualStateGroup", LogLevel.Debug );
|
||||
// builder.AddFilter("Windows.UI.Xaml.StateTriggerBase", LogLevel.Debug );
|
||||
// builder.AddFilter("Windows.UI.Xaml.UIElement", LogLevel.Debug );
|
||||
// builder.AddFilter("Windows.UI.Xaml.FrameworkElement", LogLevel.Trace );
|
||||
|
||||
// Layouter specific messages
|
||||
// builder.AddFilter("Windows.UI.Xaml.Controls", LogLevel.Debug );
|
||||
// builder.AddFilter("Windows.UI.Xaml.Controls.Layouter", LogLevel.Debug );
|
||||
// builder.AddFilter("Windows.UI.Xaml.Controls.Panel", LogLevel.Debug );
|
||||
|
||||
// builder.AddFilter("Windows.Storage", LogLevel.Debug );
|
||||
|
||||
// Binding related messages
|
||||
// builder.AddFilter("Windows.UI.Xaml.Data", LogLevel.Debug );
|
||||
// builder.AddFilter("Windows.UI.Xaml.Data", LogLevel.Debug );
|
||||
|
||||
// Binder memory references tracking
|
||||
// builder.AddFilter("Uno.UI.DataBinding.BinderReferenceHolder", LogLevel.Debug );
|
||||
|
||||
// RemoteControl and HotReload related
|
||||
// builder.AddFilter("Uno.UI.RemoteControl", LogLevel.Information);
|
||||
|
||||
// Debug JS interop
|
||||
// builder.AddFilter("Uno.Foundation.WebAssemblyRuntime", LogLevel.Debug );
|
||||
});
|
||||
|
||||
global::Uno.Extensions.LogExtensionPoint.AmbientLoggerFactory = factory;
|
||||
|
||||
#if HAS_UNO
|
||||
global::Uno.UI.Adapter.Microsoft.Extensions.Logging.LoggingAdapter.Initialize();
|
||||
#endif
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,30 @@
|
|||
See documentation about assets here : https://github.com/unoplatform/uno/blob/master/doc/articles/features/working-with-assets.md
|
||||
|
||||
# Here is a cheat sheet:
|
||||
|
||||
1. Add the image file to the `Assets` directory of a shared project.
|
||||
2. Set the build action to `Content`.
|
||||
3. (Recommended) Provide an asset for various scales/dpi
|
||||
|
||||
## Examples
|
||||
|
||||
```
|
||||
\Assets\Images\logo.scale-100.png
|
||||
\Assets\Images\logo.scale-200.png
|
||||
\Assets\Images\logo.scale-400.png
|
||||
|
||||
\Assets\Images\scale-100\logo.png
|
||||
\Assets\Images\scale-200\logo.png
|
||||
\Assets\Images\scale\400\logo.png
|
||||
```
|
||||
|
||||
## Table of scales
|
||||
|
||||
| Scale | UWP | iOS | Android |
|
||||
|-------|:-----------:|:--------:|:-------:|
|
||||
| `100` | scale-100 | @1x | mdpi |
|
||||
| `125` | scale-125 | N/A | N/A |
|
||||
| `150` | scale-150 | N/A | hdpi |
|
||||
| `200` | scale-200 | @2x | xhdpi |
|
||||
| `300` | scale-300 | @3x | xxhdpi |
|
||||
| `400` | scale-400 | N/A | xxxhdpi |
|
|
@ -0,0 +1,15 @@
|
|||
<Page
|
||||
x:Class="SkiaSharpSample.MainPage"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:local="using:SkiaSharpSample"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:skia="using:SkiaSharp.Views.UWP"
|
||||
mc:Ignorable="d">
|
||||
|
||||
<Grid Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
|
||||
<skia:SKXamlCanvas PaintSurface="OnPaintSurface" IgnorePixelScaling="True" />
|
||||
</Grid>
|
||||
|
||||
</Page>
|
|
@ -0,0 +1,36 @@
|
|||
using Windows.Graphics.Display;
|
||||
using Microsoft.UI.Xaml.Controls;
|
||||
using SkiaSharp;
|
||||
using SkiaSharp.Views.Windows;
|
||||
|
||||
namespace SkiaSharpSample
|
||||
{
|
||||
public sealed partial class MainPage : Page
|
||||
{
|
||||
public MainPage()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
private void OnPaintSurface(object sender, SKPaintSurfaceEventArgs e)
|
||||
{
|
||||
// the the canvas and properties
|
||||
var canvas = e.Surface.Canvas;
|
||||
|
||||
// make sure the canvas is blank
|
||||
canvas.Clear(SKColors.White);
|
||||
|
||||
// draw some text
|
||||
var paint = new SKPaint
|
||||
{
|
||||
Color = SKColors.Black,
|
||||
IsAntialias = true,
|
||||
Style = SKPaintStyle.Fill,
|
||||
TextAlign = SKTextAlign.Center,
|
||||
TextSize = 24
|
||||
};
|
||||
var coord = new SKPoint(e.Info.Width / 2, (e.Info.Height + paint.TextSize) / 2);
|
||||
canvas.DrawText("SkiaSharp", coord, paint);
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,37 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects>
|
||||
<HasSharedItems>true</HasSharedItems>
|
||||
<SharedGUID>6279c845-92f8-4333-ab99-3d213163593c</SharedGUID>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Label="Configuration">
|
||||
<Import_RootNamespace>SkiaSharpSample</Import_RootNamespace>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<ApplicationDefinition Include="$(MSBuildThisFileDirectory)App.xaml">
|
||||
<SubType>Designer</SubType>
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
</ApplicationDefinition>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="$(MSBuildThisFileDirectory)App.xaml.cs">
|
||||
<DependentUpon>App.xaml</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="$(MSBuildThisFileDirectory)MainPage.xaml.cs">
|
||||
<DependentUpon>MainPage.xaml</DependentUpon>
|
||||
</Compile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Page Include="$(MSBuildThisFileDirectory)MainPage.xaml">
|
||||
<SubType>Designer</SubType>
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
</Page>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="$(MSBuildThisFileDirectory)Assets\SharedAssets.md" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<PRIResource Include="$(MSBuildThisFileDirectory)Strings\en\Resources.resw" />
|
||||
</ItemGroup>
|
||||
</Project>
|
|
@ -0,0 +1,13 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup Label="Globals">
|
||||
<ProjectGuid>{C3BC3667-BB67-4B3F-A7F0-053C19AF4D1F}</ProjectGuid>
|
||||
<MinimumVisualStudioVersion>14.0</MinimumVisualStudioVersion>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\CodeSharing\Microsoft.CodeSharing.Common.Default.props" />
|
||||
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\CodeSharing\Microsoft.CodeSharing.Common.props" />
|
||||
<PropertyGroup />
|
||||
<Import Project="SkiaSharpSample.Shared.projitems" Label="Shared" />
|
||||
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\CodeSharing\Microsoft.CodeSharing.CSharp.targets" />
|
||||
</Project>
|
|
@ -0,0 +1,123 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<data name="ApplicationName" xml:space="preserve">
|
||||
<value>SkiaSharpSample</value>
|
||||
</data>
|
||||
</root>
|
Двоичные данные
samples/Basic/Uno.WinUI/SkiaSharpSample.Skia.Gtk/Assets/Fonts/uno-fluentui-assets.ttf
Normal file
|
@ -0,0 +1,22 @@
|
|||
using System;
|
||||
using GLib;
|
||||
using Uno.UI.Runtime.Skia;
|
||||
|
||||
namespace SkiaSharpSample.Skia.Gtk
|
||||
{
|
||||
class Program
|
||||
{
|
||||
static void Main(string[] args)
|
||||
{
|
||||
ExceptionManager.UnhandledException += delegate (UnhandledExceptionArgs expArgs)
|
||||
{
|
||||
Console.WriteLine("GLIB UNHANDLED EXCEPTION" + expArgs.ExceptionObject.ToString());
|
||||
expArgs.ExitApplication = true;
|
||||
};
|
||||
|
||||
var host = new GtkHost(() => new App(), args);
|
||||
|
||||
host.Run();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,32 @@
|
|||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<OutputType Condition="'$(Configuration)'=='Release'">WinExe</OutputType>
|
||||
<OutputType Condition="'$(Configuration)'=='Debug'">Exe</OutputType>
|
||||
<TargetFramework>net6.0</TargetFramework>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<DefineConstants>$(DefineConstants);WINUI</DefineConstants>
|
||||
</PropertyGroup>
|
||||
<ItemGroup Condition="exists('..\SkiaSharpSample.UWP')">
|
||||
<EmbeddedResource Include="..\SkiaSharpSample.UWP\Package.appxmanifest" LogicalName="Package.appxmanifest" />
|
||||
<Content Include="..\SkiaSharpSample.UWP\Assets\StoreLogo.png" Link="Assets\StoreLogo.png" />
|
||||
<Content Include="Assets\Fonts\uno-fluentui-assets.ttf" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<UpToDateCheckInput Include="..\SkiaSharpSample.Shared\**\*.xaml" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.Extensions.Logging" Version="6.0.0" />
|
||||
<PackageReference Include="Microsoft.Extensions.Logging.Filter" Version="1.1.2" />
|
||||
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="6.0.0" />
|
||||
<PackageReference Include="Uno.WinUI" Version="4.1.9" />
|
||||
<PackageReference Include="Uno.WinUI.Skia.Gtk" Version="4.1.9" />
|
||||
<PackageReference Include="Uno.WinUI.RemoteControl" Version="4.1.9" Condition="'$(Configuration)'=='Debug'" />
|
||||
<PackageReference Include="Uno.Extensions.Logging.WinUI " Version="1.0.1" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\..\..\binding\SkiaSharp\SkiaSharp.csproj" />
|
||||
<ProjectReference Include="..\..\..\..\source\SkiaSharp.Views.Uno\SkiaSharp.Views.Uno.WinUI.Skia\SkiaSharp.Views.Uno.WinUI.Skia.csproj" />
|
||||
</ItemGroup>
|
||||
<Import Project="..\SkiaSharpSample.Shared\SkiaSharpSample.Shared.projitems" Label="Shared" />
|
||||
</Project>
|
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<configuration>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
|
||||
</startup>
|
||||
</configuration>
|