CodeGlyphX logo
CodeGlyphX

API Reference

Class

MatrixTgaRenderer

Namespace CodeGlyphX.Rendering.Tga
Assembly CodeGlyphX
Modifiers static

Renders generic 2D matrices to TGA.

Inheritance

  • Object
  • MatrixTgaRenderer

Methods

public static Byte[] Render(BitMatrix modules, MatrixPngRenderOptions opts) #
Returns: Byte[]

Renders the matrix to a TGA byte array.

Parameters

modules CodeGlyphX.BitMatrix requiredposition: 0
opts CodeGlyphX.Rendering.Png.MatrixPngRenderOptions requiredposition: 1
RenderToFile 2 overloads
public static String RenderToFile(BitMatrix modules, MatrixPngRenderOptions opts, String path) #
Returns: String

Renders the matrix to a TGA file.

Parameters

modules CodeGlyphX.BitMatrix requiredposition: 0
opts CodeGlyphX.Rendering.Png.MatrixPngRenderOptions requiredposition: 1
path System.String requiredposition: 2
public static String RenderToFile(BitMatrix modules, MatrixPngRenderOptions opts, String directory, String fileName) #
Returns: String

Renders the matrix to a TGA file under the specified directory.

Parameters

modules CodeGlyphX.BitMatrix requiredposition: 0
opts CodeGlyphX.Rendering.Png.MatrixPngRenderOptions requiredposition: 1
directory System.String requiredposition: 2
fileName System.String requiredposition: 3
public static Void RenderToStream(BitMatrix modules, MatrixPngRenderOptions opts, Stream stream) #
Returns: Void

Renders the matrix to a TGA stream.

Parameters

modules CodeGlyphX.BitMatrix requiredposition: 0
opts CodeGlyphX.Rendering.Png.MatrixPngRenderOptions requiredposition: 1
stream System.IO.Stream requiredposition: 2