8 #ifndef MsiChart_CGCanvas_h 9 #define MsiChart_CGCanvas_h 42 virtual void Scale(
const double iX,
const double iY);
66 virtual void MoveTo(
double iX,
double iY,
bool iIsCurveAnimation =
false,
FPoint2D* iBasePoint =
NULL);
73 virtual void LineTo(
double iX,
double iY,
bool iIsCurveAnimation =
false,
FPoint2D* iBasePoint =
NULL);
84 virtual void BezierCurveTo(
double iCP1X,
double iCP1Y,
double iCP2X,
double iCP2Y,
double iX,
double iY);
93 virtual void AddRect(
float iX,
float iY,
float iW,
float iH);
104 virtual void AddArc(
float iX,
float iY,
float iRadius,
float iStartAngle,
float iEndAngle,
bool bAntiClockwise);
115 virtual void AddNeedle(
char iNeedleStyle,
Point2D iBasePoint,
short iAngle,
float iSize);
129 virtual void SetLineDash(
double* ipLinePattern,
short iDashNumber);
155 virtual void SetRGBAFillColor(
float iRed,
float iGreen,
float iBlue,
float iAlpha);
216 virtual void FillBorderMetallic(
const FormatFill* ipFill,
short iBorderUse,
double iCPX,
double iCPY,
double iRadius,
double iThickness);
266 const RGBColor& irLTColor,
short iLTAlpha,
267 const RGBColor& irRBColor,
short iRBAlpha);
virtual void MakeDarker(const FormatFill *ipFill, float iFactor)
virtual void LineTo(double iX, double iY, bool iIsCurveAnimation=false, FPoint2D *iBasePoint=NULL)
virtual void FillEdgeType(const FormatFill *ipFill, const std::vector< Point2D > &irPolygon)
virtual void RestoreState()
virtual void RestoreColor(const FormatFill *ipFill)
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)
virtual void SetLineWidth(double iLineWidth)
virtual void AddString(const Point2D &irPoint, const char *ipString)
virtual void AddRect(float iX, float iY, float iW, float iH)
EnumLineJoinType
Definition: ChartCanvas.h:22
virtual void MoveTo(double iX, double iY, bool iIsCurveAnimation=false, FPoint2D *iBasePoint=NULL)
virtual void AddArc(float iX, float iY, float iRadius, float iStartAngle, float iEndAngle, bool bAntiClockwise)
virtual void ApplyBeveledFrameToRectangle(const Rect2D &irRect, double iRotationAngle, short iBevelDepth, const RGBColor &irLTColor, short iLTAlpha, const RGBColor &irRBColor, short iRBAlpha)
CGPoint GetCurrentPoint()
virtual void FillGradient(const FormatFill *ipFill, const Rect2D &irBoundingRect, float iDarkerFactor)
virtual void SetLineDash(double *ipLinePattern, short iDashNumber)
#define Int32
Definition: BasicTypes.h:20
virtual void AddNeedle(char iNeedleStyle, Point2D iBasePoint, short iAngle, float iSize)
virtual void Scale(const double iX, const double iY)
virtual void SetRGBAStrokeColor(float iRed, float iGreen, float iBlue, float iAlpha)
virtual void FillBorderMetallic(const FormatFill *ipFill, short iBorderUse, double iCPX, double iCPY, double iRadius, double iThickness)
Definition: ChartContext.h:542
virtual void ApplyLineFormat(const FormatLine *ipLine)
virtual void AddFormatedText(const FormatFont *ipFont, const Point2D &irStartPoint, const std::string &irText)
virtual void BeginLastFrame()
virtual void SetFontSize(short iFontSize)
virtual void SetRGBAFillColor(float iRed, float iGreen, float iBlue, float iAlpha)
virtual void BezierCurveTo(double iCP1X, double iCP1Y, double iCP2X, double iCP2Y, double iX, double iY)
virtual void FillSimple(const FormatFill *ipFill, float iDarkerFactor, RGBColor *iColor=NULL, bool iHasExtraPara=false)
CGCanvas(ChartContext *ipChartContext)
EnumRadientGradientUsage
Enumeration for radient gradient usage.
Definition: FormatFill.h:34
virtual void Rotate(const Point2D &irAnchor, double iRadian)
Definition: ChartCanvas.h:39
virtual void FillDonutOrSphere(const FormatFill *ipFill, const Rect2D &irBoundingRect, bool iIsCircularShape)
virtual void SetLineJoin(EnumLineJoinType iLineJoinType)
Definition: RGBColor.h:21
virtual void StrokePath()
#define NULL
Definition: Null.h:10
Use four Int32 values to represent a 2D rectangle.
Definition: Rect2D.h:25
virtual bool SaveToString(std::string &orGraphDesc)
virtual void FillPattern(const FormatFill *ipFill)
virtual void DrawGaugeMarker(FPoint2D *iBasePoint, Int32 &iMarkerSize, Int32 &iMarkerShape, float iAngle, short iNeedSize)
virtual void BeginFirstFrame()
Definition: CGCanvas.h:15
virtual void ApplyDonutToRect(const Point< double > &irStartPoint, const Point< double > &irEndPoint, const FormatFill *ipFill)