Qucs-GUI  0.0.18
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Data Structures | Macros
diagram.h File Reference
#include "graph.h"
#include "marker.h"
#include "element.h"
#include "viewpainter.h"
#include <QFile>
#include <QTextStream>
#include <Q3PtrList>

Go to the source code of this file.

Data Structures

struct  Axis
 
class  Diagram
 

Macros

#define MIN_SCROLLBAR_SIZE   8
 
#define INVALID_STR   QObject::tr(" <invalid>")
 
#define FIT_MEMORY_SIZE
 

Macro Definition Documentation

#define FIT_MEMORY_SIZE
Value:
if(p >= p_end) { \
Size += 256; \
tmp = p - g->ScrPoints; \
p = p_end = g->ScrPoints = (float*)realloc(g->ScrPoints, Size*sizeof(float)); \
p += tmp; \
p_end += Size - 9; \
} \

Definition at line 37 of file diagram.h.

#define INVALID_STR   QObject::tr(" <invalid>")

Definition at line 33 of file diagram.h.

#define MIN_SCROLLBAR_SIZE   8

Definition at line 31 of file diagram.h.