ZXing .Result Point Unit
*************************************************************************** Delphi Sample Projects Copyright 1995-2024 Patrick Prémartin under AGPL 3.0 license. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. *************************************************************************** Set of projects demonstrating the features of the Delphi development environment, its libraries and its programming language. Some of the projects have been presented at conferences, on training courses or online coding sessions. The programs are up to date with the Community Edition and the commercial version of Delphi or RAD Studio. *************************************************************************** Author(s) : Patrick PREMARTIN Site : https://samples.developpeur-pascal.fr Project site : https://github.com/DeveloppeurPascal/Delphi-samples *************************************************************************** File last update : 2025-02-08T19:46:48.602+01:00 Signature : b36893ee62ba89e6578f7976383bf411ffe5995f ***************************************************************************
Name | Description | |
---|---|---|
![]() | TResultPointEventObject | |
![]() | TResultPointHelpers | in order to implement TResultPoint as an interface all static methods have been moved in this static class. this class contains also the CreateResultPoint method that must be used in place of the actual class constructor |
Name | Description | |
---|---|---|
![]() | IResultPoint | To mimic "garbage collection" (or ARC) with old-gen compilers we have to use interfaces. IResultPoint is the interface that maps TResultPoint which is now implemented as a TInterfacedObject descendant which supports automatic deallocation based on reference counting of interface variables. See ZXing.ResultPointImplementation to see the actual implementation of this interface. since we are using automatic reference counting, we don't need the Clone method any more. |
Name | Description | |
---|---|---|
![]() | TResultPointCallback | Callback which is invoked when a possible result point (significant point in the barcode image such as a corner) is found. |