Esempio n. 1
0
    public static Task <Texture2D[, , ]> Fetch(string[, , ] laTeX)
    {
        LaTeXTextureDownloader downloader = new LaTeXTextureDownloader(laTeX, null);

        return(downloader.GetTextures());
    }
Esempio n. 2
0
    public static Task <Texture2D[, , ]> Fetch(string[, , ] laTeX, TextureSettings?settings)
    {
        LaTeXTextureDownloader downloader = new LaTeXTextureDownloader(laTeX, settings);

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