csharpc-sharpdotnetxamlavaloniauicross-platformcross-platform-xamlavaloniaguimulti-platformuser-interfacedotnetcore
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
47 lines
1.0 KiB
47 lines
1.0 KiB
using System;
|
|
using System.Collections.Generic;
|
|
using Avalonia.Rendering;
|
|
using Avalonia.VisualTree;
|
|
|
|
namespace Avalonia.Benchmarks
|
|
{
|
|
internal class NullRenderer : IRenderer
|
|
{
|
|
public bool DrawFps { get; set; }
|
|
public bool DrawDirtyRects { get; set; }
|
|
#pragma warning disable CS0067
|
|
public event EventHandler<SceneInvalidatedEventArgs> SceneInvalidated;
|
|
#pragma warning restore CS0067
|
|
public void AddDirty(IVisual visual)
|
|
{
|
|
}
|
|
|
|
public void Dispose()
|
|
{
|
|
}
|
|
|
|
public IEnumerable<IVisual> HitTest(Point p, IVisual root, Func<IVisual, bool> filter) => null;
|
|
|
|
public IVisual HitTestFirst(Point p, IVisual root, Func<IVisual, bool> filter) => null;
|
|
|
|
public void Paint(Rect rect)
|
|
{
|
|
}
|
|
|
|
public void RecalculateChildren(IVisual visual)
|
|
{
|
|
}
|
|
|
|
public void Resized(Size size)
|
|
{
|
|
}
|
|
|
|
public void Start()
|
|
{
|
|
}
|
|
|
|
public void Stop()
|
|
{
|
|
}
|
|
}
|
|
}
|
|
|