|
wx_BGI_Graphics
Classic BGI-compatible graphics API with modern OpenGL extension API
|
Data Structures | |
| struct | arccoordstype |
| struct | BgiState |
| struct | Camera3D |
| 3-D camera definition (Z-up, right-handed world coordinate system). More... | |
| struct | ColorRGB |
| struct | CoordSystem |
| A named user coordinate system (UCS). More... | |
| struct | fillsettingstype |
| struct | GlLineVertex |
| One vertex in a GL depth-tested line batch (world-space, 6 floats). More... | |
| struct | GlVertex |
| One vertex in a GL solid triangle batch (world-space, 9 floats). More... | |
| struct | ImageHeader |
| struct | LightState |
| Lighting parameters used by the GL Phong shading passes. More... | |
| struct | linesettingstype |
| struct | MouseClickEvent |
| struct | OverlayGridState |
| State for the reference grid overlay. More... | |
| struct | OverlayUcsAxesState |
| State for the UCS axes overlay. More... | |
| struct | palettetype |
| struct | PendingGlFrame |
| Per-camera GL frame queued by wxbgi_render_dds() in wxEmbedded mode. More... | |
| struct | PendingGlRender |
| Geometry accumulated for a single wxbgi_render_dds() call. More... | |
| struct | textsettingstype |
| struct | viewporttype |
| struct | WorldExtents |
| Axis-aligned bounding box (AABB) representing the programmer's declared drawing extents in world space. More... | |
Typedefs | |
| using | MouseHandler = void(BGI_CALL *)(int, int) |
Enumerations | |
| enum class | CameraProjection { Orthographic = 0 , Perspective = 1 } |
| Projection mode for a Camera3D. More... | |
| enum | GraphStatus { grOk = 0 , grNoInitGraph = -1 , grNotDetected = -2 , grFileNotFound = -3 , grInvalidDriver = -4 , grNoLoadMem = -5 , grNoScanMem = -6 , grNoFloodMem = -7 , grFontNotFound = -8 , grNoFontMem = -9 , grInvalidMode = -10 , grError = -11 , grIOerror = -12 , grInvalidFont = -13 , grInvalidFontNum = -14 , grInvalidVersion = -18 , grInitFailed = -19 , grWindowClosed = -20 , grInvalidInput = -21 , grDuplicateName = -22 } |
Variables | |
| constexpr int | AND_PUT = 3 |
| constexpr int | BKSLASH_FILL = 5 |
| constexpr int | BLACK = 0 |
| constexpr int | BLUE = 1 |
| constexpr int | BOTTOM_TEXT = 0 |
| constexpr int | BROWN = 6 |
| constexpr int | CENTER_LINE = 2 |
| constexpr int | CENTER_TEXT = 1 |
| constexpr int | CLOSE_DOT_FILL = 11 |
| constexpr int | COPY_PUT = 0 |
| constexpr int | CYAN = 3 |
| constexpr int | DARKGRAY = 8 |
| constexpr int | DASHED_LINE = 3 |
| constexpr int | DEFAULT_FONT = 0 |
| constexpr int | DETECT = 0 |
| constexpr int | DOTTED_LINE = 1 |
| constexpr int | EMPTY_FILL = 0 |
| constexpr int | GOTHIC_FONT = 8 |
| constexpr int | GREEN = 2 |
| constexpr int | HATCH_FILL = 7 |
| constexpr int | HORIZ_DIR = 0 |
| constexpr int | INTERLEAVE_FILL = 9 |
| const ColorRGB | kBgiPalette [kPaletteSize] |
| constexpr int | kDefaultHeight = 720 |
| constexpr int | kDefaultWidth = 960 |
| constexpr int | kExtColorBase = 16 |
| first user-assignable extended colour index | |
| constexpr int | kExtPaletteSize = 240 |
| extended slots 16-255 (fits uint8_t pixel buffer) | |
| constexpr int | kPageCount = 2 |
| constexpr int | kPaletteSize = 16 |
| classic BGI palette slots (0-15) | |
| constexpr int | kPatternCols = 8 |
| constexpr int | kPatternRows = 8 |
| constexpr int | kSelectionOrangeColor = 252 |
| Reserved extended-palette slot — selection flash orange. | |
| constexpr int | kSelectionPurpleColor = 253 |
| Reserved extended-palette slot — selection flash purple. | |
| constexpr int | LEFT_TEXT = 0 |
| constexpr int | LIGHTBLUE = 9 |
| constexpr int | LIGHTCYAN = 11 |
| constexpr int | LIGHTGRAY = 7 |
| constexpr int | LIGHTGREEN = 10 |
| constexpr int | LIGHTMAGENTA = 13 |
| constexpr int | LIGHTRED = 12 |
| constexpr int | LINE_FILL = 2 |
| constexpr int | LTBKSLASH_FILL = 6 |
| constexpr int | LTSLASH_FILL = 3 |
| constexpr int | MAGENTA = 5 |
| constexpr int | NORM_WIDTH = 1 |
| constexpr int | NOT_PUT = 4 |
| constexpr int | OR_PUT = 2 |
| constexpr int | RED = 4 |
| constexpr int | RIGHT_TEXT = 2 |
| constexpr int | SANS_SERIF_FONT = 4 |
| constexpr int | SLASH_FILL = 4 |
| constexpr int | SMALL_FONT = 2 |
| constexpr int | SOLID_FILL = 1 |
| constexpr int | SOLID_LINE = 0 |
| constexpr int | THICK_WIDTH = 3 |
| constexpr int | TOP_TEXT = 2 |
| constexpr int | TRIPLEX_FONT = 1 |
| constexpr int | USER_FILL = 12 |
| constexpr int | USERBIT_LINE = 4 |
| constexpr int | VERT_DIR = 1 |
| constexpr int | WHITE = 15 |
| constexpr int | WIDE_DOT_FILL = 10 |
| constexpr int | XHATCH_FILL = 8 |
| constexpr int | XOR_PUT = 1 |
| constexpr int | YELLOW = 14 |
| using bgi::MouseHandler = typedef void(BGI_CALL *)(int, int) |
|
strong |
Projection mode for a Camera3D.
| Enumerator | |
|---|---|
| Orthographic | |
| Perspective | |
| enum bgi::GraphStatus |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
extern |
|
constexpr |
|
constexpr |
|
constexpr |
first user-assignable extended colour index
|
constexpr |
extended slots 16-255 (fits uint8_t pixel buffer)
|
constexpr |
|
constexpr |
classic BGI palette slots (0-15)
|
constexpr |
|
constexpr |
|
constexpr |
Reserved extended-palette slot — selection flash orange.
|
constexpr |
Reserved extended-palette slot — selection flash purple.
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |