Login Page - Create Account

Support Board


Date/Time: Sat, 04 May 2024 19:47:36 +0000



Post From: ... to add support for OpenGL.

[2018-08-31 17:15:31]
gomifromparis - Posts: 244
I hope you guys allow us to use some parts of your OpenGL API.

I make a heavy use of custom graphics, my studies are coded using my own graphical abstraction layer, so they can work on NT7 and sierra (using a GDI implementation) and NT8 (using a SharpDX implementation).

So I hope you guys can expose parts of your graphic lib so we can bypass GDI and use OpenGL primitives directly in a custom plot study.

Basically here are my needs :-)

    void DrawText(string text, GomFont font, float x, float y, Color color, GomTextAlignment HorizAlign, GomTextAlignment VerticAlign);
    SizeF MeasureString(string text, GomFont font);
    void FillRectangle(Color color, float x, float y, float width, float height);
    void DrawRectangle(GomPenParams pen, float x, float y, float width, float height);
    void DrawLine(GomPenParams pen, float x1, float y1, float x2, float y2);
    void DrawLines(GomPenParams pen, List<PointF> points);
    void DrawPolygon(GomPenParams pen, List<PointF> points);
    void FillPolygon(Color color, List<PointF> points);

Thanks !