texpack

command module
v0.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 28, 2018 License: MIT Imports: 14 Imported by: 0

README

texpack

texpack is a texture packer with both image and font support in the same atlas.

Notes

  • Does not support OpenType font kerning -- limitation of github.com/golang/freetype.
  • SDF support is weak
  • Doesn't auto rotate

Installing

go get github.com/adinfinit/texpack

sub-packages

  • maxrect - is a MaxRects implementation
  • pack - implements utilities for interfacing with maxrect
  • sdf - implements signed-distance-field generation

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
debugdraw package implements drawing red rectangles to *image.RGBA for debugging purposes
debugdraw package implements drawing red rectangles to *image.RGBA for debugging purposes
example
custom/assets
GENERATED DO NOT EDIT
GENERATED DO NOT EDIT
maxrect implements MaxRects packing algorithm
maxrect implements MaxRects packing algorithm
pack implements packing using maxrects algorithm
pack implements packing using maxrects algorithm

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL