8 #ifndef MsiChart_ChartCanvas_h 9 #define MsiChart_ChartCanvas_h 12 #include "PDCHeader/PDCvector" 55 virtual bool SaveToVEObjects(std::vector<MVE::VEFormatList>& ioFormatList, std::vector<MVE::VEUnitList>& ioUnitList) = 0;
70 virtual void Clip() = 0;
77 virtual void Scale(
const double iX,
const double iY) = 0;
84 virtual void Rotate(
const Point2D& irAnchor,
double iRadian) = 0;
101 virtual void MoveTo(
double iX,
double iY,
bool iIsCurveAnimation =
false,
FPoint2D* iBasePoint =
NULL) = 0;
108 virtual void LineTo(
double iX,
double iY,
bool iIsCurveAnimation =
false,
FPoint2D* iBasePoint =
NULL) = 0;
119 virtual void BezierCurveTo(
double iCP1X,
double iCP1Y,
double iCP2X,
double iCP2Y,
double iX,
double iY) = 0;
128 virtual void AddRect(
float iX,
float iY,
float iW,
float iH) = 0;
139 virtual void AddArc(
float iX,
float iY,
float iRadius,
float iStartAngle,
float iEndAngle,
bool bAntiClockwise) = 0;
150 virtual void AddNeedle(
char iNeedleStyle,
Point2D iBasePoint,
short iAngle,
float iSize) = 0;
164 virtual void SetLineDash(
double* ipLinePattern,
short iDashNumber) = 0;
191 virtual void SetRGBAFillColor(
float iRed,
float iGreen,
float iBlue,
float iAlpha) = 0;
200 virtual void SetRGBAStrokeColor(
float iRed,
float iGreen,
float iBlue,
float iAlpha) = 0;
252 virtual void FillBorderMetallic(
const FormatFill* ipFill,
short iBorderUse,
double iCPX,
double iCPY,
double iRadius,
double iThickness) = 0;
302 const RGBColor& irLTColor,
short iLTAlpha,
303 const RGBColor& irRBColor,
short iRBAlpha) = 0;
359 #endif //MsiChart_ChartCanvas_h virtual void SetRGBAFillColor(float iRed, float iGreen, float iBlue, float iAlpha)=0
virtual void SaveState()=0
virtual void AddString(const Point2D &irPoint, const char *ipString)=0
virtual void FillGradient(const FormatFill *ipFill, const Rect2D &irBoundingRect, float iDarkerFactor)=0
virtual bool SaveToString(std::string &orGraphDesc)=0
virtual void FillSimple(const FormatFill *ipFill, float iDarkerFactor, RGBColor *iColor=NULL, bool iHasExtraPara=false)=0
EnumLineJoinType
Definition: ChartCanvas.h:22
virtual void Scale(const double iX, const double iY)=0
virtual void SetLineJoin(EnumLineJoinType iLineJoinType)=0
virtual void FillPattern(const FormatFill *ipFill)=0
virtual void SetLineWidth(double iLineWidth)=0
virtual void StrokePath()=0
virtual void FillEdgeType(const FormatFill *ipFill, const std::vector< Point2D > &irPolygon)=0
virtual void BezierCurveTo(double iCP1X, double iCP1Y, double iCP2X, double iCP2Y, double iX, double iY)=0
Definition: ChartCanvas.h:24
virtual void ApplyBeveledFrameToRectangle(const Rect2D &irRect, double iRotationAngle, short iBevelDepth, const RGBColor &irLTColor, short iLTAlpha, const RGBColor &irRBColor, short iRBAlpha)=0
virtual void AddRect(float iX, float iY, float iW, float iH)=0
ChartContext * mpContext
Definition: ChartCanvas.h:356
#define Int32
Definition: BasicTypes.h:20
virtual void ClosePath()=0
virtual void MoveTo(double iX, double iY, bool iIsCurveAnimation=false, FPoint2D *iBasePoint=NULL)=0
virtual void RestoreState()=0
virtual void SetContext(ChartContext *ipContext)
virtual void SetFontSize(short iFontSize)=0
virtual void FillDonutOrSphere(const FormatFill *ipFill, const Rect2D &irBoundingRect, bool iIsCircularShape)=0
virtual void LineTo(double iX, double iY, bool iIsCurveAnimation=false, FPoint2D *iBasePoint=NULL)=0
virtual ChartContext * GetContext()
virtual void SetRGBAStrokeColor(float iRed, float iGreen, float iBlue, float iAlpha)=0
virtual void BeginLastFrame()=0
Definition: ChartContext.h:542
Definition: ChartCanvas.h:25
virtual void Rotate(const Point2D &irAnchor, double iRadian)=0
virtual void EndFrame()=0
virtual void RestoreColor(const FormatFill *ipFill)=0
virtual void FillPath()=0
virtual void BeginFirstFrame()=0
EnumRadientGradientUsage
Enumeration for radient gradient usage.
Definition: FormatFill.h:34
virtual void AddArc(float iX, float iY, float iRadius, float iStartAngle, float iEndAngle, bool bAntiClockwise)=0
Definition: ChartCanvas.h:39
virtual void ApplyDonutToRect(const Point< double > &irStartPoint, const Point< double > &irEndPoint, const FormatFill *ipFill)=0
virtual void ApplyLineFormat(const FormatLine *ipLine)=0
virtual void FillRadientGradient(const FormatFill *ipFill, EnumRadientGradientUsage iRGUsage, double iCPX, double iCPY, double iInnerRadius, double iOuterRadius, bool iHasExtraPara=false, int iExtraDepth=0, int iExtraIntensity=0)=0
virtual void FillBorderMetallic(const FormatFill *ipFill, short iBorderUse, double iCPX, double iCPY, double iRadius, double iThickness)=0
Definition: RGBColor.h:21
#define NULL
Definition: Null.h:10
virtual void DrawGaugeMarker(FPoint2D *iBasePoint, Int32 &iMarkerSize, Int32 &iMarkerShape, float iAngle, short iNeedSize)=0
virtual void MakeDarker(const FormatFill *ipFill, float iFactor)=0
virtual void AddNeedle(char iNeedleStyle, Point2D iBasePoint, short iAngle, float iSize)=0
Use four Int32 values to represent a 2D rectangle.
Definition: Rect2D.h:25
virtual void SetLineDash(double *ipLinePattern, short iDashNumber)=0
Definition: ChartCanvas.h:26
virtual void AddFormatedText(const FormatFont *ipFont, const Point2D &irStartPoint, const std::string &irText)=0
virtual CGPoint GetCurrentPoint()