|
wx_BGI_Graphics
Classic BGI-compatible graphics API with modern OpenGL extension API
|

Go to the source code of this file.
Namespaces | |
| namespace | bgi |
Functions | |
| std::vector< std::pair< int, int > > | bgi::buildArcPoints (int cx, int cy, int startAngle, int endAngle, int xradius, int yradius) |
| void | bgi::clearActivePage (int color) |
| void | bgi::clearViewportRegion (int color) |
| ColorRGB | bgi::colorToRGB (int c) |
| resolves any colour index (0-255) to an RGB triple | |
| void | bgi::destroyWindowIfNeeded (bool resetGlState=false) |
| void | bgi::drawCircleInternal (int cx, int cy, int radius, int color) |
| void | bgi::drawEllipseInternal (int cx, int cy, int startAngle, int endAngle, int xradius, int yradius, int color) |
| void | bgi::drawLineInternal (int x1, int y1, int x2, int y2, int color) |
| void | bgi::drawPolygonInternal (const std::vector< std::pair< int, int > > &points, int color) |
| void | bgi::fillEllipseInternal (int cx, int cy, int xradius, int yradius, int color) |
| void | bgi::fillPolygonInternal (const std::vector< std::pair< int, int > > &points, int color) |
| void | bgi::fillRectInternal (int left, int top, int right, int bottom, int color) |
| void | bgi::flushToScreen () |
| int | bgi::getPixel (int x, int y) |
| bool | bgi::isReady () |
| std::array< std::uint8_t, kPatternRows > | bgi::makeFillPatternMask (int pattern) |
| int | bgi::normalizeColor (int color) |
| std::uint8_t | bgi::normalizeColorByte (int value) |
| void | bgi::renderPageToCurrentGLContext (int w, int h) |
| void | bgi::setPixel (int x, int y, int color) |
| void | bgi::setPixelWithMode (int x, int y, int color, int mode) |
| bool | bgi::syncGlfwWindowSize () |
| bool | bgi::toDeviceCoordinates (int x, int y, int &screenX, int &screenY) |
| bool | bgi::useFillAt (int x, int y) |