Skip to content

Forge 1.0.0 Release

Compare
Choose a tag to compare
@9prady9 9prady9 released this 18 May 11:37

First stable release of Forge library.

Features

  • Forge has both C++ and C API. We recommend the C++ API, written atop C API, as the C API is intended to enable easy write of bindings for other languages.
  • Full documentation of the library can be found here.
  • Forge exposes all it's objects and function via the namespace fg. It has the following main classes.
    • fg::Window - objects of this class provide the rendering canvas over which other objects are rendered.
    • fg::Image and fg::Chart are the two main rendering objects that drawn on fg::Window
      • fg::Image is a rendering of a simple image to Window.
      • fg::Chart is base object to which other plotting objects (listed below) are appended and rendered in the order of addition with alpha blending.
        • fg::Histogram - bar graphs
        • fg::Plot - 2D and 3D plots
        • fg::Surface - 3D surface plots
        • fg::VectorField - 2D and 3D vector fields
    • fg::Font - provides the choice of selecting the font for your program's rendering. You may skip using this class and the library will defer to the default fonts.
    • fg::Error - This is the exception object that you should use to catch the errors thrown by Forge.
  • Forge being a rendering only library, provides only the logic for rendering. However, we do provide helper functions through ComputeCopy.h headers for the user's convenience.
  • You can find the list of examples here. These examples use the above ComputeCopy header.

Known Issues