// ----------------------------------------------------------------------- // // Copyright 2014 MIT Licence. See licence.md for more information. // // ----------------------------------------------------------------------- namespace Perspex.Platform { using System; using Perspex.Threading; public interface IPlatformRenderInterface { ITextService TextService { get; } IBitmapImpl CreateBitmap(int width, int height); IStreamGeometryImpl CreateStreamGeometry(); IRenderer CreateRenderer(IntPtr handle, double width, double height); IRenderTargetBitmapImpl CreateRenderTargetBitmap(int width, int height); IBitmapImpl LoadBitmap(string fileName); } }