Sha256: 3c8cdb739e058b50d4967f2651e99da46fb60159cfc1e7f0f51be4c4a3ead85f

Contents?: true

Size: 761 Bytes

Versions: 6

Compression:

Stored size: 761 Bytes

Contents

#ifndef SWF_GLYPHLIST_H
#define SWF_GLYPHLIST_H

#include <SWFItem.h>

namespace SWF {

class GlyphShape;
	
class GlyphList : public Item {
	/* glyph lists have strange offsetting stuff, so we do them manually */
	public:
		GlyphList();
		virtual ~GlyphList();
		virtual bool parse( Reader *r, int end, Context *ctx );
		virtual void dump( int indent, Context *ctx );
		virtual size_t calcSize( Context *ctx, int start_at );
		virtual void write( Writer *w, Context *ctx );
		virtual void writeXML( xmlNodePtr node, Context *ctx );
		virtual void parseXML( xmlNodePtr node, Context *ctx );
	
		void allocate( int n );
		GlyphShape *getShapeN( int n );
		void setMapN( int n, int m );
	
	protected:
		int nGlyphs;
		GlyphShape *glyphs;
		int *map;
};

}

#endif

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
swfmill-0.0.6 ext/swfmill/src/SWFGlyphList.h
swfmill-0.0.5 ext/swfmill/src/SWFGlyphList.h
swfmill-0.0.4 ext/swfmill/src/SWFGlyphList.h
swfmill-0.0.3 ext/swfmill/src/SWFGlyphList.h
swfmill-0.0.2 ext/swfmill/src/SWFGlyphList.h
swfmill-0.0.1 ext/swfmill/src/SWFGlyphList.h