mirror of
https://github.com/greenshot/greenshot
synced 2025-08-14 02:37:03 -07:00
OCR Code cleanup, preparing for adding the word-rectangles to assist other Greenshot functionality (like blur/pixelate etc)
This commit is contained in:
parent
243a3e1418
commit
cab0f21e26
19 changed files with 672 additions and 111 deletions
48
GreenshotOCRCommand/Modi/IMiRect.cs
Normal file
48
GreenshotOCRCommand/Modi/IMiRect.cs
Normal file
|
@ -0,0 +1,48 @@
|
|||
/*
|
||||
* Greenshot - a free and open source screenshot tool
|
||||
* Copyright (C) 2007-2016 Thomas Braun, Jens Klingen, Robin Krom
|
||||
*
|
||||
* For more information see: http://getgreenshot.org/
|
||||
* The Greenshot project is hosted on GitHub https://github.com/greenshot/greenshot
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 1 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
namespace GreenshotOCRCommand.Modi
|
||||
{
|
||||
/// <summary>
|
||||
/// Represents a bounding rectangle in the optical character recognition (OCR) layout.
|
||||
/// </summary>
|
||||
public interface IMiRect : ICommon {
|
||||
/// <summary>
|
||||
/// The Bottom property represent the distance in pixels from the top edge of the containing image.
|
||||
/// </summary>
|
||||
int Bottom { get; }
|
||||
|
||||
/// <summary>
|
||||
/// The Left property represent the distance in pixels from the left edge of the containing image.
|
||||
/// </summary>
|
||||
int Left { get; }
|
||||
|
||||
/// <summary>
|
||||
/// The Right property represent the distance in pixels from the left edge of the containing image.
|
||||
/// </summary>
|
||||
int Right { get; }
|
||||
|
||||
/// <summary>
|
||||
/// The Top property represent the distance in pixels from the top edge of the containing image.
|
||||
/// </summary>
|
||||
int Top { get; }
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue