Locus No Pilotus
Project of four first grade MIPT DAFE/RSE students (for engineering practical work in the second semester) in Qt C++
Loading...
Searching...
No Matches
trappy_circle.cpp File Reference
#include "trappy_circle.h"
Include dependency graph for trappy_circle.cpp:

Functions

static void SetCenterAndRadiusCoords (QCPItemEllipse *&ellipse, lib::Point center, double rad)
 

Function Documentation

◆ SetCenterAndRadiusCoords()

static void SetCenterAndRadiusCoords ( QCPItemEllipse *& ellipse,
lib::Point center,
double rad )
static
5 {
6 ellipse->topLeft->setCoords(center.x - rad, center.y + rad);
7 ellipse->bottomRight->setCoords(center.x + rad, center.y - rad);
8}
double y
Definition point.h:18
double x
Definition point.h:17
Here is the caller graph for this function: