Shinya Kitaoka 810553
#pragma once
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
Shinya Kitaoka 120a6e
namespace Tiio {
Toshihiro Shimizu 890ddd
Shinya Kitaoka d1f6c4
class SwfWriterProperties final : public TPropertyGroup {
Toshihiro Shimizu 890ddd
public:
Shinya Kitaoka 120a6e
  TEnumProperty m_lineQuality;
Shinya Kitaoka 120a6e
  TBoolProperty m_isCompressed;
Shinya Kitaoka 120a6e
  TBoolProperty m_autoplay;
Shinya Kitaoka 120a6e
  TBoolProperty m_looping;
Shinya Kitaoka 120a6e
  TBoolProperty m_preloader;
Shinya Kitaoka 120a6e
  TIntProperty m_jpgQuality;
Shinya Kitaoka 120a6e
  TStringProperty m_url;
Toshihiro Shimizu 890ddd
Shinya Kitaoka 120a6e
  SwfWriterProperties();
Toshihiro Shimizu 890ddd
};
Toshihiro Shimizu 890ddd
}
Toshihiro Shimizu 890ddd
Shinya Kitaoka 120a6e
class DVAPI TFlash {
Toshihiro Shimizu 890ddd
public:
Shinya Kitaoka 120a6e
  static const std::wstring ConstantLines;
Shinya Kitaoka 120a6e
  static const std::wstring MixedLines;
Shinya Kitaoka 120a6e
  static const std::wstring VariableLines;
Shinya Kitaoka 120a6e
Shinya Kitaoka 120a6e
  TFlash(int lx, int ly, int frameCount, int frameRate,
Shinya Kitaoka 120a6e
         TPropertyGroup *properties, bool keepImages = true) {}
Shinya Kitaoka 120a6e
  ~TFlash() {}
Shinya Kitaoka 120a6e
  void enableAlphaChannelForRaster(bool doSaveIt) {}
Shinya Kitaoka 120a6e
  void setSoundRate(int soundrate) {}
Shinya Kitaoka 120a6e
  void setBackgroundColor(const TPixel &bgColor) {}
Shinya Kitaoka 120a6e
  void setThickness(double thickness) {}
Shinya Kitaoka 120a6e
  void setFillColor(const TPixel32 &color) {}
Shinya Kitaoka 120a6e
  void setLineColor(const TPixel32 &color) {}
Shinya Kitaoka 120a6e
  void setTexture(const TRaster32P &texture) {}
Shinya Kitaoka 120a6e
  void setFillStyleMatrix(const TAffine &aff) {}
Shinya Kitaoka 120a6e
  void setGradientFill(bool isLinear, const TPixel &color1,
Shinya Kitaoka 120a6e
                       const TPixel &color2, double smooth) {}
Shinya Kitaoka 120a6e
  void drawLine(const TPointD &a, const TPointD &b) {}
Shinya Kitaoka 120a6e
  void drawPolygon(std::vector<std::vector<tquadratic *="">> &quads,</std::vector<tquadratic>
Shinya Kitaoka 120a6e
                   int clippedShapes = 0) {}
Shinya Kitaoka 120a6e
  int drawRaster(TRaster32P r) { return 0; }
Shinya Kitaoka 120a6e
  void drawRegion(const TRegion &r, int clippedShapes = 0) {}
Shinya Kitaoka 120a6e
  void drawCenterline(const TStroke *s, bool drawAll) {}
Shinya Kitaoka 120a6e
  bool drawOutline(TStroke *s) { return false; }
Shinya Kitaoka 120a6e
  void drawSegments(const std::vector<tsegment> segmentArray,</tsegment>
Shinya Kitaoka 120a6e
                    bool isGradientColor);
Shinya Kitaoka 120a6e
  void drawquads(const std::vector<tquadratic> quadsArray);</tquadratic>
Shinya Kitaoka 120a6e
  USHORT buildImage(const TImageP img, bool isMask) { return 0; }
Shinya Kitaoka 120a6e
  void draw(const TImageP vi, const TColorFunction *cf) {}
Shinya Kitaoka 120a6e
  void beginFrame(int frameIndex) {}
Shinya Kitaoka 120a6e
  int endFrame(bool isLast, int frameCountLoader, bool lastScene) { return 0; }
Shinya Kitaoka 120a6e
  int drawRectangle(const TRectD &rect) { return 0; }
Shinya Kitaoka 120a6e
  int drawPolyline(std::vector<tpointd> &poly) { return 0; }</tpointd>
Shinya Kitaoka 120a6e
  int drawEllipse(const TPointD ¢er, double radiusX, double radiusY) {
Shinya Kitaoka 120a6e
    return 0;
Shinya Kitaoka 120a6e
  }
Shinya Kitaoka 120a6e
  void drawDot(const TPointD ¢er, double radius) {}
Shinya Kitaoka 120a6e
  void pushMatrix() {}
Shinya Kitaoka 120a6e
  void popMatrix() {}
Shinya Kitaoka 120a6e
  void multMatrix(const TAffine &aff) {}
Shinya Kitaoka 120a6e
  void putSound(TSoundTrackP st, int offset) {}
Shinya Kitaoka 120a6e
  void writeMovie(FILE *fp) {}
Shinya Kitaoka 120a6e
  void drawPolygon(const std::list<tquadratic *=""> &poly, bool isOutline) {}</tquadratic>
Shinya Kitaoka 120a6e
  std::wstring getLineQuality() { return nullptr; }
Shinya Kitaoka 120a6e
  void cleanCachedImages() {}
Shinya Kitaoka 120a6e
  void enableMask() {}
Shinya Kitaoka 120a6e
  void disableMask() {}
Shinya Kitaoka 120a6e
  void beginMask() {}
Shinya Kitaoka 120a6e
  void endMask() {}
Shinya Kitaoka 120a6e
  void drawHangedObjects() {}
Shinya Kitaoka 120a6e
  void setGlobalScale(const TAffine &aff) {}
Toshihiro Shimizu 890ddd
};
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
#endif