Provides minipixels debug debug facilities for this project.
Package: minipixels.debug.debug
Reachable from entry: yes
minipixels/graphics/canvas.mlascv→ src/minipixels/graphics/canvas.mlminipixels/math/types.mlasmt→ src/minipixels/math/types.ml
function captureHash(canvas)Performs the captureHash operation for the minipixels debug debug module.
| Parameter | Type | Default | Description |
|---|---|---|---|
canvas |
dynamic |
— | canvas value consumed by this operation. |
digitPatternsStores module-wide digit patterns state for the minipixels debug debug module.
function drawDigit(canvas, n, x, y, color)Draws digit through the minipixels debug debug rendering path.
| Parameter | Type | Default | Description |
|---|---|---|---|
canvas |
dynamic |
— | canvas value consumed by this operation. |
n |
dynamic |
— | n value consumed by this operation. |
x |
dynamic |
— | Horizontal coordinate used by the operation. |
y |
dynamic |
— | Vertical coordinate used by the operation. |
color |
dynamic |
— | color value consumed by this operation. |
function drawNumber(canvas, value, x, y, color)Draws number through the minipixels debug debug rendering path.
| Parameter | Type | Default | Description |
|---|---|---|---|
canvas |
dynamic |
— | canvas value consumed by this operation. |
value |
dynamic |
— | Value consumed or transformed by the operation. |
x |
dynamic |
— | Horizontal coordinate used by the operation. |
y |
dynamic |
— | Vertical coordinate used by the operation. |
color |
dynamic |
— | color value consumed by this operation. |
function drawStats(game, canvas)Draws stats through the minipixels debug debug rendering path.
| Parameter | Type | Default | Description |
|---|---|---|---|
game |
dynamic |
— | game value consumed by this operation. |
canvas |
dynamic |
— | canvas value consumed by this operation. |