Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
#ifndef TFLASH_INCLUDED
Toshihiro Shimizu 890ddd
#define TFLASH_INCLUDED
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
//#include "tpixel.h"
Toshihiro Shimizu 890ddd
//#include "tgeometry.h"
Toshihiro Shimizu 890ddd
#include "timage.h"
Toshihiro Shimizu 890ddd
#include "tsound.h"
Toshihiro Shimizu 890ddd
#include "traster.h"
Toshihiro Shimizu 890ddd
#include "tproperty.h"
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
#undef DVAPI
Toshihiro Shimizu 890ddd
#undef DVVAR
Toshihiro Shimizu 890ddd
#ifdef TVRENDER_EXPORTS
Toshihiro Shimizu 890ddd
#define DVAPI DV_EXPORT_API
Toshihiro Shimizu 890ddd
#define DVVAR DV_EXPORT_VAR
Toshihiro Shimizu 890ddd
#else
Toshihiro Shimizu 890ddd
#define DVAPI DV_IMPORT_API
Toshihiro Shimizu 890ddd
#define DVVAR DV_IMPORT_VAR
Toshihiro Shimizu 890ddd
#endif
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
//=========================================================
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
class TQuadratic;
Toshihiro Shimizu 890ddd
class TSegment;
Toshihiro Shimizu 890ddd
class TVectorImage;
Toshihiro Shimizu 890ddd
class TStroke;
Toshihiro Shimizu 890ddd
class TRegion;
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
class TColorFunction;
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
//=========================================================
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
namespace Tiio
Toshihiro Shimizu 890ddd
{
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
class SwfWriterProperties : public TPropertyGroup
Toshihiro Shimizu 890ddd
{
Toshihiro Shimizu 890ddd
public:
Toshihiro Shimizu 890ddd
	TEnumProperty m_lineQuality;
Toshihiro Shimizu 890ddd
	TBoolProperty m_isCompressed;
Toshihiro Shimizu 890ddd
	TBoolProperty m_autoplay;
Toshihiro Shimizu 890ddd
	TBoolProperty m_looping;
Toshihiro Shimizu 890ddd
	TBoolProperty m_preloader;
Toshihiro Shimizu 890ddd
	TIntProperty m_jpgQuality;
Toshihiro Shimizu 890ddd
	TStringProperty m_url;
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
	SwfWriterProperties();
Toshihiro Shimizu 890ddd
};
Toshihiro Shimizu 890ddd
}
Toshihiro Shimizu 890ddd
brly 9e73b8
Toshihiro Shimizu 890ddd
class DVAPI TFlash
Toshihiro Shimizu 890ddd
{
Toshihiro Shimizu 890ddd
	class Imp;
Toshihiro Shimizu 890ddd
	Imp *m_imp;
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
public:
brly 9e73b8
        static const wstring ConstantLines;
brly 9e73b8
        static const wstring MixedLines;
brly 9e73b8
        static const wstring VariableLines;
brly 9e73b8
        
brly 9e73b8
	TFlash(int lx, int ly, int frameCount, int frameRate, TPropertyGroup *properties, bool keepImages = true) {}
brly 9e73b8
	~TFlash() {}
brly 9e73b8
	void enableAlphaChannelForRaster(bool doSaveIt) {}
brly 9e73b8
	void setSoundRate(int soundrate) {}
brly 9e73b8
	void setBackgroundColor(const TPixel &bgColor) {}
brly 9e73b8
	void setThickness(double thickness) {}
brly 9e73b8
	void setFillColor(const TPixel32 &color) {}
brly 9e73b8
	void setLineColor(const TPixel32 &color) {}
brly 9e73b8
	void setTexture(const TRaster32P &texture) {}
brly 9e73b8
	void setFillStyleMatrix(const TAffine &aff) {}
brly 9e73b8
	void setGradientFill(bool isLinear, const TPixel &color1, const TPixel &color2, double smooth) {}
brly 9e73b8
	void drawLine(const TPointD &a, const TPointD &b) {}
brly 9e73b8
	void drawPolygon(vector<vector<tquadratic *="">> &quads, int clippedShapes = 0) {}</vector<tquadratic>
brly 9e73b8
	int drawRaster(TRaster32P r) { return 0; }
brly 9e73b8
	void drawRegion(const TRegion &r, int clippedShapes = 0) {}
brly 9e73b8
	void drawCenterline(const TStroke *s, bool drawAll) {}
brly 9e73b8
	bool drawOutline(TStroke *s) { return false; }
brly 9e73b8
	void drawSegments(const vector<tsegment> segmentArray, bool isGradientColor) {}</tsegment>
brly 9e73b8
	void drawquads(const vector<tquadratic> quadsArray) {}</tquadratic>
brly 9e73b8
	USHORT buildImage(const TImageP img, bool isMask) { return 0; }
brly 9e73b8
	void draw(const TImageP vi, const TColorFunction *cf) {}
brly 9e73b8
	void beginFrame(int frameIndex) {}
brly 9e73b8
	int endFrame(bool isLast, int frameCountLoader, bool lastScene) { return 0; }
brly 9e73b8
	int drawRectangle(const TRectD &rect) { return 0; }
brly 9e73b8
	int drawPolyline(vector<tpointd> &poly) { return 0; }</tpointd>
brly 9e73b8
	int drawEllipse(const TPointD ¢er, double radiusX, double radiusY) { return 0; }
brly 9e73b8
	void drawDot(const TPointD ¢er, double radius) {}
brly 9e73b8
	void pushMatrix() {}
brly 9e73b8
	void popMatrix() {}
brly 9e73b8
	void multMatrix(const TAffine &aff) {}
brly 9e73b8
	void putSound(TSoundTrackP st, int offset) {}
brly 9e73b8
	void writeMovie(FILE *fp) {}
brly 9e73b8
	void drawPolygon(const list<tquadratic *=""> &poly, bool isOutline) {}</tquadratic>
brly 9e73b8
	wstring getLineQuality() { return nullptr; }
brly 9e73b8
	void cleanCachedImages() {}
brly 9e73b8
	void enableMask() {} 
brly 9e73b8
	void disableMask() {}
brly 9e73b8
	void beginMask() {}
brly 9e73b8
	void endMask() {}
brly 9e73b8
	void drawHangedObjects() {}
brly 9e73b8
	void setGlobalScale(const TAffine &aff) {}
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
private:
Toshihiro Shimizu 890ddd
	TFlash();
Toshihiro Shimizu 890ddd
	TFlash(const TFlash &);
Toshihiro Shimizu 890ddd
	TFlash &operator=(const TFlash &);
Toshihiro Shimizu 890ddd
};
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
#endif