Jumar Macato
7 years ago
No known key found for this signature in database
GPG Key ID: B19884DAC3A5BF3F
10 changed files with
30 additions and
23 deletions
-
build/EmbedXaml.props
-
samples/BindingDemo/BindingDemo.csproj
-
samples/RemoteDemo/RemoteDemo.csproj
-
samples/RenderDemo/App.xaml
-
samples/RenderDemo/MainWindow.xaml
-
samples/RenderDemo/Pages/AnimationsPage.xaml
-
samples/RenderDemo/Pages/ClippingPage.xaml
-
samples/RenderDemo/Pages/DrawingPage.xaml
-
samples/RenderDemo/RenderDemo.csproj
-
samples/VirtualizationDemo/VirtualizationDemo.csproj
|
|
|
@ -8,4 +8,4 @@ |
|
|
|
<SubType>Designer</SubType> |
|
|
|
</AvaloniaResource> |
|
|
|
</ItemGroup> |
|
|
|
</Project> |
|
|
|
</Project> |
|
|
|
@ -14,4 +14,5 @@ |
|
|
|
<Import Project="..\..\build\ReactiveUI.props" /> |
|
|
|
<Import Condition="'$(TargetFramework)'=='net461'" Project="..\..\build\NetFX.props" /> |
|
|
|
<Import Project="..\..\build\ReferenceCoreLibraries.props" /> |
|
|
|
<Import Project="..\..\build\BuildTargets.targets" /> |
|
|
|
</Project> |
|
|
|
|
|
|
|
@ -1,14 +1,12 @@ |
|
|
|
<Project Sdk="Microsoft.NET.Sdk"> |
|
|
|
|
|
|
|
<PropertyGroup> |
|
|
|
<OutputType>Exe</OutputType> |
|
|
|
<TargetFramework>netcoreapp2.0</TargetFramework> |
|
|
|
</PropertyGroup> |
|
|
|
|
|
|
|
<ItemGroup> |
|
|
|
<ProjectReference Include="..\ControlCatalog\ControlCatalog.csproj" /> |
|
|
|
</ItemGroup> |
|
|
|
<Import Project="..\..\build\SampleApp.props" /> |
|
|
|
<Import Project="..\..\build\ReferenceCoreLibraries.props" /> |
|
|
|
|
|
|
|
<Import Project="..\..\build\BuildTargets.targets" /> |
|
|
|
</Project> |
|
|
|
|
|
|
|
@ -1,4 +1,6 @@ |
|
|
|
<Application xmlns="https://github.com/avaloniaui"> |
|
|
|
<Application xmlns="https://github.com/avaloniaui" |
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
|
|
|
x:Class="RenderDemo.App"> |
|
|
|
<Application.Styles> |
|
|
|
<StyleInclude Source="resm:Avalonia.Themes.Default.DefaultTheme.xaml?assembly=Avalonia.Themes.Default"/> |
|
|
|
<StyleInclude Source="resm:Avalonia.Themes.Default.Accents.BaseLight.xaml?assembly=Avalonia.Themes.Default"/> |
|
|
|
|
|
|
|
@ -1,8 +1,11 @@ |
|
|
|
<Window xmlns="https://github.com/avaloniaui" |
|
|
|
Title="AvaloniaUI Rendering Test" |
|
|
|
xmlns:pages="clr-namespace:RenderDemo.Pages" |
|
|
|
Width="800" |
|
|
|
Height="600"> |
|
|
|
<Window |
|
|
|
xmlns="https://github.com/avaloniaui" |
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
|
|
|
x:Class="RenderDemo.MainWindow" |
|
|
|
Title="AvaloniaUI Rendering Test" |
|
|
|
xmlns:pages="clr-namespace:RenderDemo.Pages" |
|
|
|
Width="800" |
|
|
|
Height="600"> |
|
|
|
<DockPanel> |
|
|
|
<Menu DockPanel.Dock="Top"> |
|
|
|
<MenuItem Header="Rendering"> |
|
|
|
|
|
|
|
@ -1,6 +1,7 @@ |
|
|
|
<UserControl |
|
|
|
xmlns="https://github.com/avaloniaui" |
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> |
|
|
|
<UserControl |
|
|
|
xmlns="https://github.com/avaloniaui" |
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
|
|
|
x:Class="RenderDemo.Pages.AnimationsPage"> |
|
|
|
<UserControl.Styles> |
|
|
|
<Styles> |
|
|
|
<Styles.Resources> |
|
|
|
|
|
|
|
@ -1,9 +1,11 @@ |
|
|
|
<UserControl |
|
|
|
xmlns="https://github.com/avaloniaui"> |
|
|
|
<UserControl |
|
|
|
xmlns="https://github.com/avaloniaui" |
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
|
|
|
x:Class="RenderDemo.Pages.ClippingPage"> |
|
|
|
<Grid ColumnDefinitions="Auto" RowDefinitions="Auto,Auto"> |
|
|
|
<Grid.Styles> |
|
|
|
<Styles> |
|
|
|
<Style Selector="Border#clipped :pointerover"> |
|
|
|
<Style Selector="Border#clipped:pointerover"> |
|
|
|
<Setter Property="Border.Background" Value="Crimson"/> |
|
|
|
</Style> |
|
|
|
<Style Selector="Border#clipChild"> |
|
|
|
@ -17,11 +19,7 @@ xmlns="https://github.com/avaloniaui"> |
|
|
|
</Style> |
|
|
|
</Styles> |
|
|
|
</Grid.Styles> |
|
|
|
<Border Name="clipped" |
|
|
|
Background="Yellow" |
|
|
|
Width="100" |
|
|
|
Height="100" |
|
|
|
Clip="M 58.625 0.07421875 |
|
|
|
<Border Name="clipped" Background="Yellow" Width="100" Height="100" Clip="M 58.625 0.07421875 |
|
|
|
C 50.305778 0.26687364 42.411858 7.0346526 41.806641 15.595703 |
|
|
|
C 42.446442 22.063923 39.707425 13.710754 36.982422 12.683594 |
|
|
|
C 29.348395 6.1821635 16.419398 8.4359222 11.480469 17.195312 |
|
|
|
|
|
|
|
@ -1,5 +1,7 @@ |
|
|
|
<UserControl xmlns="https://github.com/avaloniaui" |
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> |
|
|
|
<UserControl |
|
|
|
xmlns="https://github.com/avaloniaui" |
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
|
|
|
x:Class="RenderDemo.Pages.DrawingPage"> |
|
|
|
<UserControl.Styles> |
|
|
|
<Style> |
|
|
|
<Style.Resources> |
|
|
|
|
|
|
|
@ -14,4 +14,5 @@ |
|
|
|
<Import Project="..\..\build\ReactiveUI.props" /> |
|
|
|
<Import Condition="'$(TargetFramework)'=='net461'" Project="..\..\build\NetFX.props" /> |
|
|
|
<Import Project="..\..\build\ReferenceCoreLibraries.props" /> |
|
|
|
<Import Project="..\..\build\BuildTargets.targets" /> |
|
|
|
</Project> |
|
|
|
|
|
|
|
@ -14,4 +14,5 @@ |
|
|
|
<Import Project="..\..\build\ReactiveUI.props" /> |
|
|
|
<Import Condition="'$(TargetFramework)'=='net461'" Project="..\..\build\NetFX.props" /> |
|
|
|
<Import Project="..\..\build\ReferenceCoreLibraries.props" /> |
|
|
|
<Import Project="..\..\build\BuildTargets.targets" /> |
|
|
|
</Project> |
|
|
|
|