eGUI alias D4D  Release 3.0
Reference Manual
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
d4d_graph.c File Reference
#include "d4d.h"
#include "common_files/d4d_private.h"
Include dependency graph for d4d_graph.c:

Macros

#define _calc
 

Functions

void D4D_GraphOnMessage (D4D_MESSAGE *pMsg)
 
D4D_STRINGD4D_GraphGetTextBuffer (D4D_OBJECT *pThis)
 
static void D4D_GraphUpdateTempPosX (D4D_OBJECT *pThis)
 
static void D4D_GraphValue2Coor (D4D_OBJECT *pThis)
 
static D4D_COOR D4D_GraphGetSizeLblY (D4D_OBJECT *pThis)
 
static D4D_COOR D4D_GraphGetGridCoorX (D4D_OBJECT *pThis, Byte gridIx)
 
static D4D_COOR D4D_GraphGetGridCoorY (D4D_OBJECT *pThis, Byte gridIx)
 
static void D4D_GraphPrintLabel (D4D_OBJECT *pThis, D4D_BOOL axisX, Byte gridIx, D4D_GRAPH_SAMPLE_IX sampleIx)
 
static void D4D_GraphDrawEmptyGraph (D4D_OBJECT *pThis)
 
static void D4D_GraphOnDraw (D4D_MESSAGE *pMsg)
 
D4D_BOOL D4D_GraphAddTraceData (D4D_OBJECT_PTR pObj, D4D_INDEX trace_ix, D4D_GRAPH_VALUE value)
 The function add new data to one trace. More...
 
void D4D_GraphAddTracesData (D4D_OBJECT_PTR pObj, D4D_GRAPH_VALUE *pValues)
 The function add new data to all traces. More...
 
void D4D_GraphClearAll (D4D_OBJECT_PTR pObj)
 The function clears all internal data of graph object. More...
 
LWord D4D_GraphGetSampleIndex (D4D_OBJECT_PTR pObj)
 The function returns the current data sample index. More...
 
D4D_COOR D4D_GraphGetSizeX (D4D_OBJECT_PTR pObj)
 The function returns the size of graph traces in axis X. More...
 
D4D_BOOL D4D_GraphSetScaleX (D4D_OBJECT_PTR pObj, Byte mul, Byte div)
 Function sets the new scale of axis X of the graph. More...
 
D4D_BOOL D4D_GraphSetDataWidth (D4D_OBJECT_PTR pObj, D4D_INDEX samples)
 Function sets the new scale of the axis X of the graph. More...
 

Variables

const D4D_OBJECT_SYS_FUNCTION d4d_graphSysFunc
 

Detailed Description

D4D driver graph object c file.

Author
Petr Gargulak
Version
0.0.36.0
Date
Jan-14-2014

Definition in file d4d_graph.c.

Macro Definition Documentation

#define _calc

Definition at line 74 of file d4d_graph.c.

Function Documentation

static void D4D_GraphDrawEmptyGraph ( D4D_OBJECT pThis)
static

Definition at line 262 of file d4d_graph.c.

Here is the call graph for this function:

Here is the caller graph for this function:

static D4D_COOR D4D_GraphGetGridCoorX ( D4D_OBJECT pThis,
Byte  gridIx 
)
static

Definition at line 183 of file d4d_graph.c.

Here is the call graph for this function:

Here is the caller graph for this function:

static D4D_COOR D4D_GraphGetGridCoorY ( D4D_OBJECT pThis,
Byte  gridIx 
)
static

Definition at line 189 of file d4d_graph.c.

Here is the call graph for this function:

Here is the caller graph for this function:

static D4D_COOR D4D_GraphGetSizeLblY ( D4D_OBJECT pThis)
static

Definition at line 161 of file d4d_graph.c.

Here is the call graph for this function:

Here is the caller graph for this function:

D4D_STRING * D4D_GraphGetTextBuffer ( D4D_OBJECT pThis)

Get object text buffer

Definition at line 840 of file d4d_graph.c.

static void D4D_GraphOnDraw ( D4D_MESSAGE pMsg)
static

Definition at line 312 of file d4d_graph.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void D4D_GraphOnMessage ( D4D_MESSAGE pMsg)

THE INTERNAL API FUNCTIONS

Definition at line 800 of file d4d_graph.c.

Here is the call graph for this function:

static void D4D_GraphPrintLabel ( D4D_OBJECT pThis,
D4D_BOOL  axisX,
Byte  gridIx,
D4D_GRAPH_SAMPLE_IX  sampleIx 
)
static

Definition at line 196 of file d4d_graph.c.

Here is the call graph for this function:

Here is the caller graph for this function:

static void D4D_GraphUpdateTempPosX ( D4D_OBJECT pThis)
static

Definition at line 76 of file d4d_graph.c.

Here is the call graph for this function:

Here is the caller graph for this function:

static void D4D_GraphValue2Coor ( D4D_OBJECT pThis)
static

Definition at line 89 of file d4d_graph.c.

Here is the call graph for this function:

Here is the caller graph for this function:

Variable Documentation

const D4D_OBJECT_SYS_FUNCTION d4d_graphSysFunc

Definition at line 53 of file d4d_graph.c.