Sha256: 09c3f61fb8ca793cfc380d6d0c2c9b38dd53b688941eca0f5fdf6acbffbfe894

Contents?: true

Size: 599 Bytes

Versions: 6

Compression:

Stored size: 599 Bytes

Contents

#ifndef SVG_TRANSFORMPARSER_H
#define SVG_TRANSFORMPARSER_H

#include <string>
#include <vector>
#include <iostream>
#include <libxml/tree.h>
#include "Geom.h"
#include "Parser.h"



namespace SWF {

class TransformParser : public Parser {
	public:
		TransformParser() :
			Parser('(', ')', ',') {
		}
		Matrix getMatrix() { return transformMatrix; }
		void parse(const char* str) { doParse(str); }

	private:
		Matrix transformMatrix;

		void handleData(const std::string& transformType, const std::vector<std::string>& params);
		void printWarning(const std::string& transformType);
};

}

#endif

Version data entries

6 entries across 6 versions & 1 rubygems

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