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

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

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