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

Method drawCircle

bwapi/BWAPI/Source/BWAPI/GameDrawing.cpp:170–174  ·  view source on GitHub ↗

------------------------------------------------- DRAW CIRCLE --------------------------------------------

Source from the content-addressed store, hash-verified

168 }
169 //------------------------------------------------- DRAW CIRCLE --------------------------------------------
170 void GameImpl::drawCircle(CoordinateType::Enum ctype, int x, int y, int radius, Color color, bool isSolid)
171 {
172 if (!inScreen(ctype,x-radius,y-radius,x+radius,y+radius)) return;
173 addShape(BWAPIC::Shape(BWAPIC::ShapeType::Circle,ctype,x,y,0,0,radius,0,color,isSolid));
174 }
175 //------------------------------------------------- DRAW ELIPSE --------------------------------------------
176 void GameImpl::drawEllipse(CoordinateType::Enum ctype, int x, int y, int xrad, int yrad, Color color, bool isSolid)
177 {

Callers

nothing calls this directly

Calls 1

ShapeClass · 0.85

Tested by

no test coverage detected