Sha256: 86eefddfe9d0c5320fe60945ee69cd447460751b59093e36e9f8078a06ac8f6c

Contents?: true

Size: 1000 Bytes

Versions: 8

Compression:

Stored size: 1000 Bytes

Contents

#ifndef _QR_DRAW_PS_
#define _QR_DRAW_PS_

#include <time.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stdio.h>
#include "qr_draw.h"

#ifdef USE_TIFF
	#include "qr_draw_tiff.h"
#endif

//=============================================================================
// QRDrawPS ƒNƒ‰ƒX
//=============================================================================
class QRDrawPS : public QRDraw
{
	private:
		unsigned int tsize;
		
	private:
		int write(unsigned char data[MAX_MODULESIZE][MAX_MODULESIZE], char *mode);	//normal ps
		int write2(unsigned char data[MAX_MODULESIZE][MAX_MODULESIZE]);	//preview ps
		void write_header(FILE *stream);
		int write_preview(FILE *stream, unsigned char data[MAX_MODULESIZE][MAX_MODULESIZE]);
		void littleEndian(int data, unsigned char *lt);
		
	public:
		QRDrawPS(){}
		~QRDrawPS(){}
		int draw(char *filename, int modulesize, int symbolsize, 
							unsigned char data[MAX_MODULESIZE][MAX_MODULESIZE], void *opt);
};

#endif

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
z-rqr-0.2.5 ext/rqr/qr_draw_ps.h
z-rqr-0.2.4 ext/rqr/qr_draw_ps.h
rqr-0.2.2-x86-mswin32 ext/rqr/qr_draw_ps.h
rqr-0.2.1-x86-mswin32 ext/rqr/qr_draw_ps.h
rqr-0.2.0-x86-mswin32 ext/rqr/qr_draw_ps.h
rqr-0.2.1 ext/rqr/qr_draw_ps.h
rqr-0.2.0 ext/rqr/qr_draw_ps.h
rqr-0.2.2 ext/rqr/qr_draw_ps.h