A cross-platform UI framework for .NET
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.
 
 
 

26 lines
812 B

// -----------------------------------------------------------------------
// <copyright file="IPlatformFactory.cs" company="Steven Kirk">
// Copyright 2014 MIT Licence. See licence.md for more information.
// </copyright>
// -----------------------------------------------------------------------
namespace Perspex.Platform
{
using System;
using Perspex.Threading;
public interface IPlatformRenderInterface
{
ITextService TextService { get; }
IBitmapImpl CreateBitmap(int width, int height);
IStreamGeometryImpl CreateStreamGeometry();
IRenderer CreateRenderer(IPlatformHandle handle, double width, double height);
IRenderTargetBitmapImpl CreateRenderTargetBitmap(int width, int height);
IBitmapImpl LoadBitmap(string fileName);
}
}