Added the Skia.Forms.Demo.UWP sample
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
|
@ -16,6 +16,8 @@
|
|||
<AndroidUseLatestPlatformSdk>True</AndroidUseLatestPlatformSdk>
|
||||
<AssemblyName>Skia.Forms.Demo.Droid</AssemblyName>
|
||||
<TargetFrameworkVersion>v6.0</TargetFrameworkVersion>
|
||||
<NuGetPackageImportStamp>
|
||||
</NuGetPackageImportStamp>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
|
@ -39,43 +41,65 @@
|
|||
<AndroidSupportedAbis>armeabi-v7a;armeabi;x86;arm64-v8a;x86_64</AndroidSupportedAbis>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="FormsViewGroup, Version=2.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Xamarin.Forms.2.3.0.38-pre2\lib\MonoAndroid10\FormsViewGroup.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="SkiaSharp, Version=1.49.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\SkiaSharp.1.49.3.0-beta\lib\MonoAndroid\SkiaSharp.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Xml" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="Mono.Android" />
|
||||
<Reference Include="Xamarin.Android.Support.v4">
|
||||
<HintPath>..\packages\Xamarin.Android.Support.v4.23.0.1.3\lib\MonoAndroid403\Xamarin.Android.Support.v4.dll</HintPath>
|
||||
<Reference Include="Xamarin.Android.Support.Animated.Vector.Drawable, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Xamarin.Android.Support.Animated.Vector.Drawable.23.3.0\lib\MonoAndroid403\Xamarin.Android.Support.Animated.Vector.Drawable.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="Xamarin.Android.Support.v7.AppCompat">
|
||||
<HintPath>..\packages\Xamarin.Android.Support.v7.AppCompat.23.0.1.3\lib\MonoAndroid403\Xamarin.Android.Support.v7.AppCompat.dll</HintPath>
|
||||
<Reference Include="Xamarin.Android.Support.Design, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Xamarin.Android.Support.Design.23.3.0\lib\MonoAndroid43\Xamarin.Android.Support.Design.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="Xamarin.Android.Support.Design">
|
||||
<HintPath>..\packages\Xamarin.Android.Support.Design.23.0.1.3\lib\MonoAndroid403\Xamarin.Android.Support.Design.dll</HintPath>
|
||||
<Reference Include="Xamarin.Android.Support.v4, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Xamarin.Android.Support.v4.23.3.0\lib\MonoAndroid403\Xamarin.Android.Support.v4.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="Xamarin.Android.Support.v7.CardView">
|
||||
<HintPath>..\packages\Xamarin.Android.Support.v7.CardView.23.0.1.3\lib\MonoAndroid403\Xamarin.Android.Support.v7.CardView.dll</HintPath>
|
||||
<Reference Include="Xamarin.Android.Support.v7.AppCompat, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Xamarin.Android.Support.v7.AppCompat.23.3.0\lib\MonoAndroid403\Xamarin.Android.Support.v7.AppCompat.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="Xamarin.Forms.Platform.Android">
|
||||
<HintPath>..\packages\Xamarin.Forms.2.1.0.6529\lib\MonoAndroid10\Xamarin.Forms.Platform.Android.dll</HintPath>
|
||||
<Reference Include="Xamarin.Android.Support.v7.CardView, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Xamarin.Android.Support.v7.CardView.23.3.0\lib\MonoAndroid403\Xamarin.Android.Support.v7.CardView.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="FormsViewGroup">
|
||||
<HintPath>..\packages\Xamarin.Forms.2.1.0.6529\lib\MonoAndroid10\FormsViewGroup.dll</HintPath>
|
||||
<Reference Include="Xamarin.Android.Support.v7.MediaRouter, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Xamarin.Android.Support.v7.MediaRouter.23.3.0\lib\MonoAndroid403\Xamarin.Android.Support.v7.MediaRouter.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="Xamarin.Forms.Core">
|
||||
<HintPath>..\packages\Xamarin.Forms.2.1.0.6529\lib\MonoAndroid10\Xamarin.Forms.Core.dll</HintPath>
|
||||
<Reference Include="Xamarin.Android.Support.v7.RecyclerView, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Xamarin.Android.Support.v7.RecyclerView.23.3.0\lib\MonoAndroid403\Xamarin.Android.Support.v7.RecyclerView.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="Xamarin.Forms.Xaml">
|
||||
<HintPath>..\packages\Xamarin.Forms.2.1.0.6529\lib\MonoAndroid10\Xamarin.Forms.Xaml.dll</HintPath>
|
||||
<Reference Include="Xamarin.Android.Support.Vector.Drawable, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Xamarin.Android.Support.Vector.Drawable.23.3.0\lib\MonoAndroid403\Xamarin.Android.Support.Vector.Drawable.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="Xamarin.Forms.Platform">
|
||||
<HintPath>..\packages\Xamarin.Forms.2.1.0.6529\lib\MonoAndroid10\Xamarin.Forms.Platform.dll</HintPath>
|
||||
<Reference Include="Xamarin.Forms.Core, Version=2.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Xamarin.Forms.2.3.0.38-pre2\lib\MonoAndroid10\Xamarin.Forms.Core.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="Xamarin.Android.Support.v7.MediaRouter">
|
||||
<HintPath>..\packages\Xamarin.Android.Support.v7.MediaRouter.23.0.1.3\lib\MonoAndroid403\Xamarin.Android.Support.v7.MediaRouter.dll</HintPath>
|
||||
<Reference Include="Xamarin.Forms.Platform, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Xamarin.Forms.2.3.0.38-pre2\lib\MonoAndroid10\Xamarin.Forms.Platform.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="SkiaSharp">
|
||||
<HintPath>..\packages\SkiaSharp.1.49.3.0-beta\lib\MonoAndroid\SkiaSharp.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
<Reference Include="Xamarin.Forms.Platform.Android, Version=2.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Xamarin.Forms.2.3.0.38-pre2\lib\MonoAndroid10\Xamarin.Forms.Platform.Android.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="Xamarin.Forms.Xaml, Version=2.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Xamarin.Forms.2.3.0.38-pre2\lib\MonoAndroid10\Xamarin.Forms.Xaml.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
|
@ -113,5 +137,13 @@
|
|||
</AndroidAsset>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildExtensionsPath)\Xamarin\Android\Xamarin.Android.CSharp.targets" />
|
||||
<Import Project="..\packages\Xamarin.Forms.2.1.0.6529\build\portable-win+net45+wp80+win81+wpa81+MonoAndroid10+MonoTouch10+Xamarin.iOS10\Xamarin.Forms.targets" Condition="Exists('..\packages\Xamarin.Forms.2.1.0.6529\build\portable-win+net45+wp80+win81+wpa81+MonoAndroid10+MonoTouch10+Xamarin.iOS10\Xamarin.Forms.targets')" />
|
||||
<Import Project="..\packages\Xamarin.Android.Support.Vector.Drawable.23.3.0\build\Xamarin.Android.Support.Vector.Drawable.targets" Condition="Exists('..\packages\Xamarin.Android.Support.Vector.Drawable.23.3.0\build\Xamarin.Android.Support.Vector.Drawable.targets')" />
|
||||
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
|
||||
<PropertyGroup>
|
||||
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
|
||||
</PropertyGroup>
|
||||
<Error Condition="!Exists('..\packages\Xamarin.Android.Support.Vector.Drawable.23.3.0\build\Xamarin.Android.Support.Vector.Drawable.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Xamarin.Android.Support.Vector.Drawable.23.3.0\build\Xamarin.Android.Support.Vector.Drawable.targets'))" />
|
||||
<Error Condition="!Exists('..\packages\Xamarin.Forms.2.3.0.38-pre2\build\portable-win+net45+wp80+win81+wpa81+MonoAndroid10+MonoTouch10+Xamarin.iOS10\Xamarin.Forms.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Xamarin.Forms.2.3.0.38-pre2\build\portable-win+net45+wp80+win81+wpa81+MonoAndroid10+MonoTouch10+Xamarin.iOS10\Xamarin.Forms.targets'))" />
|
||||
</Target>
|
||||
<Import Project="..\packages\Xamarin.Forms.2.3.0.38-pre2\build\portable-win+net45+wp80+win81+wpa81+MonoAndroid10+MonoTouch10+Xamarin.iOS10\Xamarin.Forms.targets" Condition="Exists('..\packages\Xamarin.Forms.2.3.0.38-pre2\build\portable-win+net45+wp80+win81+wpa81+MonoAndroid10+MonoTouch10+Xamarin.iOS10\Xamarin.Forms.targets')" />
|
||||
</Project>
|
|
@ -1,10 +1,13 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="SkiaSharp" version="1.49.3.0-beta" targetFramework="MonoAndroid60" />
|
||||
<package id="Xamarin.Android.Support.Design" version="23.0.1.3" targetFramework="MonoAndroid60" />
|
||||
<package id="Xamarin.Android.Support.v4" version="23.0.1.3" targetFramework="MonoAndroid60" />
|
||||
<package id="Xamarin.Android.Support.v7.AppCompat" version="23.0.1.3" targetFramework="MonoAndroid60" />
|
||||
<package id="Xamarin.Android.Support.v7.CardView" version="23.0.1.3" targetFramework="MonoAndroid60" />
|
||||
<package id="Xamarin.Android.Support.v7.MediaRouter" version="23.0.1.3" targetFramework="MonoAndroid60" />
|
||||
<package id="Xamarin.Forms" version="2.1.0.6529" targetFramework="MonoAndroid60" />
|
||||
<package id="SkiaSharp" version="1.49.3.0-beta" targetFramework="monoandroid60" />
|
||||
<package id="Xamarin.Android.Support.Animated.Vector.Drawable" version="23.3.0" targetFramework="monoandroid60" />
|
||||
<package id="Xamarin.Android.Support.Design" version="23.3.0" targetFramework="monoandroid60" />
|
||||
<package id="Xamarin.Android.Support.v4" version="23.3.0" targetFramework="monoandroid60" />
|
||||
<package id="Xamarin.Android.Support.v7.AppCompat" version="23.3.0" targetFramework="monoandroid60" />
|
||||
<package id="Xamarin.Android.Support.v7.CardView" version="23.3.0" targetFramework="monoandroid60" />
|
||||
<package id="Xamarin.Android.Support.v7.MediaRouter" version="23.3.0" targetFramework="monoandroid60" />
|
||||
<package id="Xamarin.Android.Support.v7.RecyclerView" version="23.3.0" targetFramework="monoandroid60" />
|
||||
<package id="Xamarin.Android.Support.Vector.Drawable" version="23.3.0" targetFramework="monoandroid60" />
|
||||
<package id="Xamarin.Forms" version="2.3.0.38-pre2" targetFramework="monoandroid60" />
|
||||
</packages>
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
|
@ -10,6 +10,8 @@
|
|||
<AssemblyName>Skia.Forms.Demo</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
|
||||
<TargetFrameworkProfile>Profile78</TargetFrameworkProfile>
|
||||
<NuGetPackageImportStamp>
|
||||
</NuGetPackageImportStamp>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
|
@ -30,18 +32,21 @@
|
|||
<ConsolePause>false</ConsolePause>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="Xamarin.Forms.Core">
|
||||
<HintPath>packages\Xamarin.Forms.2.1.0.6529\lib\portable-win+net45+wp80+win81+wpa81+MonoAndroid10+MonoTouch10+Xamarin.iOS10\Xamarin.Forms.Core.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Xamarin.Forms.Xaml">
|
||||
<HintPath>packages\Xamarin.Forms.2.1.0.6529\lib\portable-win+net45+wp80+win81+wpa81+MonoAndroid10+MonoTouch10+Xamarin.iOS10\Xamarin.Forms.Xaml.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Xamarin.Forms.Platform">
|
||||
<HintPath>packages\Xamarin.Forms.2.1.0.6529\lib\portable-win+net45+wp80+win81+wpa81+MonoAndroid10+MonoTouch10+Xamarin.iOS10\Xamarin.Forms.Platform.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="SkiaSharp">
|
||||
<Reference Include="SkiaSharp, Version=1.49.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>packages\SkiaSharp.1.49.3.0-beta\lib\portable-net45+xamarinmac+xamarinios+monotouch+monoandroid+win8+wpa81+wp8+xamarin.watchos+xamarin.tvos\SkiaSharp.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="Xamarin.Forms.Core, Version=2.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>packages\Xamarin.Forms.2.3.0.38-pre2\lib\portable-win+net45+wp80+win81+wpa81+MonoAndroid10+MonoTouch10+Xamarin.iOS10\Xamarin.Forms.Core.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="Xamarin.Forms.Platform, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>packages\Xamarin.Forms.2.3.0.38-pre2\lib\portable-win+net45+wp80+win81+wpa81+MonoAndroid10+MonoTouch10+Xamarin.iOS10\Xamarin.Forms.Platform.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="Xamarin.Forms.Xaml, Version=2.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>packages\Xamarin.Forms.2.3.0.38-pre2\lib\portable-win+net45+wp80+win81+wpa81+MonoAndroid10+MonoTouch10+Xamarin.iOS10\Xamarin.Forms.Xaml.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
|
@ -69,4 +74,11 @@
|
|||
</ItemGroup>
|
||||
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\Portable\$(TargetFrameworkVersion)\Microsoft.Portable.CSharp.targets" />
|
||||
<Import Project="packages\Xamarin.Forms.2.1.0.6529\build\portable-win+net45+wp80+win81+wpa81+MonoAndroid10+MonoTouch10+Xamarin.iOS10\Xamarin.Forms.targets" Condition="Exists('packages\Xamarin.Forms.2.1.0.6529\build\portable-win+net45+wp80+win81+wpa81+MonoAndroid10+MonoTouch10+Xamarin.iOS10\Xamarin.Forms.targets')" />
|
||||
<Import Project="packages\Xamarin.Forms.2.3.0.38-pre2\build\portable-win+net45+wp80+win81+wpa81+MonoAndroid10+MonoTouch10+Xamarin.iOS10\Xamarin.Forms.targets" Condition="Exists('packages\Xamarin.Forms.2.3.0.38-pre2\build\portable-win+net45+wp80+win81+wpa81+MonoAndroid10+MonoTouch10+Xamarin.iOS10\Xamarin.Forms.targets')" />
|
||||
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
|
||||
<PropertyGroup>
|
||||
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
|
||||
</PropertyGroup>
|
||||
<Error Condition="!Exists('packages\Xamarin.Forms.2.3.0.38-pre2\build\portable-win+net45+wp80+win81+wpa81+MonoAndroid10+MonoTouch10+Xamarin.iOS10\Xamarin.Forms.targets')" Text="$([System.String]::Format('$(ErrorText)', 'packages\Xamarin.Forms.2.3.0.38-pre2\build\portable-win+net45+wp80+win81+wpa81+MonoAndroid10+MonoTouch10+Xamarin.iOS10\Xamarin.Forms.targets'))" />
|
||||
</Target>
|
||||
</Project>
|
|
@ -1,57 +1,156 @@
|
|||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio 2012
|
||||
# Visual Studio 14
|
||||
VisualStudioVersion = 14.0.25123.0
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Skia.Forms.Demo", "Skia.Forms.Demo.csproj", "{F750563C-EF08-4BCB-AF58-C98C307B01B5}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Skia.Forms.Demo.iOS", "iOS\Skia.Forms.Demo.iOS.csproj", "{70C7A375-2DF5-4E33-9A92-149F46DBB944}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Skia.Forms.Demo.Droid", "Droid\Skia.Forms.Demo.Droid.csproj", "{E2A02581-8F55-400F-951C-691EADFD7D3A}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Skia.Forms.Demo.UWP", "UWP\Skia.Forms.Demo.UWP.csproj", "{73D4386D-3DF8-42A9-AA38-73ADF4A1E5BD}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
Debug|ARM = Debug|ARM
|
||||
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|iPhone = Release|iPhone
|
||||
Release|iPhoneSimulator = Release|iPhoneSimulator
|
||||
Debug|iPhone = Debug|iPhone
|
||||
Release|x64 = Release|x64
|
||||
Release|x86 = Release|x86
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{70C7A375-2DF5-4E33-9A92-149F46DBB944}.Debug|Any CPU.ActiveCfg = Debug|iPhoneSimulator
|
||||
{70C7A375-2DF5-4E33-9A92-149F46DBB944}.Debug|Any CPU.Build.0 = Debug|iPhoneSimulator
|
||||
{70C7A375-2DF5-4E33-9A92-149F46DBB944}.Debug|iPhone.ActiveCfg = Debug|iPhone
|
||||
{70C7A375-2DF5-4E33-9A92-149F46DBB944}.Debug|iPhone.Build.0 = Debug|iPhone
|
||||
{70C7A375-2DF5-4E33-9A92-149F46DBB944}.Debug|iPhoneSimulator.ActiveCfg = Debug|iPhoneSimulator
|
||||
{70C7A375-2DF5-4E33-9A92-149F46DBB944}.Debug|iPhoneSimulator.Build.0 = Debug|iPhoneSimulator
|
||||
{70C7A375-2DF5-4E33-9A92-149F46DBB944}.Release|Any CPU.ActiveCfg = Release|iPhone
|
||||
{70C7A375-2DF5-4E33-9A92-149F46DBB944}.Release|Any CPU.Build.0 = Release|iPhone
|
||||
{70C7A375-2DF5-4E33-9A92-149F46DBB944}.Release|iPhone.ActiveCfg = Release|iPhone
|
||||
{70C7A375-2DF5-4E33-9A92-149F46DBB944}.Release|iPhone.Build.0 = Release|iPhone
|
||||
{70C7A375-2DF5-4E33-9A92-149F46DBB944}.Release|iPhoneSimulator.ActiveCfg = Release|iPhoneSimulator
|
||||
{70C7A375-2DF5-4E33-9A92-149F46DBB944}.Release|iPhoneSimulator.Build.0 = Release|iPhoneSimulator
|
||||
{E2A02581-8F55-400F-951C-691EADFD7D3A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{E2A02581-8F55-400F-951C-691EADFD7D3A}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{E2A02581-8F55-400F-951C-691EADFD7D3A}.Debug|iPhone.ActiveCfg = Debug|Any CPU
|
||||
{E2A02581-8F55-400F-951C-691EADFD7D3A}.Debug|iPhone.Build.0 = Debug|Any CPU
|
||||
{E2A02581-8F55-400F-951C-691EADFD7D3A}.Debug|iPhoneSimulator.ActiveCfg = Debug|Any CPU
|
||||
{E2A02581-8F55-400F-951C-691EADFD7D3A}.Debug|iPhoneSimulator.Build.0 = Debug|Any CPU
|
||||
{E2A02581-8F55-400F-951C-691EADFD7D3A}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{E2A02581-8F55-400F-951C-691EADFD7D3A}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{E2A02581-8F55-400F-951C-691EADFD7D3A}.Release|iPhone.ActiveCfg = Release|Any CPU
|
||||
{E2A02581-8F55-400F-951C-691EADFD7D3A}.Release|iPhone.Build.0 = Release|Any CPU
|
||||
{E2A02581-8F55-400F-951C-691EADFD7D3A}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU
|
||||
{E2A02581-8F55-400F-951C-691EADFD7D3A}.Release|iPhoneSimulator.Build.0 = Release|Any CPU
|
||||
{F750563C-EF08-4BCB-AF58-C98C307B01B5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{F750563C-EF08-4BCB-AF58-C98C307B01B5}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{F750563C-EF08-4BCB-AF58-C98C307B01B5}.Debug|ARM.ActiveCfg = Debug|Any CPU
|
||||
{F750563C-EF08-4BCB-AF58-C98C307B01B5}.Debug|ARM.Build.0 = Debug|Any CPU
|
||||
{F750563C-EF08-4BCB-AF58-C98C307B01B5}.Debug|iPhone.ActiveCfg = Debug|Any CPU
|
||||
{F750563C-EF08-4BCB-AF58-C98C307B01B5}.Debug|iPhone.Build.0 = Debug|Any CPU
|
||||
{F750563C-EF08-4BCB-AF58-C98C307B01B5}.Debug|iPhoneSimulator.ActiveCfg = Debug|Any CPU
|
||||
{F750563C-EF08-4BCB-AF58-C98C307B01B5}.Debug|iPhoneSimulator.Build.0 = Debug|Any CPU
|
||||
{F750563C-EF08-4BCB-AF58-C98C307B01B5}.Debug|x64.ActiveCfg = Debug|Any CPU
|
||||
{F750563C-EF08-4BCB-AF58-C98C307B01B5}.Debug|x64.Build.0 = Debug|Any CPU
|
||||
{F750563C-EF08-4BCB-AF58-C98C307B01B5}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||
{F750563C-EF08-4BCB-AF58-C98C307B01B5}.Debug|x86.Build.0 = Debug|Any CPU
|
||||
{F750563C-EF08-4BCB-AF58-C98C307B01B5}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{F750563C-EF08-4BCB-AF58-C98C307B01B5}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{F750563C-EF08-4BCB-AF58-C98C307B01B5}.Release|ARM.ActiveCfg = Release|Any CPU
|
||||
{F750563C-EF08-4BCB-AF58-C98C307B01B5}.Release|ARM.Build.0 = Release|Any CPU
|
||||
{F750563C-EF08-4BCB-AF58-C98C307B01B5}.Release|iPhone.ActiveCfg = Release|Any CPU
|
||||
{F750563C-EF08-4BCB-AF58-C98C307B01B5}.Release|iPhone.Build.0 = Release|Any CPU
|
||||
{F750563C-EF08-4BCB-AF58-C98C307B01B5}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU
|
||||
{F750563C-EF08-4BCB-AF58-C98C307B01B5}.Release|iPhoneSimulator.Build.0 = Release|Any CPU
|
||||
{F750563C-EF08-4BCB-AF58-C98C307B01B5}.Release|iPhoneSimulator.Deploy.0 = Release|Any CPU
|
||||
{F750563C-EF08-4BCB-AF58-C98C307B01B5}.Release|x64.ActiveCfg = Release|Any CPU
|
||||
{F750563C-EF08-4BCB-AF58-C98C307B01B5}.Release|x64.Build.0 = Release|Any CPU
|
||||
{F750563C-EF08-4BCB-AF58-C98C307B01B5}.Release|x86.ActiveCfg = Release|Any CPU
|
||||
{F750563C-EF08-4BCB-AF58-C98C307B01B5}.Release|x86.Build.0 = Release|Any CPU
|
||||
{70C7A375-2DF5-4E33-9A92-149F46DBB944}.Debug|Any CPU.ActiveCfg = Debug|iPhoneSimulator
|
||||
{70C7A375-2DF5-4E33-9A92-149F46DBB944}.Debug|Any CPU.Build.0 = Debug|iPhoneSimulator
|
||||
{70C7A375-2DF5-4E33-9A92-149F46DBB944}.Debug|ARM.ActiveCfg = Debug|iPhone
|
||||
{70C7A375-2DF5-4E33-9A92-149F46DBB944}.Debug|ARM.Build.0 = Debug|iPhone
|
||||
{70C7A375-2DF5-4E33-9A92-149F46DBB944}.Debug|iPhone.ActiveCfg = Debug|iPhone
|
||||
{70C7A375-2DF5-4E33-9A92-149F46DBB944}.Debug|iPhone.Build.0 = Debug|iPhone
|
||||
{70C7A375-2DF5-4E33-9A92-149F46DBB944}.Debug|iPhoneSimulator.ActiveCfg = Debug|iPhoneSimulator
|
||||
{70C7A375-2DF5-4E33-9A92-149F46DBB944}.Debug|iPhoneSimulator.Build.0 = Debug|iPhoneSimulator
|
||||
{70C7A375-2DF5-4E33-9A92-149F46DBB944}.Debug|x64.ActiveCfg = Debug|iPhoneSimulator
|
||||
{70C7A375-2DF5-4E33-9A92-149F46DBB944}.Debug|x64.Build.0 = Debug|iPhoneSimulator
|
||||
{70C7A375-2DF5-4E33-9A92-149F46DBB944}.Debug|x86.ActiveCfg = Debug|iPhoneSimulator
|
||||
{70C7A375-2DF5-4E33-9A92-149F46DBB944}.Debug|x86.Build.0 = Debug|iPhoneSimulator
|
||||
{70C7A375-2DF5-4E33-9A92-149F46DBB944}.Release|Any CPU.ActiveCfg = Release|iPhoneSimulator
|
||||
{70C7A375-2DF5-4E33-9A92-149F46DBB944}.Release|Any CPU.Build.0 = Release|iPhoneSimulator
|
||||
{70C7A375-2DF5-4E33-9A92-149F46DBB944}.Release|ARM.ActiveCfg = Release|iPhone
|
||||
{70C7A375-2DF5-4E33-9A92-149F46DBB944}.Release|ARM.Build.0 = Release|iPhone
|
||||
{70C7A375-2DF5-4E33-9A92-149F46DBB944}.Release|iPhone.ActiveCfg = Release|iPhone
|
||||
{70C7A375-2DF5-4E33-9A92-149F46DBB944}.Release|iPhone.Build.0 = Release|iPhone
|
||||
{70C7A375-2DF5-4E33-9A92-149F46DBB944}.Release|iPhoneSimulator.ActiveCfg = Release|iPhoneSimulator
|
||||
{70C7A375-2DF5-4E33-9A92-149F46DBB944}.Release|iPhoneSimulator.Build.0 = Release|iPhoneSimulator
|
||||
{70C7A375-2DF5-4E33-9A92-149F46DBB944}.Release|iPhoneSimulator.Deploy.0 = Release|iPhoneSimulator
|
||||
{70C7A375-2DF5-4E33-9A92-149F46DBB944}.Release|x64.ActiveCfg = Release|iPhoneSimulator
|
||||
{70C7A375-2DF5-4E33-9A92-149F46DBB944}.Release|x64.Build.0 = Release|iPhoneSimulator
|
||||
{70C7A375-2DF5-4E33-9A92-149F46DBB944}.Release|x86.ActiveCfg = Release|iPhoneSimulator
|
||||
{70C7A375-2DF5-4E33-9A92-149F46DBB944}.Release|x86.Build.0 = Release|iPhoneSimulator
|
||||
{E2A02581-8F55-400F-951C-691EADFD7D3A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{E2A02581-8F55-400F-951C-691EADFD7D3A}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{E2A02581-8F55-400F-951C-691EADFD7D3A}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
|
||||
{E2A02581-8F55-400F-951C-691EADFD7D3A}.Debug|ARM.ActiveCfg = Debug|Any CPU
|
||||
{E2A02581-8F55-400F-951C-691EADFD7D3A}.Debug|ARM.Build.0 = Debug|Any CPU
|
||||
{E2A02581-8F55-400F-951C-691EADFD7D3A}.Debug|ARM.Deploy.0 = Debug|Any CPU
|
||||
{E2A02581-8F55-400F-951C-691EADFD7D3A}.Debug|iPhone.ActiveCfg = Debug|Any CPU
|
||||
{E2A02581-8F55-400F-951C-691EADFD7D3A}.Debug|iPhone.Build.0 = Debug|Any CPU
|
||||
{E2A02581-8F55-400F-951C-691EADFD7D3A}.Debug|iPhone.Deploy.0 = Debug|Any CPU
|
||||
{E2A02581-8F55-400F-951C-691EADFD7D3A}.Debug|iPhoneSimulator.ActiveCfg = Debug|Any CPU
|
||||
{E2A02581-8F55-400F-951C-691EADFD7D3A}.Debug|iPhoneSimulator.Build.0 = Debug|Any CPU
|
||||
{E2A02581-8F55-400F-951C-691EADFD7D3A}.Debug|iPhoneSimulator.Deploy.0 = Debug|Any CPU
|
||||
{E2A02581-8F55-400F-951C-691EADFD7D3A}.Debug|x64.ActiveCfg = Debug|Any CPU
|
||||
{E2A02581-8F55-400F-951C-691EADFD7D3A}.Debug|x64.Build.0 = Debug|Any CPU
|
||||
{E2A02581-8F55-400F-951C-691EADFD7D3A}.Debug|x64.Deploy.0 = Debug|Any CPU
|
||||
{E2A02581-8F55-400F-951C-691EADFD7D3A}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||
{E2A02581-8F55-400F-951C-691EADFD7D3A}.Debug|x86.Build.0 = Debug|Any CPU
|
||||
{E2A02581-8F55-400F-951C-691EADFD7D3A}.Debug|x86.Deploy.0 = Debug|Any CPU
|
||||
{E2A02581-8F55-400F-951C-691EADFD7D3A}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{E2A02581-8F55-400F-951C-691EADFD7D3A}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{E2A02581-8F55-400F-951C-691EADFD7D3A}.Release|Any CPU.Deploy.0 = Release|Any CPU
|
||||
{E2A02581-8F55-400F-951C-691EADFD7D3A}.Release|ARM.ActiveCfg = Release|Any CPU
|
||||
{E2A02581-8F55-400F-951C-691EADFD7D3A}.Release|ARM.Build.0 = Release|Any CPU
|
||||
{E2A02581-8F55-400F-951C-691EADFD7D3A}.Release|ARM.Deploy.0 = Release|Any CPU
|
||||
{E2A02581-8F55-400F-951C-691EADFD7D3A}.Release|iPhone.ActiveCfg = Release|Any CPU
|
||||
{E2A02581-8F55-400F-951C-691EADFD7D3A}.Release|iPhone.Build.0 = Release|Any CPU
|
||||
{E2A02581-8F55-400F-951C-691EADFD7D3A}.Release|iPhone.Deploy.0 = Release|Any CPU
|
||||
{E2A02581-8F55-400F-951C-691EADFD7D3A}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU
|
||||
{E2A02581-8F55-400F-951C-691EADFD7D3A}.Release|iPhoneSimulator.Build.0 = Release|Any CPU
|
||||
{E2A02581-8F55-400F-951C-691EADFD7D3A}.Release|iPhoneSimulator.Deploy.0 = Release|Any CPU
|
||||
{E2A02581-8F55-400F-951C-691EADFD7D3A}.Release|x64.ActiveCfg = Release|Any CPU
|
||||
{E2A02581-8F55-400F-951C-691EADFD7D3A}.Release|x64.Build.0 = Release|Any CPU
|
||||
{E2A02581-8F55-400F-951C-691EADFD7D3A}.Release|x64.Deploy.0 = Release|Any CPU
|
||||
{E2A02581-8F55-400F-951C-691EADFD7D3A}.Release|x86.ActiveCfg = Release|Any CPU
|
||||
{E2A02581-8F55-400F-951C-691EADFD7D3A}.Release|x86.Build.0 = Release|Any CPU
|
||||
{E2A02581-8F55-400F-951C-691EADFD7D3A}.Release|x86.Deploy.0 = Release|Any CPU
|
||||
{73D4386D-3DF8-42A9-AA38-73ADF4A1E5BD}.Debug|Any CPU.ActiveCfg = Debug|x64
|
||||
{73D4386D-3DF8-42A9-AA38-73ADF4A1E5BD}.Debug|Any CPU.Build.0 = Debug|x64
|
||||
{73D4386D-3DF8-42A9-AA38-73ADF4A1E5BD}.Debug|Any CPU.Deploy.0 = Debug|x64
|
||||
{73D4386D-3DF8-42A9-AA38-73ADF4A1E5BD}.Debug|ARM.ActiveCfg = Debug|ARM
|
||||
{73D4386D-3DF8-42A9-AA38-73ADF4A1E5BD}.Debug|ARM.Build.0 = Debug|ARM
|
||||
{73D4386D-3DF8-42A9-AA38-73ADF4A1E5BD}.Debug|ARM.Deploy.0 = Debug|ARM
|
||||
{73D4386D-3DF8-42A9-AA38-73ADF4A1E5BD}.Debug|iPhone.ActiveCfg = Debug|ARM
|
||||
{73D4386D-3DF8-42A9-AA38-73ADF4A1E5BD}.Debug|iPhone.Build.0 = Debug|ARM
|
||||
{73D4386D-3DF8-42A9-AA38-73ADF4A1E5BD}.Debug|iPhone.Deploy.0 = Debug|ARM
|
||||
{73D4386D-3DF8-42A9-AA38-73ADF4A1E5BD}.Debug|iPhoneSimulator.ActiveCfg = Debug|x64
|
||||
{73D4386D-3DF8-42A9-AA38-73ADF4A1E5BD}.Debug|iPhoneSimulator.Build.0 = Debug|x64
|
||||
{73D4386D-3DF8-42A9-AA38-73ADF4A1E5BD}.Debug|iPhoneSimulator.Deploy.0 = Debug|x64
|
||||
{73D4386D-3DF8-42A9-AA38-73ADF4A1E5BD}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{73D4386D-3DF8-42A9-AA38-73ADF4A1E5BD}.Debug|x64.Build.0 = Debug|x64
|
||||
{73D4386D-3DF8-42A9-AA38-73ADF4A1E5BD}.Debug|x64.Deploy.0 = Debug|x64
|
||||
{73D4386D-3DF8-42A9-AA38-73ADF4A1E5BD}.Debug|x86.ActiveCfg = Debug|x86
|
||||
{73D4386D-3DF8-42A9-AA38-73ADF4A1E5BD}.Debug|x86.Build.0 = Debug|x86
|
||||
{73D4386D-3DF8-42A9-AA38-73ADF4A1E5BD}.Debug|x86.Deploy.0 = Debug|x86
|
||||
{73D4386D-3DF8-42A9-AA38-73ADF4A1E5BD}.Release|Any CPU.ActiveCfg = Release|x64
|
||||
{73D4386D-3DF8-42A9-AA38-73ADF4A1E5BD}.Release|Any CPU.Build.0 = Release|x64
|
||||
{73D4386D-3DF8-42A9-AA38-73ADF4A1E5BD}.Release|Any CPU.Deploy.0 = Release|x64
|
||||
{73D4386D-3DF8-42A9-AA38-73ADF4A1E5BD}.Release|ARM.ActiveCfg = Release|ARM
|
||||
{73D4386D-3DF8-42A9-AA38-73ADF4A1E5BD}.Release|ARM.Build.0 = Release|ARM
|
||||
{73D4386D-3DF8-42A9-AA38-73ADF4A1E5BD}.Release|ARM.Deploy.0 = Release|ARM
|
||||
{73D4386D-3DF8-42A9-AA38-73ADF4A1E5BD}.Release|iPhone.ActiveCfg = Release|ARM
|
||||
{73D4386D-3DF8-42A9-AA38-73ADF4A1E5BD}.Release|iPhone.Build.0 = Release|ARM
|
||||
{73D4386D-3DF8-42A9-AA38-73ADF4A1E5BD}.Release|iPhone.Deploy.0 = Release|ARM
|
||||
{73D4386D-3DF8-42A9-AA38-73ADF4A1E5BD}.Release|iPhoneSimulator.ActiveCfg = Release|x64
|
||||
{73D4386D-3DF8-42A9-AA38-73ADF4A1E5BD}.Release|iPhoneSimulator.Build.0 = Release|x64
|
||||
{73D4386D-3DF8-42A9-AA38-73ADF4A1E5BD}.Release|iPhoneSimulator.Deploy.0 = Release|x64
|
||||
{73D4386D-3DF8-42A9-AA38-73ADF4A1E5BD}.Release|x64.ActiveCfg = Release|x64
|
||||
{73D4386D-3DF8-42A9-AA38-73ADF4A1E5BD}.Release|x64.Build.0 = Release|x64
|
||||
{73D4386D-3DF8-42A9-AA38-73ADF4A1E5BD}.Release|x64.Deploy.0 = Release|x64
|
||||
{73D4386D-3DF8-42A9-AA38-73ADF4A1E5BD}.Release|x86.ActiveCfg = Release|x86
|
||||
{73D4386D-3DF8-42A9-AA38-73ADF4A1E5BD}.Release|x86.Build.0 = Release|x86
|
||||
{73D4386D-3DF8-42A9-AA38-73ADF4A1E5BD}.Release|x86.Deploy.0 = Release|x86
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
<Application
|
||||
x:Class="Skia.Forms.Demo.UWP.App"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:local="using:Skia.Forms.Demo.UWP"
|
||||
RequestedTheme="Light">
|
||||
|
||||
</Application>
|
|
@ -0,0 +1,59 @@
|
|||
using System;
|
||||
using Windows.ApplicationModel;
|
||||
using Windows.ApplicationModel.Activation;
|
||||
using Windows.UI.Xaml;
|
||||
using Windows.UI.Xaml.Controls;
|
||||
using Windows.UI.Xaml.Navigation;
|
||||
|
||||
namespace Skia.Forms.Demo.UWP
|
||||
{
|
||||
sealed partial class App : Application
|
||||
{
|
||||
public App ()
|
||||
{
|
||||
this.InitializeComponent ();
|
||||
this.Suspending += OnSuspending;
|
||||
}
|
||||
|
||||
protected override void OnLaunched (LaunchActivatedEventArgs e)
|
||||
{
|
||||
#if DEBUG
|
||||
if (System.Diagnostics.Debugger.IsAttached) {
|
||||
this.DebugSettings.EnableFrameRateCounter = true;
|
||||
}
|
||||
#endif
|
||||
|
||||
Frame rootFrame = Window.Current.Content as Frame;
|
||||
|
||||
if (rootFrame == null) {
|
||||
rootFrame = new Frame ();
|
||||
rootFrame.NavigationFailed += OnNavigationFailed;
|
||||
|
||||
Xamarin.Forms.Forms.Init (e);
|
||||
|
||||
if (e.PreviousExecutionState == ApplicationExecutionState.Terminated) {
|
||||
//TODO: Load state from previously suspended application
|
||||
}
|
||||
|
||||
Window.Current.Content = rootFrame;
|
||||
}
|
||||
|
||||
if (rootFrame.Content == null) {
|
||||
rootFrame.Navigate (typeof(MainPage), e.Arguments);
|
||||
}
|
||||
Window.Current.Activate ();
|
||||
}
|
||||
|
||||
private void OnNavigationFailed (object sender, NavigationFailedEventArgs e)
|
||||
{
|
||||
throw new Exception ("Failed to load Page " + e.SourcePageType.FullName);
|
||||
}
|
||||
|
||||
private void OnSuspending (object sender, SuspendingEventArgs e)
|
||||
{
|
||||
var deferral = e.SuspendingOperation.GetDeferral ();
|
||||
//TODO: Save application state and stop any background activity
|
||||
deferral.Complete ();
|
||||
}
|
||||
}
|
||||
}
|
После Ширина: | Высота: | Размер: 1.4 KiB |
После Ширина: | Высота: | Размер: 7.5 KiB |
После Ширина: | Высота: | Размер: 2.9 KiB |
После Ширина: | Высота: | Размер: 1.6 KiB |
Двоичные данные
samples/Skia.Forms.Demo/UWP/Assets/Square44x44Logo.targetsize-24_altform-unplated.png
Normal file
После Ширина: | Высота: | Размер: 1.2 KiB |
После Ширина: | Высота: | Размер: 1.4 KiB |
После Ширина: | Высота: | Размер: 3.1 KiB |
|
@ -0,0 +1,15 @@
|
|||
<forms:WindowsPage
|
||||
x:Class="Skia.Forms.Demo.UWP.MainPage"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:forms="using:Xamarin.Forms.Platform.UWP"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:local="using:Skia.Forms.Demo.UWP"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
mc:Ignorable="d"
|
||||
Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
|
||||
|
||||
<Grid Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
|
||||
|
||||
</Grid>
|
||||
</forms:WindowsPage>
|
|
@ -0,0 +1,19 @@
|
|||
using System.IO;
|
||||
using Windows.ApplicationModel;
|
||||
|
||||
namespace Skia.Forms.Demo.UWP
|
||||
{
|
||||
public sealed partial class MainPage
|
||||
{
|
||||
public MainPage ()
|
||||
{
|
||||
// set up resource paths
|
||||
string fontName = "content-font.ttf";
|
||||
SkiaSharp.Demos.CustomFontPath = Path.Combine (Package.Current.InstalledLocation.Path, "Assets", fontName);
|
||||
|
||||
this.InitializeComponent ();
|
||||
|
||||
LoadApplication (new Skia.Forms.Demo.App ());
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,75 @@
|
|||
using System;
|
||||
using System.IO;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Runtime.InteropServices.WindowsRuntime;
|
||||
using Windows.Graphics.Display;
|
||||
using Windows.UI.Xaml;
|
||||
using Windows.UI.Xaml.Controls;
|
||||
using Windows.UI.Xaml.Media;
|
||||
using Windows.UI.Xaml.Media.Imaging;
|
||||
using SkiaSharp;
|
||||
|
||||
namespace Skia.Forms.Demo.UWP
|
||||
{
|
||||
public partial class NativeSkiaView : Canvas
|
||||
{
|
||||
ISkiaViewController skiaView;
|
||||
|
||||
public NativeSkiaView (SkiaView skiaView)
|
||||
{
|
||||
this.skiaView = skiaView;
|
||||
this.SizeChanged += OnSizeChanged;
|
||||
}
|
||||
|
||||
private void UpdateBitmap()
|
||||
{
|
||||
var resolutionScale = DisplayInformation.GetForCurrentView ().ResolutionScale;
|
||||
var screenScale = (float)resolutionScale / 100.0f;
|
||||
var width = (int)(ActualWidth * screenScale);
|
||||
var height = (int)(ActualHeight * screenScale);
|
||||
|
||||
if (width == 0 || height == 0)
|
||||
return;
|
||||
|
||||
IntPtr buff = Marshal.AllocCoTaskMem (width * height * 4);
|
||||
|
||||
try {
|
||||
using (var surface = SKSurface.Create (width, height, SKColorType.N_32, SKAlphaType.Premul, buff, width * 4)) {
|
||||
var skcanvas = surface.Canvas;
|
||||
skcanvas.Scale (screenScale, screenScale);
|
||||
using (new SKAutoCanvasRestore (skcanvas, true)) {
|
||||
skiaView.SendDraw (skcanvas);
|
||||
}
|
||||
}
|
||||
|
||||
var pixels = new byte[width * height * 4];
|
||||
Marshal.Copy (buff, pixels, 0, pixels.Length);
|
||||
|
||||
var bitmap = new WriteableBitmap (width, height);
|
||||
|
||||
var stream = bitmap.PixelBuffer.AsStream ();
|
||||
stream.Seek (0, SeekOrigin.Begin);
|
||||
stream.Write (pixels, 0, pixels.Length);
|
||||
|
||||
bitmap.Invalidate ();
|
||||
|
||||
var b = bitmap;
|
||||
Background = new ImageBrush {
|
||||
ImageSource = b,
|
||||
AlignmentX = AlignmentX.Center,
|
||||
AlignmentY = AlignmentY.Center,
|
||||
Stretch = Stretch.Fill
|
||||
};
|
||||
} finally {
|
||||
if (buff != IntPtr.Zero) {
|
||||
Marshal.FreeCoTaskMem (buff);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void OnSizeChanged(object sender, SizeChangedEventArgs e)
|
||||
{
|
||||
UpdateBitmap ();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,49 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<Package
|
||||
xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10"
|
||||
xmlns:mp="http://schemas.microsoft.com/appx/2014/phone/manifest"
|
||||
xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10"
|
||||
IgnorableNamespaces="uap mp">
|
||||
|
||||
<Identity
|
||||
Name="f736c883-f105-4d30-a719-4bf328872f5e"
|
||||
Publisher="CN=joaqu"
|
||||
Version="1.0.0.0" />
|
||||
|
||||
<mp:PhoneIdentity PhoneProductId="f736c883-f105-4d30-a719-4bf328872f5e" PhonePublisherId="00000000-0000-0000-0000-000000000000"/>
|
||||
|
||||
<Properties>
|
||||
<DisplayName>FPCL.WIndows</DisplayName>
|
||||
<PublisherDisplayName>joaqu</PublisherDisplayName>
|
||||
<Logo>Assets\StoreLogo.png</Logo>
|
||||
</Properties>
|
||||
|
||||
<Dependencies>
|
||||
<TargetDeviceFamily Name="Windows.Universal" MinVersion="10.0.0.0" MaxVersionTested="10.0.0.0" />
|
||||
</Dependencies>
|
||||
|
||||
<Resources>
|
||||
<Resource Language="x-generate"/>
|
||||
</Resources>
|
||||
|
||||
<Applications>
|
||||
<Application Id="App"
|
||||
Executable="$targetnametoken$.exe"
|
||||
EntryPoint="FPCL.WIndows.App">
|
||||
<uap:VisualElements
|
||||
DisplayName="FPCL.WIndows"
|
||||
Square150x150Logo="Assets\Square150x150Logo.png"
|
||||
Square44x44Logo="Assets\Square44x44Logo.png"
|
||||
Description="FPCL.WIndows"
|
||||
BackgroundColor="transparent">
|
||||
<uap:DefaultTile Wide310x150Logo="Assets\Wide310x150Logo.png"/>
|
||||
<uap:SplashScreen Image="Assets\SplashScreen.png" />
|
||||
</uap:VisualElements>
|
||||
</Application>
|
||||
</Applications>
|
||||
|
||||
<Capabilities>
|
||||
<Capability Name="internetClient" />
|
||||
</Capabilities>
|
||||
</Package>
|
|
@ -0,0 +1,29 @@
|
|||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
// General Information about an assembly is controlled through the following
|
||||
// set of attributes. Change these attribute values to modify the information
|
||||
// associated with an assembly.
|
||||
[assembly: AssemblyTitle("Skia.Forms.Demo.UWP")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("")]
|
||||
[assembly: AssemblyProduct("Skia.Forms.Demo.UWP")]
|
||||
[assembly: AssemblyCopyright("Copyright © 2015")]
|
||||
[assembly: AssemblyTrademark("")]
|
||||
[assembly: AssemblyCulture("")]
|
||||
|
||||
// Version information for an assembly consists of the following four values:
|
||||
//
|
||||
// Major Version
|
||||
// Minor Version
|
||||
// Build Number
|
||||
// Revision
|
||||
//
|
||||
// You can specify all the values or you can default the Build and Revision Numbers
|
||||
// by using the '*' as shown below:
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion("1.0.0.0")]
|
||||
[assembly: AssemblyFileVersion("1.0.0.0")]
|
||||
[assembly: ComVisible(false)]
|
|
@ -0,0 +1,31 @@
|
|||
<!--
|
||||
This file contains Runtime Directives used by .NET Native. The defaults here are suitable for most
|
||||
developers. However, you can modify these parameters to modify the behavior of the .NET Native
|
||||
optimizer.
|
||||
|
||||
Runtime Directives are documented at http://go.microsoft.com/fwlink/?LinkID=391919
|
||||
|
||||
To fully enable reflection for App1.MyClass and all of its public/private members
|
||||
<Type Name="App1.MyClass" Dynamic="Required All"/>
|
||||
|
||||
To enable dynamic creation of the specific instantiation of AppClass<T> over System.Int32
|
||||
<TypeInstantiation Name="App1.AppClass" Arguments="System.Int32" Activate="Required Public" />
|
||||
|
||||
Using the Namespace directive to apply reflection policy to all the types in a particular namespace
|
||||
<Namespace Name="DataClasses.ViewModels" Seralize="All" />
|
||||
-->
|
||||
|
||||
<Directives xmlns="http://schemas.microsoft.com/netfx/2013/01/metadata">
|
||||
<Application>
|
||||
<!--
|
||||
An Assembly element with Name="*Application*" applies to all assemblies in
|
||||
the application package. The asterisks are not wildcards.
|
||||
-->
|
||||
<Assembly Name="*Application*" Dynamic="Required All" />
|
||||
|
||||
|
||||
<!-- Add your application specific runtime directives here. -->
|
||||
|
||||
|
||||
</Application>
|
||||
</Directives>
|
|
@ -0,0 +1,152 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">x86</Platform>
|
||||
<ProjectGuid>{73D4386D-3DF8-42A9-AA38-73ADF4A1E5BD}</ProjectGuid>
|
||||
<OutputType>AppContainerExe</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>Skia.Forms.Demo.UWP</RootNamespace>
|
||||
<AssemblyName>Skia.Forms.Demo.UWP</AssemblyName>
|
||||
<DefaultLanguage>en-US</DefaultLanguage>
|
||||
<TargetPlatformIdentifier>UAP</TargetPlatformIdentifier>
|
||||
<TargetPlatformVersion>10.0.10586.0</TargetPlatformVersion>
|
||||
<TargetPlatformMinVersion>10.0.10586.0</TargetPlatformMinVersion>
|
||||
<MinimumVisualStudioVersion>14</MinimumVisualStudioVersion>
|
||||
<EnableDotNetNativeCompatibleProfile>true</EnableDotNetNativeCompatibleProfile>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<ProjectTypeGuids>{A5A43C5B-DE2A-4C0C-9213-0A381AF9435A};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
|
||||
<PackageCertificateKeyFile>Windows_TemporaryKey.pfx</PackageCertificateKeyFile>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|ARM'">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<OutputPath>bin\ARM\Debug\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
|
||||
<NoWarn>;2008</NoWarn>
|
||||
<DebugType>full</DebugType>
|
||||
<PlatformTarget>ARM</PlatformTarget>
|
||||
<UseVSHostingProcess>false</UseVSHostingProcess>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<Prefer32Bit>true</Prefer32Bit>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|ARM'">
|
||||
<OutputPath>bin\ARM\Release\</OutputPath>
|
||||
<DefineConstants>TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
|
||||
<Optimize>true</Optimize>
|
||||
<NoWarn>;2008</NoWarn>
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<PlatformTarget>ARM</PlatformTarget>
|
||||
<UseVSHostingProcess>false</UseVSHostingProcess>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<Prefer32Bit>true</Prefer32Bit>
|
||||
<UseDotNetNativeToolchain>true</UseDotNetNativeToolchain>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<OutputPath>bin\x64\Debug\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
|
||||
<NoWarn>;2008</NoWarn>
|
||||
<DebugType>full</DebugType>
|
||||
<PlatformTarget>x64</PlatformTarget>
|
||||
<UseVSHostingProcess>false</UseVSHostingProcess>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<Prefer32Bit>true</Prefer32Bit>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
|
||||
<OutputPath>bin\x64\Release\</OutputPath>
|
||||
<DefineConstants>TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
|
||||
<Optimize>true</Optimize>
|
||||
<NoWarn>;2008</NoWarn>
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<PlatformTarget>x64</PlatformTarget>
|
||||
<UseVSHostingProcess>false</UseVSHostingProcess>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<Prefer32Bit>true</Prefer32Bit>
|
||||
<UseDotNetNativeToolchain>true</UseDotNetNativeToolchain>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<OutputPath>bin\x86\Debug\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
|
||||
<NoWarn>;2008</NoWarn>
|
||||
<DebugType>full</DebugType>
|
||||
<PlatformTarget>x86</PlatformTarget>
|
||||
<UseVSHostingProcess>false</UseVSHostingProcess>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<Prefer32Bit>true</Prefer32Bit>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
|
||||
<OutputPath>bin\x86\Release\</OutputPath>
|
||||
<DefineConstants>TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
|
||||
<Optimize>true</Optimize>
|
||||
<NoWarn>;2008</NoWarn>
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<PlatformTarget>x86</PlatformTarget>
|
||||
<UseVSHostingProcess>false</UseVSHostingProcess>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<Prefer32Bit>true</Prefer32Bit>
|
||||
<UseDotNetNativeToolchain>true</UseDotNetNativeToolchain>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<!-- A reference to the entire .Net Framework and Windows SDK are automatically included -->
|
||||
<Content Include="..\..\SharedDemo\content-font.ttf">
|
||||
<Link>Assets\content-font.ttf</Link>
|
||||
</Content>
|
||||
<None Include="project.json" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="App.xaml.cs">
|
||||
<DependentUpon>App.xaml</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="MainPage.xaml.cs">
|
||||
<DependentUpon>MainPage.xaml</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="NativeSkiaView.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="SkiaViewRenderer.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<AppxManifest Include="Package.appxmanifest">
|
||||
<SubType>Designer</SubType>
|
||||
</AppxManifest>
|
||||
<None Include="Windows_TemporaryKey.pfx" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="Properties\Default.rd.xml" />
|
||||
<Content Include="Assets\LockScreenLogo.scale-200.png" />
|
||||
<Content Include="Assets\SplashScreen.scale-200.png" />
|
||||
<Content Include="Assets\Square150x150Logo.scale-200.png" />
|
||||
<Content Include="Assets\Square44x44Logo.scale-200.png" />
|
||||
<Content Include="Assets\Square44x44Logo.targetsize-24_altform-unplated.png" />
|
||||
<Content Include="Assets\StoreLogo.png" />
|
||||
<Content Include="Assets\Wide310x150Logo.scale-200.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ApplicationDefinition Include="App.xaml">
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
<SubType>Designer</SubType>
|
||||
</ApplicationDefinition>
|
||||
<Page Include="MainPage.xaml">
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
<SubType>Designer</SubType>
|
||||
</Page>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\Skia.Forms.Demo.csproj">
|
||||
<Project>{f750563c-ef08-4bcb-af58-c98c307b01b5}</Project>
|
||||
<Name>Skia.Forms.Demo</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<PropertyGroup Condition=" '$(VisualStudioVersion)' == '' or '$(VisualStudioVersion)' < '14.0' ">
|
||||
<VisualStudioVersion>14.0</VisualStudioVersion>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(MSBuildExtensionsPath)\Microsoft\WindowsXaml\v$(VisualStudioVersion)\Microsoft.Windows.UI.Xaml.CSharp.targets" />
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
<Target Name="BeforeBuild">
|
||||
</Target>
|
||||
<Target Name="AfterBuild">
|
||||
</Target>
|
||||
-->
|
||||
</Project>
|
|
@ -0,0 +1,10 @@
|
|||
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
||||
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup Condition="'$(NuGetPackageRoot)' == ''">
|
||||
<NuGetPackageRoot>$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
|
||||
</PropertyGroup>
|
||||
<ImportGroup>
|
||||
<Import Project="$(NuGetPackageRoot)\SkiaSharp\1.49.3-beta\build\uap10.0\SkiaSharp.targets" Condition="Exists('$(NuGetPackageRoot)\SkiaSharp\1.49.3-beta\build\uap10.0\SkiaSharp.targets')" />
|
||||
<Import Project="$(NuGetPackageRoot)\Xamarin.Forms\2.3.0.38-pre2\build\portable-win+net45+wp80+win81+wpa81+MonoAndroid10+MonoTouch10+Xamarin.iOS10\Xamarin.Forms.targets" Condition="Exists('$(NuGetPackageRoot)\Xamarin.Forms\2.3.0.38-pre2\build\portable-win+net45+wp80+win81+wpa81+MonoAndroid10+MonoTouch10+Xamarin.iOS10\Xamarin.Forms.targets')" />
|
||||
</ImportGroup>
|
||||
</Project>
|
|
@ -0,0 +1,22 @@
|
|||
using Xamarin.Forms.Platform.UWP;
|
||||
|
||||
[assembly: ExportRenderer (typeof(Skia.Forms.Demo.SkiaView), typeof(Skia.Forms.Demo.UWP.SkiaViewRenderer))]
|
||||
|
||||
namespace Skia.Forms.Demo.UWP
|
||||
{
|
||||
public class SkiaViewRenderer : ViewRenderer<SkiaView, NativeSkiaView>
|
||||
{
|
||||
public SkiaViewRenderer ()
|
||||
{
|
||||
}
|
||||
|
||||
protected override void OnElementChanged (ElementChangedEventArgs<SkiaView> e)
|
||||
{
|
||||
base.OnElementChanged(e);
|
||||
|
||||
if (Control == null && Element != null) {
|
||||
SetNativeControl (new NativeSkiaView (Element));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
"dependencies": {
|
||||
"Microsoft.NETCore.UniversalWindowsPlatform": "5.1.0",
|
||||
"SkiaSharp": "1.49.3-beta",
|
||||
"Xamarin.Forms": "2.3.0.38-pre2"
|
||||
},
|
||||
"frameworks": {
|
||||
"uap10.0": {}
|
||||
},
|
||||
"runtimes": {
|
||||
"win10-arm": {},
|
||||
"win10-arm-aot": {},
|
||||
"win10-x86": {},
|
||||
"win10-x86-aot": {},
|
||||
"win10-x64": {},
|
||||
"win10-x64-aot": {}
|
||||
}
|
||||
}
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
|
@ -8,7 +8,9 @@
|
|||
<OutputType>Exe</OutputType>
|
||||
<RootNamespace>Skia.Forms.Demo.iOS</RootNamespace>
|
||||
<IPhoneResourcePrefix>Resources</IPhoneResourcePrefix>
|
||||
<AssemblyName>Skia.Forms.Demo.iOS</AssemblyName>
|
||||
<AssemblyName>SkiaFormsDemoiOS</AssemblyName>
|
||||
<NuGetPackageImportStamp>
|
||||
</NuGetPackageImportStamp>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|iPhoneSimulator' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
|
@ -76,26 +78,30 @@
|
|||
<MtouchProfiling>true</MtouchProfiling>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="SkiaSharp, Version=1.49.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\SkiaSharp.1.49.3.0-beta\lib\XamariniOS\SkiaSharp.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Xml" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="Xamarin.Forms.Core, Version=2.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Xamarin.Forms.2.3.0.38-pre2\lib\Xamarin.iOS10\Xamarin.Forms.Core.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="Xamarin.Forms.Platform, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Xamarin.Forms.2.3.0.38-pre2\lib\Xamarin.iOS10\Xamarin.Forms.Platform.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="Xamarin.Forms.Platform.iOS, Version=2.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Xamarin.Forms.2.3.0.38-pre2\lib\Xamarin.iOS10\Xamarin.Forms.Platform.iOS.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="Xamarin.Forms.Xaml, Version=2.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Xamarin.Forms.2.3.0.38-pre2\lib\Xamarin.iOS10\Xamarin.Forms.Xaml.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="Xamarin.iOS" />
|
||||
<Reference Include="Xamarin.Forms.Platform.iOS">
|
||||
<HintPath>..\packages\Xamarin.Forms.2.1.0.6529\lib\Xamarin.iOS10\Xamarin.Forms.Platform.iOS.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Xamarin.Forms.Core">
|
||||
<HintPath>..\packages\Xamarin.Forms.2.1.0.6529\lib\Xamarin.iOS10\Xamarin.Forms.Core.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Xamarin.Forms.Xaml">
|
||||
<HintPath>..\packages\Xamarin.Forms.2.1.0.6529\lib\Xamarin.iOS10\Xamarin.Forms.Xaml.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Xamarin.Forms.Platform">
|
||||
<HintPath>..\packages\Xamarin.Forms.2.1.0.6529\lib\Xamarin.iOS10\Xamarin.Forms.Platform.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="SkiaSharp">
|
||||
<HintPath>..\packages\SkiaSharp.1.49.3.0-beta\lib\XamariniOS\SkiaSharp.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\Skia.Forms.Demo.csproj">
|
||||
|
@ -104,7 +110,9 @@
|
|||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ImageAsset Include="Resources\Images.xcassets\AppIcons.appiconset\Contents.json" />
|
||||
<ImageAsset Include="Resources\Images.xcassets\AppIcons.appiconset\Contents.json">
|
||||
<InProject>false</InProject>
|
||||
</ImageAsset>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<InterfaceDefinition Include="Resources\LaunchScreen.xib" />
|
||||
|
@ -126,5 +134,11 @@
|
|||
</BundleResource>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildExtensionsPath)\Xamarin\iOS\Xamarin.iOS.CSharp.targets" />
|
||||
<Import Project="..\packages\Xamarin.Forms.2.1.0.6529\build\portable-win+net45+wp80+win81+wpa81+MonoAndroid10+MonoTouch10+Xamarin.iOS10\Xamarin.Forms.targets" Condition="Exists('..\packages\Xamarin.Forms.2.1.0.6529\build\portable-win+net45+wp80+win81+wpa81+MonoAndroid10+MonoTouch10+Xamarin.iOS10\Xamarin.Forms.targets')" />
|
||||
<Import Project="..\packages\Xamarin.Forms.2.3.0.38-pre2\build\portable-win+net45+wp80+win81+wpa81+MonoAndroid10+MonoTouch10+Xamarin.iOS10\Xamarin.Forms.targets" Condition="Exists('..\packages\Xamarin.Forms.2.3.0.38-pre2\build\portable-win+net45+wp80+win81+wpa81+MonoAndroid10+MonoTouch10+Xamarin.iOS10\Xamarin.Forms.targets')" />
|
||||
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
|
||||
<PropertyGroup>
|
||||
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
|
||||
</PropertyGroup>
|
||||
<Error Condition="!Exists('..\packages\Xamarin.Forms.2.3.0.38-pre2\build\portable-win+net45+wp80+win81+wpa81+MonoAndroid10+MonoTouch10+Xamarin.iOS10\Xamarin.Forms.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Xamarin.Forms.2.3.0.38-pre2\build\portable-win+net45+wp80+win81+wpa81+MonoAndroid10+MonoTouch10+Xamarin.iOS10\Xamarin.Forms.targets'))" />
|
||||
</Target>
|
||||
</Project>
|
|
@ -0,0 +1,132 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">iPhoneSimulator</Platform>
|
||||
<ProjectTypeGuids>{FEACFBD2-3405-455C-9665-78FE426C6842};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
|
||||
<ProjectGuid>{70C7A375-2DF5-4E33-9A92-149F46DBB944}</ProjectGuid>
|
||||
<OutputType>Exe</OutputType>
|
||||
<RootNamespace>Skia.Forms.Demo.iOS</RootNamespace>
|
||||
<IPhoneResourcePrefix>Resources</IPhoneResourcePrefix>
|
||||
<AssemblyName>Skia.Forms.Demo.iOS</AssemblyName>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|iPhoneSimulator' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\iPhoneSimulator\Debug</OutputPath>
|
||||
<DefineConstants>DEBUG;ENABLE_TEST_CLOUD;</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<ConsolePause>false</ConsolePause>
|
||||
<MtouchArch>i386, x86_64</MtouchArch>
|
||||
<MtouchLink>None</MtouchLink>
|
||||
<MtouchUseRefCounting>true</MtouchUseRefCounting>
|
||||
<MtouchUseSGen>true</MtouchUseSGen>
|
||||
<MtouchFastDev>true</MtouchFastDev>
|
||||
<MtouchDebug>true</MtouchDebug>
|
||||
<CodesignKey>iPhone Developer</CodesignKey>
|
||||
<MtouchProfiling>true</MtouchProfiling>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|iPhone' ">
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\iPhone\Release</OutputPath>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<ConsolePause>false</ConsolePause>
|
||||
<MtouchArch>ARMv7, ARM64</MtouchArch>
|
||||
<CodesignEntitlements>Entitlements.plist</CodesignEntitlements>
|
||||
<MtouchFloat32>true</MtouchFloat32>
|
||||
<MtouchUseSGen>true</MtouchUseSGen>
|
||||
<CodesignKey>iPhone Developer</CodesignKey>
|
||||
<MtouchUseRefCounting>true</MtouchUseRefCounting>
|
||||
<MtouchLink>Full</MtouchLink>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|iPhoneSimulator' ">
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\iPhoneSimulator\Release</OutputPath>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<ConsolePause>false</ConsolePause>
|
||||
<MtouchArch>i386, x86_64</MtouchArch>
|
||||
<MtouchLink>Full</MtouchLink>
|
||||
<MtouchUseRefCounting>true</MtouchUseRefCounting>
|
||||
<CodesignKey>iPhone Developer</CodesignKey>
|
||||
<MtouchUseSGen>true</MtouchUseSGen>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|iPhone' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\iPhone\Debug</OutputPath>
|
||||
<DefineConstants>DEBUG;ENABLE_TEST_CLOUD;</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<ConsolePause>false</ConsolePause>
|
||||
<MtouchArch>ARMv7, ARM64</MtouchArch>
|
||||
<CodesignEntitlements>Entitlements.plist</CodesignEntitlements>
|
||||
<MtouchFloat32>true</MtouchFloat32>
|
||||
<CodesignKey>iPhone Developer</CodesignKey>
|
||||
<DeviceSpecificBuild>true</DeviceSpecificBuild>
|
||||
<MtouchDebug>true</MtouchDebug>
|
||||
<MtouchUseSGen>true</MtouchUseSGen>
|
||||
<MtouchUseRefCounting>true</MtouchUseRefCounting>
|
||||
<MtouchProfiling>true</MtouchProfiling>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Xml" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="Xamarin.iOS" />
|
||||
<Reference Include="Xamarin.Forms.Platform.iOS">
|
||||
<HintPath>..\packages\Xamarin.Forms.2.1.0.6529\lib\Xamarin.iOS10\Xamarin.Forms.Platform.iOS.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Xamarin.Forms.Core">
|
||||
<HintPath>..\packages\Xamarin.Forms.2.1.0.6529\lib\Xamarin.iOS10\Xamarin.Forms.Core.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Xamarin.Forms.Xaml">
|
||||
<HintPath>..\packages\Xamarin.Forms.2.1.0.6529\lib\Xamarin.iOS10\Xamarin.Forms.Xaml.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Xamarin.Forms.Platform">
|
||||
<HintPath>..\packages\Xamarin.Forms.2.1.0.6529\lib\Xamarin.iOS10\Xamarin.Forms.Platform.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="SkiaSharp">
|
||||
<HintPath>..\packages\SkiaSharp.1.49.3.0-beta\lib\XamariniOS\SkiaSharp.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\Skia.Forms.Demo.csproj">
|
||||
<Project>{F750563C-EF08-4BCB-AF58-C98C307B01B5}</Project>
|
||||
<Name>Skia.Forms.Demo</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ImageAsset Include="Resources\Images.xcassets\AppIcons.appiconset\Contents.json">
|
||||
<InProject>false</InProject>
|
||||
</ImageAsset>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<InterfaceDefinition Include="Resources\LaunchScreen.xib" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Info.plist" />
|
||||
<None Include="Entitlements.plist" />
|
||||
<None Include="packages.config" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Main.cs" />
|
||||
<Compile Include="AppDelegate.cs" />
|
||||
<Compile Include="NativeSkiaView.cs" />
|
||||
<Compile Include="SkiaViewRenderer.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<BundleResource Include="..\..\SharedDemo\content-font.ttf">
|
||||
<Link>Resources\content-font.ttf</Link>
|
||||
</BundleResource>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildExtensionsPath)\Xamarin\iOS\Xamarin.iOS.CSharp.targets" />
|
||||
<Import Project="..\packages\Xamarin.Forms.2.1.0.6529\build\portable-win+net45+wp80+win81+wpa81+MonoAndroid10+MonoTouch10+Xamarin.iOS10\Xamarin.Forms.targets" Condition="Exists('..\packages\Xamarin.Forms.2.1.0.6529\build\portable-win+net45+wp80+win81+wpa81+MonoAndroid10+MonoTouch10+Xamarin.iOS10\Xamarin.Forms.targets')" />
|
||||
</Project>
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="SkiaSharp" version="1.49.3.0-beta" targetFramework="xamarinios10" />
|
||||
<package id="Xamarin.Forms" version="2.1.0.6529" targetFramework="xamarinios10" />
|
||||
<package id="Xamarin.Forms" version="2.3.0.38-pre2" targetFramework="xamarinios10" />
|
||||
</packages>
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="SkiaSharp" version="1.49.3.0-beta" targetFramework="portable-net45+win+wp80+MonoTouch10+MonoAndroid10+xamarinmac20+xamarintvos10+xamarinwatchos10+xamarinios10" />
|
||||
<package id="Xamarin.Forms" version="2.1.0.6529" targetFramework="portable-net45+win+wp80+MonoTouch10+MonoAndroid10+xamarinmac20+xamarintvos10+xamarinwatchos10+xamarinios10" />
|
||||
<package id="SkiaSharp" version="1.49.3.0-beta" targetFramework="portable45-net45+win8+wp8" />
|
||||
<package id="Xamarin.Forms" version="2.3.0.38-pre2" targetFramework="portable45-net45+win8+wp8" />
|
||||
</packages>
|