- initial version

git-svn-id: http://moon:8086/svn/software/trunk/projects/mpsk_rx_gui@14 b431acfa-c32f-4a4a-93f1-934dc6c82436
This commit is contained in:
2014-09-24 17:21:29 +00:00
parent 18b4fa3b5c
commit 2bf059a84a
6 changed files with 39 additions and 8 deletions
+6
View File
@@ -193,6 +193,9 @@ void GraphComponent::setGraphBounds(float minX, float maxX, float minY, float ma
float GraphComponent::getScreenCoordX(float x)
{
if (isnan(x) || isinf(x))
return 0;
if ((x > m_graphMaxX) || (x < m_graphMinX))
return 0;
@@ -201,6 +204,9 @@ float GraphComponent::getScreenCoordX(float x)
float GraphComponent::getScreenCoordY(float y)
{
if (isnan(y) || isinf(y))
return 0;
if ((y > m_graphMaxY) || (y < m_graphMinY))
return 0;