Exemplo n.º 1
0
        public Matrix TileMatrix(int TileID)
        {
            if (TileID < 0 || TileID >= Glyphs.Count)
            {
                return(Matrix.Identity);
            }
            var entry = Glyphs[TileID];

            return(Sheet.TileMatrix(entry.X, entry.Y, entry.Width, entry.Height));
        }
Exemplo n.º 2
0
        public Matrix TileMatrix(int TileID)
        {
            var entry = Glyphs[TileID];

            return(Sheet.TileMatrix(entry.X, entry.Y, entry.Width, entry.Height));
        }