You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
81 lines
2.0 KiB
81 lines
2.0 KiB
/*
|
|
DataMatrix.Net
|
|
|
|
DataMatrix.Net - .net library for decoding DataMatrix codes.
|
|
Copyright (C) 2009/2010 Michael Faschinger
|
|
|
|
This library 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 3.0 of the License, or (at your option) any later version.
|
|
You can also redistribute and/or modify it under the terms of the
|
|
GNU Lesser General Public License as published by the Free Software
|
|
Foundation; either version 3.0 of the License or (at your option)
|
|
any later version.
|
|
|
|
This library 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 or the GNU Lesser General Public License
|
|
for more details.
|
|
|
|
You should have received a copy of the GNU General Public
|
|
License and the GNU Lesser General Public License along with this
|
|
library; if not, write to the Free Software Foundation, Inc.,
|
|
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
|
|
Contact: Michael Faschinger - michfasch@gmx.at
|
|
|
|
*/
|
|
|
|
namespace DataMatrix.net
|
|
{
|
|
internal struct DmtxFollow
|
|
{
|
|
#region Fields
|
|
|
|
int _ptrIndex;
|
|
#endregion
|
|
|
|
#region Properties
|
|
internal int PtrIndex
|
|
{
|
|
set
|
|
{
|
|
_ptrIndex = value;
|
|
}
|
|
}
|
|
|
|
internal byte CurrentPtr
|
|
{
|
|
get
|
|
{
|
|
return this.Ptr[_ptrIndex];
|
|
}
|
|
set
|
|
{
|
|
this.Ptr[_ptrIndex] = value;
|
|
}
|
|
}
|
|
|
|
internal byte[] Ptr { get; set; }
|
|
|
|
internal byte Neighbor
|
|
{
|
|
get
|
|
{
|
|
return this.Ptr[_ptrIndex];
|
|
}
|
|
set
|
|
{
|
|
this.Ptr[_ptrIndex] = value;
|
|
}
|
|
}
|
|
|
|
internal int Step { get; set; }
|
|
|
|
internal DmtxPixelLoc Loc { get; set; }
|
|
|
|
#endregion
|
|
}
|
|
} |