ZXing.PDF417.Internal.Detector.copyToResult(ResultPoint[], ResultPoint[], int[])

Here are the examples of the csharp api class ZXing.PDF417.Internal.Detector.copyToResult(ResultPoint[], ResultPoint[], int[]) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

2 Examples 7

1. Example

Project: ZXing.Net
Source File: Detector.cs
View license
private static ResultPoint[] findVertices(BitMatrix matrix, int startRow, int startColumn)
      {
         int height = matrix.Height;
         int width = matrix.Width;

         ResultPoint[] result = new ResultPoint[8];
         copyToResult(result, findRowsWithPattern(matrix, height, width, startRow, startColumn, START_PATTERN),
                      INDEXES_START_PATTERN);

         if (result[4] != null)
         {
            startColumn = (int) result[4].X;
            startRow = (int) result[4].Y;
         }
         copyToResult(result, findRowsWithPattern(matrix, height, width, startRow, startColumn, STOP_PATTERN),
                      INDEXES_STOP_PATTERN);
         return result;
      }

2. Example

Project: zxing-core
Source File: Detector.cs
View license
private static ResultPoint[] findVertices(BitMatrix matrix, int startRow, int startColumn)
      {
         int height = matrix.Height;
         int width = matrix.Width;

         ResultPoint[] result = new ResultPoint[8];
         copyToResult(result, findRowsWithPattern(matrix, height, width, startRow, startColumn, START_PATTERN),
                      INDEXES_START_PATTERN);

         if (result[4] != null)
         {
            startColumn = (int) result[4].X;
            startRow = (int) result[4].Y;
         }
         copyToResult(result, findRowsWithPattern(matrix, height, width, startRow, startColumn, STOP_PATTERN),
                      INDEXES_STOP_PATTERN);
         return result;
      }