Fix the compile error in tflash.h
Member functions with argument of vector<TSegment> or vector<TQuadratic> cannot be inline defined.
This commit is contained in:
parent
e40e2eea0a
commit
a0ab5dec40
2 changed files with 15 additions and 2 deletions
|
@ -221,6 +221,19 @@ void computeOutlineBoundary(vector<TStroke *> &outlines, list<FlashPolyline> &po
|
||||||
|
|
||||||
//-------------------------------------------------------------------
|
//-------------------------------------------------------------------
|
||||||
|
|
||||||
|
// TFlash::drawSegments and TFlash::drawquads cannot be inline defined
|
||||||
|
// since size of TSegment and TQuadratic are unkown in the header
|
||||||
|
|
||||||
|
void TFlash::drawSegments(const vector<TSegment> segmentArray, bool isGradientColor)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
void TFlash::drawquads(const vector<TQuadratic> quadsArray)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
//-------------------------------------------------------------------
|
||||||
|
|
||||||
bool PolyStyle::operator==(const PolyStyle &p) const
|
bool PolyStyle::operator==(const PolyStyle &p) const
|
||||||
{
|
{
|
||||||
if (m_type != p.m_type)
|
if (m_type != p.m_type)
|
||||||
|
|
|
@ -78,8 +78,8 @@ public:
|
||||||
void drawRegion(const TRegion &r, int clippedShapes = 0) {}
|
void drawRegion(const TRegion &r, int clippedShapes = 0) {}
|
||||||
void drawCenterline(const TStroke *s, bool drawAll) {}
|
void drawCenterline(const TStroke *s, bool drawAll) {}
|
||||||
bool drawOutline(TStroke *s) { return false; }
|
bool drawOutline(TStroke *s) { return false; }
|
||||||
void drawSegments(const vector<TSegment> segmentArray, bool isGradientColor) {}
|
void drawSegments(const vector<TSegment> segmentArray, bool isGradientColor);
|
||||||
void drawquads(const vector<TQuadratic> quadsArray) {}
|
void drawquads(const vector<TQuadratic> quadsArray);
|
||||||
USHORT buildImage(const TImageP img, bool isMask) { return 0; }
|
USHORT buildImage(const TImageP img, bool isMask) { return 0; }
|
||||||
void draw(const TImageP vi, const TColorFunction *cf) {}
|
void draw(const TImageP vi, const TColorFunction *cf) {}
|
||||||
void beginFrame(int frameIndex) {}
|
void beginFrame(int frameIndex) {}
|
||||||
|
|
Loading…
Reference in a new issue