MCPcopy Create free account
hub / github.com/bwapi/bwapi / bwDrawDot

Function bwDrawDot

bwapi/BWAPI/Source/Graphics.cpp:38–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36}
37
38void bwDrawDot(int x, int y, int color, BWAPI::CoordinateType::Enum ctype)
39{
40 // Convert coordinate type
41 convertCoordType(x, y, ctype);
42
43 // Plot the point
44 bwPlot(x, y, color);
45}
46
47// Assume x1 != x2 and y1 != y2
48void bwDrawLine(int x1, int y1, int x2, int y2, int color, BWAPI::CoordinateType::Enum ctype)

Callers 1

drawShapesMethod · 0.85

Calls 2

convertCoordTypeFunction · 0.85
bwPlotFunction · 0.85

Tested by

no test coverage detected