示例#1
0
        public static void Optimize(string filename)
        {
            PlateFile2 plate = new PlateFile2(filename, false);

            plate.Optimize();
            plate.Close();
        }
示例#2
0
        public static Stream GetFileStream(string filename, int tag, int level, int x, int y)
        {
            PlateFile2 plate = new PlateFile2(filename, true);

            Stream stream = plate.GetFileStream(tag, level, x, y);

            plate.Close();

            return(stream);
        }
示例#3
0
        public static Stream GetFileStream(Stream stream, int tag, int level, int x, int y)
        {
            PlateFile2 plate = new PlateFile2(stream);

            Stream result = plate.GetFileStream(tag, level, x, y);

            plate.Close();

            return(result);
        }
示例#4
0
        public static Stream GetFileStream(string filename, int tag, int level, int x, int y)
        {
            PlateFile2 plate = new PlateFile2(filename, true);

            Stream stream = plate.GetFileStream(tag, level, x, y);

            plate.Close();

            return stream;

        }
示例#5
0
 public static void Optimize(string filename)
 {
     PlateFile2 plate = new PlateFile2(filename, false);
     plate.Optimize();
     plate.Close();
 }