📄 dmtx.c
字号:
/*libdmtx - Data Matrix Encoding/Decoding LibraryCopyright (c) 2008 Mike LaughtonThis library is free software; you can redistribute it and/ormodify it under the terms of the GNU Lesser General PublicLicense as published by the Free Software Foundation; eitherversion 2.1 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 ofMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNULesser General Public License for more details.You should have received a copy of the GNU Lesser General PublicLicense along with this library; if not, write to the Free SoftwareFoundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USAContact: mike@dragonflylogic.com*//* $Id: dmtx.c 493 2008-11-06 19:36:42Z mblaughton $ *//** * @file dmtx.c * @brief Main libdmtx source file */#include <stdlib.h>#include <stdio.h>#include <sys/types.h>#include <ctype.h>#include <float.h>#include <string.h>#include <errno.h>#include <assert.h>#include <math.h>#include "dmtx.h"#include "dmtxstatic.h"#ifdef HAVE_CONFIG_H#include "config.h"#endif#ifndef CALLBACK_POINT_PLOT#define CALLBACK_POINT_PLOT(a,b,c,d)#endif#ifndef CALLBACK_POINT_XFRM#define CALLBACK_POINT_XFRM(a,b,c,d)#endif#ifndef CALLBACK_MODULE#define CALLBACK_MODULE(a,b,c,d,e)#endif#ifndef CALLBACK_MATRIX#define CALLBACK_MATRIX(a)#endif#ifndef CALLBACK_FINAL#define CALLBACK_FINAL(a,b)#endif/** * The following use of #include to merge .c files together is * deliberate. This approach allows functions to be grouped in * files of like-functionality while still allowing static * functions to be accessed across files. */#include "dmtxtime.c"#include "dmtxscangrid.c"#include "dmtxmessage.c"#include "dmtxregion.c"#include "dmtxdecode.c"#include "dmtxencode.c"#include "dmtxplacemod.c"#include "dmtxfec.c"#include "dmtxreedsol.c"#include "dmtxsymbol.c"#include "dmtxvector2.c"#include "dmtxmatrix3.c"#include "dmtxcolor3.c"#include "dmtximage.c"extern char *dmtxVersion(void){ return DMTX_VERSION;}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -