Пример #1
0
    public static Task <Texture2D[, , ]> Fetch(string[, , ] laTeX)
    {
        LaTeXTextureDownloader downloader = new LaTeXTextureDownloader(laTeX, null);

        return(downloader.GetTextures());
    }
Пример #2
0
    public static Task <Texture2D[, , ]> Fetch(string[, , ] laTeX, TextureSettings?settings)
    {
        LaTeXTextureDownloader downloader = new LaTeXTextureDownloader(laTeX, settings);

        return(downloader.GetTextures());
    }
Пример #3
0
 public async Task FetchFormulaTextures()
 {
     FormulaTextures = await LaTeXTextureDownloader.Fetch(FormulaTensor);
 }
Пример #4
0
 private async Task FetchTexture()
 {
     texture = await LaTeXTextureDownloader.FetchOneTexture(laTeX);
 }
Пример #5
0
 public async Task FetchIndexTextures()
 {
     IndexTextures = await LaTeXTextureDownloader.Fetch(IndexTensor, new TextureSettings { size = Size.normal });
 }