|
|
@ -71,6 +71,9 @@ namespace Avalonia.Markup.Xaml.XamlIl.CompilerExtensions.Transformers |
|
|
public IXamlConstructor MatrixFullConstructor { get; } |
|
|
public IXamlConstructor MatrixFullConstructor { get; } |
|
|
public IXamlType CornerRadius { get; } |
|
|
public IXamlType CornerRadius { get; } |
|
|
public IXamlConstructor CornerRadiusFullConstructor { get; } |
|
|
public IXamlConstructor CornerRadiusFullConstructor { get; } |
|
|
|
|
|
public IXamlType RelativeUnit { get; } |
|
|
|
|
|
public IXamlType RelativePoint { get; } |
|
|
|
|
|
public IXamlConstructor RelativePointFullConstructor { get; } |
|
|
public IXamlType GridLength { get; } |
|
|
public IXamlType GridLength { get; } |
|
|
public IXamlConstructor GridLengthConstructorValueType { get; } |
|
|
public IXamlConstructor GridLengthConstructorValueType { get; } |
|
|
public IXamlType Color { get; } |
|
|
public IXamlType Color { get; } |
|
|
@ -175,6 +178,10 @@ namespace Avalonia.Markup.Xaml.XamlIl.CompilerExtensions.Transformers |
|
|
(Matrix, MatrixFullConstructor) = GetNumericTypeInfo("Avalonia.Matrix", XamlIlTypes.Double, 6); |
|
|
(Matrix, MatrixFullConstructor) = GetNumericTypeInfo("Avalonia.Matrix", XamlIlTypes.Double, 6); |
|
|
(CornerRadius, CornerRadiusFullConstructor) = GetNumericTypeInfo("Avalonia.CornerRadius", XamlIlTypes.Double, 4); |
|
|
(CornerRadius, CornerRadiusFullConstructor) = GetNumericTypeInfo("Avalonia.CornerRadius", XamlIlTypes.Double, 4); |
|
|
|
|
|
|
|
|
|
|
|
RelativeUnit = cfg.TypeSystem.GetType("Avalonia.RelativeUnit"); |
|
|
|
|
|
RelativePoint = cfg.TypeSystem.GetType("Avalonia.RelativePoint"); |
|
|
|
|
|
RelativePointFullConstructor = RelativePoint.GetConstructor(new List<IXamlType> { XamlIlTypes.Double, XamlIlTypes.Double, RelativeUnit }); |
|
|
|
|
|
|
|
|
GridLength = cfg.TypeSystem.GetType("Avalonia.Controls.GridLength"); |
|
|
GridLength = cfg.TypeSystem.GetType("Avalonia.Controls.GridLength"); |
|
|
GridLengthConstructorValueType = GridLength.GetConstructor(new List<IXamlType> { XamlIlTypes.Double, cfg.TypeSystem.GetType("Avalonia.Controls.GridUnitType") }); |
|
|
GridLengthConstructorValueType = GridLength.GetConstructor(new List<IXamlType> { XamlIlTypes.Double, cfg.TypeSystem.GetType("Avalonia.Controls.GridUnitType") }); |
|
|
Color = cfg.TypeSystem.GetType("Avalonia.Media.Color"); |
|
|
Color = cfg.TypeSystem.GetType("Avalonia.Media.Color"); |
|
|
|