Here are the examples of the csharp api class ZXing.PDF417.Internal.BoundingBox.calculateMinMaxValues() taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
4 Examples
0
1. Example
View licensepublic BoundingBox addMissingRows(int missingStartRows, int missingEndRows, bool isLeft) { ResultPoint newTopLeft = TopLeft; ResultPoint newBottomLeft = BottomLeft; ResultPoint newTopRight = TopRight; ResultPoint newBottomRight = BottomRight; if (missingStartRows > 0) { ResultPoint top = isLeft ? TopLeft : TopRight; int newMinY = (int) top.Y - missingStartRows; if (newMinY < 0) { newMinY = 0; } ResultPoint newTop = new ResultPoint(top.X, newMinY); if (isLeft) { newTopLeft = newTop; } else { newTopRight = newTop; } } if (missingEndRows > 0) { ResultPoint bottom = isLeft ? BottomLeft : BottomRight; int newMaxY = (int) bottom.Y + missingEndRows; if (newMaxY >= image.Height) { newMaxY = image.Height - 1; } ResultPoint newBottom = new ResultPoint(bottom.X, newMaxY); if (isLeft) { newBottomLeft = newBottom; } else { newBottomRight = newBottom; } } calculateMinMaxValues(); return new BoundingBox(image, newTopLeft, newBottomLeft, newTopRight, newBottomRight); }
0
2. Example
View licenseinternal void SetBottomRight(ResultPoint bottomRight) { this.BottomRight = bottomRight; calculateMinMaxValues(); }
0
3. Example
View licensepublic BoundingBox addMissingRows(int missingStartRows, int missingEndRows, bool isLeft) { /n ..... /n //View Source file for more details /n }
0
4. Example
View licenseinternal void SetBottomRight(ResultPoint bottomRight) { this.BottomRight = bottomRight; calculateMinMaxValues(); }