NGraphics icon indicating copy to clipboard operation
NGraphics copied to clipboard

The name 'Platforms' does not exist in the current context.

Open DiriectorDoc opened this issue 1 year ago • 1 comments

I have created a new solution and done nothing except install NGraphics using NuGet.

My code is simply this:

using NGraphics;

var canvas = Platforms.Current.CreateImageCanvas(new Size(100), scale: 2);

This line was copied directly from this reop's README.

And 'Platforms' does not exist for some reason.

DiriectorDoc avatar Aug 04 '23 04:08 DiriectorDoc

Platforms in NGraphics.Net However, since the author has not updated the nuget package in these years, I think directly downloading the source code and compiling it yourself is the best option.

sgf avatar Dec 02 '23 02:12 sgf