Hello,
I would draw a StrokePath within inherited Draw() method from Charts::Graph.
Added an ArcPath variable to my Graph class and the code for the StrokePath in Draw():
/* draw arc */
aCanvas.StrokePath( aClip, ArcPath, dstRect, false, offset, 2.0, Graphics::PathCap.Flat, Graphics::PathCap.Flat, Graphics::PathJoin.Bevel, 3.0, Constant::GraphArcColor, Constant::GraphArcColor, Constant::GraphArcColor, Constant::GraphArcColor, true, true );
I'm using an instance of the Graph class in other View like below:
/* set arc properties */
Graph.ArcPath.Radius = 10.0 * (float) Graph.PixelPerUnit.x;
There is no ploblem if the Radius is small enough or simulated on the PC. But when the Radius is bigger than some value on a real board(STM32F746-DISCO), the StrokePath is not drawn and I can get an ERROR from the serial monitor:
[ERROR in ewgfx.c:4641] The 'IssueBuffer' for destination bitmap 0xC00E2B68 is too small for polygon data with '2575' entries. Adjust in your project the macro definition EW_MAX_ISSUE_TASKS and rebuild the Graphics Engine. You can also try to simplify the original path information.
Could you give any idea for the issue?
Thank you in advance,
Sj