Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,12 @@ jobs:
- uses: actions/checkout@v4
- name: Update Versions
env:
VERSION_PREFIX: '1.2'
VERSION_PREFIX: '1.3'
VERSION_SUFFIX: ${{github.run_number}}
run: |
VERSION=$VERSION_PREFIX.$VERSION_SUFFIX
sed -i bak "s:<Version>1.0.0</Version>:<Version>$VERSION</Version>:g" src/CrossGraphics.csproj
sed -i bak "s:<Version>1.0.0</Version>:<Version>$VERSION</Version>:g" maui/CrossGraphics.Maui.csproj
- name: Setup Xcode
uses: maxim-lobanov/setup-xcode@v1
with:
Expand All @@ -37,6 +38,8 @@ jobs:
run: dotnet restore -p:NuGetAudit=false
- name: Build Library
run: dotnet build -c Release --no-restore src/CrossGraphics.csproj
- name: Build MAUI Library
run: dotnet build -c Release --no-restore maui/CrossGraphics.Maui.csproj
- name: Build Test
run: dotnet build -c Release --no-restore tests/CrossGraphicsTests.csproj
- name: Test
Expand All @@ -45,7 +48,9 @@ jobs:
run: dotnet run -c Release -p:NuGetAudit=false --project atests/CrossGraphicsAcceptanceTests.csproj -- $(pwd)
- name: Package
if: github.event_name == 'push'
run: dotnet pack -c Release --no-build -o ./artifacts src/CrossGraphics.csproj
run: |
dotnet pack -c Release --no-build -o ./artifacts src/CrossGraphics.csproj
dotnet pack -c Release --no-build -o ./artifacts maui/CrossGraphics.Maui.csproj
- name: Upload Package
if: github.event_name == 'push'
uses: actions/upload-artifact@v4
Expand Down
143 changes: 98 additions & 45 deletions CrossGraphics.sln
Original file line number Diff line number Diff line change
@@ -1,45 +1,98 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CrossGraphics", "src\CrossGraphics.csproj", "{60AE8F54-5095-4FCF-978B-D9A3160E4594}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CrossGraphicsTests", "tests\CrossGraphicsTests.csproj", "{96BC9201-E9B3-40FE-A099-0646C43A193A}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "samples", "samples", "{8A2BAA71-2760-4B79-9D4C-EC614D3F1F53}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Lols", "samples\Lols\Lols.csproj", "{73154013-5BF3-4002-8312-50349011EB76}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CrossGraphicsAcceptanceTests", "atests\CrossGraphicsAcceptanceTests.csproj", "{95A67297-9BDF-43EC-9194-46F2FCBBCBD4}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{60AE8F54-5095-4FCF-978B-D9A3160E4594}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{60AE8F54-5095-4FCF-978B-D9A3160E4594}.Debug|Any CPU.Build.0 = Debug|Any CPU
{60AE8F54-5095-4FCF-978B-D9A3160E4594}.Release|Any CPU.ActiveCfg = Release|Any CPU
{60AE8F54-5095-4FCF-978B-D9A3160E4594}.Release|Any CPU.Build.0 = Release|Any CPU
{96BC9201-E9B3-40FE-A099-0646C43A193A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{96BC9201-E9B3-40FE-A099-0646C43A193A}.Debug|Any CPU.Build.0 = Debug|Any CPU
{96BC9201-E9B3-40FE-A099-0646C43A193A}.Release|Any CPU.ActiveCfg = Release|Any CPU
{96BC9201-E9B3-40FE-A099-0646C43A193A}.Release|Any CPU.Build.0 = Release|Any CPU
{73154013-5BF3-4002-8312-50349011EB76}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{73154013-5BF3-4002-8312-50349011EB76}.Debug|Any CPU.Build.0 = Debug|Any CPU
{73154013-5BF3-4002-8312-50349011EB76}.Release|Any CPU.ActiveCfg = Release|Any CPU
{73154013-5BF3-4002-8312-50349011EB76}.Release|Any CPU.Build.0 = Release|Any CPU
{95A67297-9BDF-43EC-9194-46F2FCBBCBD4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{95A67297-9BDF-43EC-9194-46F2FCBBCBD4}.Debug|Any CPU.Build.0 = Debug|Any CPU
{95A67297-9BDF-43EC-9194-46F2FCBBCBD4}.Release|Any CPU.ActiveCfg = Release|Any CPU
{95A67297-9BDF-43EC-9194-46F2FCBBCBD4}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
{73154013-5BF3-4002-8312-50349011EB76} = {8A2BAA71-2760-4B79-9D4C-EC614D3F1F53}
EndGlobalSection
EndGlobal

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CrossGraphics", "src\CrossGraphics.csproj", "{60AE8F54-5095-4FCF-978B-D9A3160E4594}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CrossGraphicsTests", "tests\CrossGraphicsTests.csproj", "{96BC9201-E9B3-40FE-A099-0646C43A193A}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "samples", "samples", "{8A2BAA71-2760-4B79-9D4C-EC614D3F1F53}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Lols", "samples\Lols\Lols.csproj", "{73154013-5BF3-4002-8312-50349011EB76}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CrossGraphicsAcceptanceTests", "atests\CrossGraphicsAcceptanceTests.csproj", "{95A67297-9BDF-43EC-9194-46F2FCBBCBD4}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "maui", "maui", "{5358A8DD-221C-A68E-DDFB-CD91B98A505E}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CrossGraphics.Maui", "maui\CrossGraphics.Maui.csproj", "{AD6DF014-8272-4052-8974-0A89FE6C726D}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Debug|x64 = Debug|x64
Debug|x86 = Debug|x86
Release|Any CPU = Release|Any CPU
Release|x64 = Release|x64
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{60AE8F54-5095-4FCF-978B-D9A3160E4594}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{60AE8F54-5095-4FCF-978B-D9A3160E4594}.Debug|Any CPU.Build.0 = Debug|Any CPU
{60AE8F54-5095-4FCF-978B-D9A3160E4594}.Debug|x64.ActiveCfg = Debug|Any CPU
{60AE8F54-5095-4FCF-978B-D9A3160E4594}.Debug|x64.Build.0 = Debug|Any CPU
{60AE8F54-5095-4FCF-978B-D9A3160E4594}.Debug|x86.ActiveCfg = Debug|Any CPU
{60AE8F54-5095-4FCF-978B-D9A3160E4594}.Debug|x86.Build.0 = Debug|Any CPU
{60AE8F54-5095-4FCF-978B-D9A3160E4594}.Release|Any CPU.ActiveCfg = Release|Any CPU
{60AE8F54-5095-4FCF-978B-D9A3160E4594}.Release|Any CPU.Build.0 = Release|Any CPU
{60AE8F54-5095-4FCF-978B-D9A3160E4594}.Release|x64.ActiveCfg = Release|Any CPU
{60AE8F54-5095-4FCF-978B-D9A3160E4594}.Release|x64.Build.0 = Release|Any CPU
{60AE8F54-5095-4FCF-978B-D9A3160E4594}.Release|x86.ActiveCfg = Release|Any CPU
{60AE8F54-5095-4FCF-978B-D9A3160E4594}.Release|x86.Build.0 = Release|Any CPU
{96BC9201-E9B3-40FE-A099-0646C43A193A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{96BC9201-E9B3-40FE-A099-0646C43A193A}.Debug|Any CPU.Build.0 = Debug|Any CPU
{96BC9201-E9B3-40FE-A099-0646C43A193A}.Debug|x64.ActiveCfg = Debug|Any CPU
{96BC9201-E9B3-40FE-A099-0646C43A193A}.Debug|x64.Build.0 = Debug|Any CPU
{96BC9201-E9B3-40FE-A099-0646C43A193A}.Debug|x86.ActiveCfg = Debug|Any CPU
{96BC9201-E9B3-40FE-A099-0646C43A193A}.Debug|x86.Build.0 = Debug|Any CPU
{96BC9201-E9B3-40FE-A099-0646C43A193A}.Release|Any CPU.ActiveCfg = Release|Any CPU
{96BC9201-E9B3-40FE-A099-0646C43A193A}.Release|Any CPU.Build.0 = Release|Any CPU
{96BC9201-E9B3-40FE-A099-0646C43A193A}.Release|x64.ActiveCfg = Release|Any CPU
{96BC9201-E9B3-40FE-A099-0646C43A193A}.Release|x64.Build.0 = Release|Any CPU
{96BC9201-E9B3-40FE-A099-0646C43A193A}.Release|x86.ActiveCfg = Release|Any CPU
{96BC9201-E9B3-40FE-A099-0646C43A193A}.Release|x86.Build.0 = Release|Any CPU
{73154013-5BF3-4002-8312-50349011EB76}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{73154013-5BF3-4002-8312-50349011EB76}.Debug|Any CPU.Build.0 = Debug|Any CPU
{73154013-5BF3-4002-8312-50349011EB76}.Debug|x64.ActiveCfg = Debug|Any CPU
{73154013-5BF3-4002-8312-50349011EB76}.Debug|x64.Build.0 = Debug|Any CPU
{73154013-5BF3-4002-8312-50349011EB76}.Debug|x86.ActiveCfg = Debug|Any CPU
{73154013-5BF3-4002-8312-50349011EB76}.Debug|x86.Build.0 = Debug|Any CPU
{73154013-5BF3-4002-8312-50349011EB76}.Release|Any CPU.ActiveCfg = Release|Any CPU
{73154013-5BF3-4002-8312-50349011EB76}.Release|Any CPU.Build.0 = Release|Any CPU
{73154013-5BF3-4002-8312-50349011EB76}.Release|x64.ActiveCfg = Release|Any CPU
{73154013-5BF3-4002-8312-50349011EB76}.Release|x64.Build.0 = Release|Any CPU
{73154013-5BF3-4002-8312-50349011EB76}.Release|x86.ActiveCfg = Release|Any CPU
{73154013-5BF3-4002-8312-50349011EB76}.Release|x86.Build.0 = Release|Any CPU
{95A67297-9BDF-43EC-9194-46F2FCBBCBD4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{95A67297-9BDF-43EC-9194-46F2FCBBCBD4}.Debug|Any CPU.Build.0 = Debug|Any CPU
{95A67297-9BDF-43EC-9194-46F2FCBBCBD4}.Debug|x64.ActiveCfg = Debug|Any CPU
{95A67297-9BDF-43EC-9194-46F2FCBBCBD4}.Debug|x64.Build.0 = Debug|Any CPU
{95A67297-9BDF-43EC-9194-46F2FCBBCBD4}.Debug|x86.ActiveCfg = Debug|Any CPU
{95A67297-9BDF-43EC-9194-46F2FCBBCBD4}.Debug|x86.Build.0 = Debug|Any CPU
{95A67297-9BDF-43EC-9194-46F2FCBBCBD4}.Release|Any CPU.ActiveCfg = Release|Any CPU
{95A67297-9BDF-43EC-9194-46F2FCBBCBD4}.Release|Any CPU.Build.0 = Release|Any CPU
{95A67297-9BDF-43EC-9194-46F2FCBBCBD4}.Release|x64.ActiveCfg = Release|Any CPU
{95A67297-9BDF-43EC-9194-46F2FCBBCBD4}.Release|x64.Build.0 = Release|Any CPU
{95A67297-9BDF-43EC-9194-46F2FCBBCBD4}.Release|x86.ActiveCfg = Release|Any CPU
{95A67297-9BDF-43EC-9194-46F2FCBBCBD4}.Release|x86.Build.0 = Release|Any CPU
{AD6DF014-8272-4052-8974-0A89FE6C726D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{AD6DF014-8272-4052-8974-0A89FE6C726D}.Debug|Any CPU.Build.0 = Debug|Any CPU
{AD6DF014-8272-4052-8974-0A89FE6C726D}.Debug|x64.ActiveCfg = Debug|Any CPU
{AD6DF014-8272-4052-8974-0A89FE6C726D}.Debug|x64.Build.0 = Debug|Any CPU
{AD6DF014-8272-4052-8974-0A89FE6C726D}.Debug|x86.ActiveCfg = Debug|Any CPU
{AD6DF014-8272-4052-8974-0A89FE6C726D}.Debug|x86.Build.0 = Debug|Any CPU
{AD6DF014-8272-4052-8974-0A89FE6C726D}.Release|Any CPU.ActiveCfg = Release|Any CPU
{AD6DF014-8272-4052-8974-0A89FE6C726D}.Release|Any CPU.Build.0 = Release|Any CPU
{AD6DF014-8272-4052-8974-0A89FE6C726D}.Release|x64.ActiveCfg = Release|Any CPU
{AD6DF014-8272-4052-8974-0A89FE6C726D}.Release|x64.Build.0 = Release|Any CPU
{AD6DF014-8272-4052-8974-0A89FE6C726D}.Release|x86.ActiveCfg = Release|Any CPU
{AD6DF014-8272-4052-8974-0A89FE6C726D}.Release|x86.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
{73154013-5BF3-4002-8312-50349011EB76} = {8A2BAA71-2760-4B79-9D4C-EC614D3F1F53}
{AD6DF014-8272-4052-8974-0A89FE6C726D} = {5358A8DD-221C-A68E-DDFB-CD91B98A505E}
EndGlobalSection
EndGlobal
49 changes: 49 additions & 0 deletions maui/CrossGraphics.Maui.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net10.0-ios;net10.0-macos;net10.0-maccatalyst;net10.0-android</TargetFrameworks>
<TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows'))">$(TargetFrameworks);net10.0-windows10.0.19041.0</TargetFrameworks>

<Version>1.0.0</Version>
<Authors>praeclarum</Authors>
<Description>MAUI support for CrossGraphics.</Description>
<PackageTags>maui;graphics;rendering;vector;draw;svg;wmf</PackageTags>
<PackageProjectUrl>https://github.com/praeclarum/CrossGraphics</PackageProjectUrl>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageReadmeFile>README.md</PackageReadmeFile>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>

<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<NoWarn>$(NoWarn);NU1900</NoWarn>
<LangVersion>14.0</LangVersion>
<Nullable>enable</Nullable>

<UseMaui>true</UseMaui>
<SingleProject>true</SingleProject>

<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'">12.2</SupportedOSPlatformVersion>
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'maccatalyst'">15.0</SupportedOSPlatformVersion>
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'macos'">12.0</SupportedOSPlatformVersion>
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'android'">21.0</SupportedOSPlatformVersion>
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.17763.0</SupportedOSPlatformVersion>
<TargetPlatformMinVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.17763.0</TargetPlatformMinVersion>
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'tizen'">6.5</SupportedOSPlatformVersion>

<DefineConstants Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'macos'">MONOMAC</DefineConstants>
</PropertyGroup>

<ItemGroup>
<None Include="..\README.md" Pack="true" PackagePath="\" />

<PackageReference Include="Microsoft.Maui.Controls" OverrideVersion="$(MauiVersion)" />
<PackageReference Include="Microsoft.Maui.Controls.Compatibility" OverrideVersion="$(MauiVersion)" />
<PackageReference Include="SkiaSharp.Views.Maui.Controls" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\src\CrossGraphics.csproj" />
</ItemGroup>

</Project>
File renamed without changes.
File renamed without changes.
2 changes: 2 additions & 0 deletions samples/Lols/Lols.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,12 @@
<PackageReference Include="Microsoft.Maui.Controls" OverrideVersion="$(MauiVersion)" />
<PackageReference Include="Microsoft.Maui.Controls.Compatibility" OverrideVersion="$(MauiVersion)" />
<PackageReference Include="Microsoft.Extensions.Logging.Debug" />
<PackageReference Include="SkiaSharp.Views.Maui.Controls" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\..\src\CrossGraphics.csproj" />
<ProjectReference Include="..\..\maui\CrossGraphics.Maui.csproj" />
</ItemGroup>

</Project>
2 changes: 1 addition & 1 deletion samples/Lols/MainPage.xaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:cg="clr-namespace:CrossGraphics.Maui;assembly=CrossGraphics"
xmlns:cg="clr-namespace:CrossGraphics.Maui;assembly=CrossGraphics.Maui"
x:Class="Lols.MainPage">

<ScrollView>
Expand Down
19 changes: 1 addition & 18 deletions src/CrossGraphics.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,11 @@

<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<NoWarn>$(NoWarn);NU1900</NoWarn>
<LangVersion>12.0</LangVersion>
<LangVersion>14.0</LangVersion>
<Nullable>disable</Nullable>
<EnableDefaultItems>false</EnableDefaultItems>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>

<UseMaui>true</UseMaui>
<SingleProject>true</SingleProject>

<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'">12.2</SupportedOSPlatformVersion>
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'maccatalyst'">15.0</SupportedOSPlatformVersion>
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'macos'">12.0</SupportedOSPlatformVersion>
Expand All @@ -46,8 +43,6 @@
<None Include="..\README.md" Pack="true" PackagePath="\" />

<PackageReference Include="SkiaSharp" />
<PackageReference Include="Microsoft.Maui.Controls" OverrideVersion="$(MauiVersion)" />
<PackageReference Include="Microsoft.Maui.Controls.Compatibility" OverrideVersion="$(MauiVersion)" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.1'">
Expand All @@ -59,10 +54,7 @@
<Compile Include="AndroidGraphicsCanvas.cs" />
<Compile Include="AndroidShapeStore.cs" />
<Compile Include="OpenGLGraphics.cs" />
<Compile Include="MauiCanvas.cs" />
<Compile Include="MauiSkiaCanvas.cs" />
<PackageReference Include="SkiaSharp.Views" />
<PackageReference Include="SkiaSharp.Views.Maui.Controls" />
<PackageReference Include="Xamarin.Legacy.OpenTK" />
<PackageReference Include="Required" PrivateAssets="all" />
</ItemGroup>
Expand All @@ -72,10 +64,7 @@
<Compile Include="CoreGraphicsGraphics.cs" />
<Compile Include="MetalCanvas.cs" />
<Compile Include="MetalGraphics.cs" />
<Compile Include="MauiCanvas.cs" />
<Compile Include="MauiSkiaCanvas.cs" />
<PackageReference Include="SkiaSharp.Views" />
<PackageReference Include="SkiaSharp.Views.Maui.Controls" />
</ItemGroup>

<ItemGroup Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'macos'">
Expand All @@ -84,20 +73,14 @@
<Compile Include="MetalCanvas.cs" />
<Compile Include="MetalGraphics.cs" />
<Compile Include="SceneKitGraphics.cs" />
<Compile Include="MauiCanvas.cs" />
<Compile Include="MauiSkiaCanvas.cs" />
<PackageReference Include="SkiaSharp.Views" />
<PackageReference Include="SkiaSharp.Views.Maui.Controls" />
</ItemGroup>

<ItemGroup Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'maccatalyst'">
<Compile Include="CoreGraphicsCanvas.cs" />
<Compile Include="CoreGraphicsGraphics.cs" />
<Compile Include="MetalCanvas.cs" />
<Compile Include="MetalGraphics.cs" />
<Compile Include="MauiCanvas.cs" />
<Compile Include="MauiSkiaCanvas.cs" />
<PackageReference Include="SkiaSharp.Views" />
<PackageReference Include="SkiaSharp.Views.Maui.Controls" />
</ItemGroup>
</Project>