⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pdf417view.h

📁 pdf417二维条码算法源程序
💻 H
字号:
/*pdf417View.hpdf417View, An IBPalette for drawing pdf417 2D barcodesCopyright (C) 2005 Evan CourtneyThis 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., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA*/#import <Cocoa/Cocoa.h>#include "pdf417lib.h"#define NON_EMPTY_IMAGE				0#define EMPTY_IMAGE					1#define	ERROR_IMAGE					2@interface pdf417View : NSView {    NSImage	*pdf417Image;	pdf417param p;    BOOL	dragSessionInProgress;	int		errorLevel;	BOOL	isDragTarget;	BOOL	isDragSource;	int		imageState;	IBOutlet NSText* inString;}- (id) initWithFrame:(NSRect)frame;- (void)drawRect:(NSRect)rect;- (int)drawWithText:(NSString *)string;- (NSImage *)getImage;- (NSData *)makeEPS;- (NSDragOperation)draggingEntered:(id <NSDraggingInfo>)sender;- (void)draggingExited:(id <NSDraggingInfo>)sender;- (BOOL)prepareForDragOperation:(id <NSDraggingInfo>)sender;- (BOOL)performDragOperation:(id <NSDraggingInfo>)sender;- (void)concludeDragOperation:(id <NSDraggingInfo>)sender;- (void)draw:(id)sender;- (void)setErrorLevel:(int)level;- (void)toggleTargetState;- (void)toggleSourceState;- (int)getErrorLevel;- (BOOL)getTargetState;- (BOOL)getSourceState;@end

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -