Example #1
0
 private void updateFromFileCut(
     string fileName, double leftPad, double rightPad, double topPad, double bottomPad, bool isReverse)
 {
     leftPad_   = leftPad;
     rightPad_  = rightPad;
     topPad_    = topPad;
     bottomPad_ = bottomPad;
     isReverse_ = isReverse;
     if (fileName != currentPath_)
     {
         currentPath_   = fileName;
         basePolylines_ = PolyLine.getPolylinesFromFile(currentPath_);
     }
 }
Example #2
0
        public static System.Windows.Size getPLTSize(string filePath)
        {
            List <PolyLine> polyLines = PolyLine.getPolylinesFromFile(filePath);

            return(PolyLine.getSize(polyLines));
        }