processviewserver.h File Reference

#include <stdio.h>
#include <string.h>
#include "wthread.h"

Go to the source code of this file.

Data Structures

struct  PARSE_EVENT_STRUCT
struct  _PARAM_

Defines

#define pv_STDIN   0
#define pv_STDOUT   1
#define pv_CACHE
#define MAX_PRINTF_LENGTH   1024
#define MAX_EVENT_LENGTH   1024
#define MAX_CLIENTS   100
#define HELVETICA   "Helvetica"
#define TIMES   "Times"
#define COURIER   "Courier"
#define OLDENGLISH   "OldEnglish"
#define SYSTEM   "System"
#define ANYSTYLE   "AnyStyle"
#define NORMAL   0
#define ITALIC   1
#define RED   255,0,0
#define GREEN   0,255,0
#define BLUE   0,0,255
#define WHITE   255,255,255
#define BLACK   0,0,0
#define YELLOW   255,255,0
#define LILA   255,0,255
#define CYAN   0,255,255
#define DARK_GREY   128,128,128
#define LIGHT_GREY   180,180,180
#define WHEAT   213,213,154
#define DARK_RED   128,0,0
#define DARK_GREEN   0,128,0
#define DARK_LILA   128,0,128
#define DARK_CYAN   0,128,128
#define DARK_YELLOW   200,200,0
#define DARK_BLUE   0,0,128
#define HORIZONTAL   0
#define VERTICAL   1
#define Horizontal   HORIZONTAL
#define Vertical   VERTICAL
#define DEFAULT_LANGUAGE   0
#define PARAM_P   PARAM p;pvInit(0,NULL,&p);
#define INITIALIZE_GL   "initializeGL"
#define RESIZE_GL   "resizeGL"
#define pvSetColumnWith   pvSetColumnWidth
#define readDataCast   int (*)(void *)
#define showDataCast   int (*)(PARAM *, void *)

Typedefs

typedef _PARAM_ PARAM

Enumerations

enum  PvEvent {
  NULL_EVENT = 1, BUTTON_EVENT, TEXT_EVENT, SLIDER_EVENT,
  CHECKBOX_EVENT, RADIOBUTTON_EVENT, GL_IDLE_EVENT, GL_PAINT_EVENT,
  GL_INITIALIZE_EVENT, GL_RESIZE_EVENT, TAB_EVENT, TABLE_CLICKED_EVENT,
  TABLE_TEXT_EVENT, SELECTION_EVENT, CLIPBOARD_EVENT, BUTTON_PRESSED_EVENT,
  BUTTON_RELEASED_EVENT, RIGHT_MOUSE_EVENT, KEYBOARD_EVENT, PLOT_MOUSE_MOVED_EVENT,
  PLOT_MOUSE_PRESSED_EVENT, PLOT_MOUSE_RELEASED_EVENT, USER_EVENT
}
enum  Linestyle { LINESTYLE_NONE = 0, LINESTYLE_CIRCLE, LINESTYLE_CROSS, LINESTYLE_RECT }
enum  Weight {
  Light = 25, Normal = 50, DemiBold = 63, Bold = 75,
  Black = 87
}
enum  FontAlignment { ALIGN_LEFT = 0, ALIGN_CENTER, ALIGN_RIGHT, ALIGN_VERT_CENTER }
enum  AlignmentFlags {
  AlignAuto = 0x0000, AlignLeft = 0x0001, AlignRight = 0x0002, AlignHCenter = 0x0004,
  AlignJustify = 0x0008, AlignHorizontal_Mask = AlignLeft | AlignRight | AlignHCenter | AlignJustify, AlignTop = 0x0010, AlignBottom = 0x0020,
  AlignVCenter = 0x0040, AlignVertical_Mask = AlignTop | AlignBottom | AlignVCenter, AlignCenter = AlignVCenter | AlignHCenter
}
enum  TextFlags {
  SingleLine = 0x0080, DontClip = 0x0100, ExpandTabs = 0x0200, ShowPrefix = 0x0400,
  WordBreak = 0x0800, BreakAnywhere = 0x1000, DontPrint = 0x2000, Underline = 0x01000000,
  Overline = 0x02000000, StrikeOut = 0x04000000, IncludeTrailingSpaces = 0x08000000, NoAccel = 0x4000
}
enum  Policy {
  NoInsertion = 0, AtTop, AtCurrent, AtBottom,
  AfterCurrent, BeforeCurrent
}
enum  Mode { HEX = 0, DEC, OCT, BINx }
enum  Mode2 { Hex = 0, Dec, Oct, Bin }
enum  SegmentStyle { Outline = 0, Filled, Flat }
enum  Shape {
  NoFrame = 0, Box = 0x0001, Panel = 0x0002, WinPanel = 0x0003,
  HLine = 0x0004, VLine = 0x0005, StyledPanel = 0x0006, PopupPanel = 0x0007,
  MenuBarPanel = 0x0008, ToolBarPanel = 0x0009, LineEditPanel = 0x000a, TabWidgetPanel = 0x000b,
  GroupBoxPanel = 0x000c, MShape = 0x000f
}
enum  Shadow { Plain = 0x0010, Raised = 0x0020, Sunken = 0x0030, MShadow = 0x00f0 }
enum  FileDialogs { FileOpenDialog = 0, FileSaveDialog, FindDirectoryDialog }
enum  MessageBoxTypes { BoxInformation = 0, BoxWarning, BoxCritical }
enum  TextBrowserPos { Home = 0, Forward, Backward }
enum  TabWidgetPos { Top = 0, Bottom }
enum  KeyboardModifiers { ShiftButton = 4, ControlButton = 3, AltButton = 2, NormalKey = 1 }
enum  KeyCodes {
  Key_Escape = 0x1000, Key_Pause = 0x1008, Key_Print = 0x1009, Key_SysReq = 0x100a,
  Key_PageUp = 0x1016, Key_PageDown = 0x1017, Key_F1 = 0x1030, Key_F2 = 0x1031,
  Key_F3 = 0x1032, Key_F4 = 0x1033, Key_F5 = 0x1034, Key_F6 = 0x1035,
  Key_F7 = 0x1036, Key_F8 = 0x1037, Key_F9 = 0x1038, Key_F10 = 0x1039,
  Key_F11 = 0x103a, Key_F12 = 0x103b
}
enum  QwtAxis {
  yLeft, yRight, xBottom, xTop,
  axisCnt
}
enum  QwtAutoscale {
  None = 0, IncludeRef = 1, Symmetric = 2, Floating = 4,
  Logarithmic = 8, Inverted = 16
}
enum  ScalePosition { ScaleLeft, ScaleRight, ScaleTop, ScaleBottom }
enum  ThermoPosition {
  ThermoNone, ThermoLeft, ThermoRight, ThermoTop,
  ThermoBottom
}
enum  KnobSymbol { KnobLine, KnobDot }
enum  CounterButton { CounterButton1, CounterButton2, CounterButton3, CounterButtonCnt }
enum  SliderScalePos {
  SliderNone, SliderLeft, SliderRight, SliderTop,
  SliderBottom
}
enum  SliderBGSTYLE { SliderBgTrough = 0x1, SliderBgSlot = 0x2, SliderBgBoth = SliderBgTrough | SliderBgSlot }
enum  DialShadow { DialPlain = Plain, DialRaised = Raised, DialSunken = Sunken }
enum  DialMode { RotateNeedle, RotateScale }
enum  CompassNeedle {
  QwtCompassNeedle1 = 1, QwtCompassNeedle2, QwtCompassNeedle3, QwtCompassNeedle4,
  QwtCompassLineNeedle
}
enum  PenStyle {
  NoPen, SolidLine, DashLine, DotLine,
  DashDotLine, DashDotDotLine, MPenStyle = 0x0f
}
enum  MarkerSymbol {
  MarkerNone, MarkerEllipse, MarkerRect, MarkerDiamond,
  MarkerTriangle, MarkerDTriangle, MarkerUTriangle, MarkerLTriangle,
  MarkerRTriangle, MarkerCross, MarkerXCross, MarkerStyleCnt
}
enum  Order { DMY, MDY, YMD, YDM }
enum  UNIT_CONVERSION {
  MM2INCH = 1, INCH2MM, CM2FOOT, FOOT2CM,
  CM2YARD, YARD2CM, KM2MILE, MILE2KM,
  KM2NAUTICAL_MILE, NAUTICAL_MILE2KM, QMM2SQINCH, SQINCH2QMM,
  QCM2SQFOOT, SQFOOT2QCM, QM2SQYARD, SQYARD2QM,
  QM2ACRE, ACRE2QM, QKM2SQMILE, SQMILE2QKM,
  ML2TEASPOON, TEASPOON2ML, ML2TABLESPOON, TABLESPOON2ML,
  ML2OUNCE, OUNCE2ML, L2CUP, CUP2L,
  L2PINT, PINT2L, L2QUART, QUART2L,
  L2GALLON, GALLON2L, GR2OUNCE, OUNCE2GR,
  KG2POUND, POUND2KG, T2TON, TON2T,
  C2FAHRENHEIT, FAHRENHEIT2C
}

Functions

int glencode_set_param (PARAM *p)
int pvsystem (const char *command)
int pvXYAllocate (PARAM *p, int n)
int pvSetXY (PARAM *p, int i, float x, float y)
int pvInitInternal (PARAM *p)
int pvInit (int ac, char **av, PARAM *p)
int pvAccept (PARAM *p)
int pvCreateThread (PARAM *p, int s)
int pvGetInitialMask (PARAM *p)
int pvMain (PARAM *p)
int pvSetCleanup (PARAM *p, int(*cleanup)(void *), void *app_data)
char * pvGetEvent (PARAM *p)
int pvPollEvent (PARAM *p, char *event)
int pvWait (PARAM *p, const char *pattern)
int pvGlUpdate (PARAM *p, int id)
int pvSleep (int milliseconds)
int pvWarning (PARAM *p, const char *text)
int pvMainFatal (PARAM *p, const char *text)
int pvThreadFatal (PARAM *p, const char *text)
int pvScreenHint (PARAM *p, int w, int h)
int pvStartDefinition (PARAM *p, int num_objects)
int pvQLayoutVbox (PARAM *p, int id, int parent)
int pvQLayoutHbox (PARAM *p, int id, int parent)
int pvQLayoutGrid (PARAM *p, int id, int parent)
int pvQWidget (PARAM *p, int id, int parent)
int pvQLabel (PARAM *p, int id, int parent)
int pvQComboBox (PARAM *p, int id, int parent, int editable, int policy)
int pvQLineEdit (PARAM *p, int id, int parent)
int pvQPushButton (PARAM *p, int id, int parent)
int pvQLCDNumber (PARAM *p, int id, int parent, int numDigits, int segmentStyle, int mode)
int pvQSlider (PARAM *p, int id, int parent, int minValue, int maxValue, int pageStep, int value, int orientation)
int pvQButtonGroup (PARAM *p, int id, int parent, int columns, int orientation, const char *title)
int pvQRadioButton (PARAM *p, int id, int parent)
int pvQCheckBox (PARAM *p, int id, int parent)
int pvQFrame (PARAM *p, int id, int parent, int shape, int shadow, int line_width, int margin)
int pvQDraw (PARAM *p, int id, int parent)
int pvQImage (PARAM *p, int id, int parent, const char *imagename, int *w, int *h, int *depth)
int pvQGL (PARAM *p, int id, int parent)
int pvQTabWidget (PARAM *p, int id, int parent)
int pvQToolBox (PARAM *p, int id, int parent)
int pvQGroupBox (PARAM *p, int id, int parent, int columns, int orientation, const char *title)
int pvQListBox (PARAM *p, int id, int parent)
int pvQTable (PARAM *p, int id, int parent, int rows, int columns)
int pvQSpinBox (PARAM *p, int id, int parent, int min, int max, int step)
int pvQDial (PARAM *p, int id, int parent, int min, int max, int page_step, int value)
int pvQProgressBar (PARAM *p, int id, int parent, int total_steps)
int pvQMultiLineEdit (PARAM *p, int id, int parent, int editable, int max_lines)
int pvQTextBrowser (PARAM *p, int id, int parent)
int pvQListView (PARAM *p, int id, int parent)
int pvQIconView (PARAM *p, int id, int parent)
int pvQVtkTclWidget (PARAM *p, int id, int parent)
int pvQwtPlotWidget (PARAM *p, int id, int parent, int nCurves, int nMarker)
int pvQwtScale (PARAM *p, int id, int parent, int pos)
int pvQwtThermo (PARAM *p, int id, int parent)
int pvQwtKnob (PARAM *p, int id, int parent)
int pvQwtCounter (PARAM *p, int id, int parent)
int pvQwtWheel (PARAM *p, int id, int parent)
int pvQwtSlider (PARAM *p, int id, int parent)
int pvQwtCompass (PARAM *p, int id, int parent)
int pvQDateEdit (PARAM *p, int id, int parent)
int pvQTimeEdit (PARAM *p, int id, int parent)
int pvQDateTimeEdit (PARAM *p, int id, int parent)
int pvEndDefinition (PARAM *p)
int pvAddWidgetOrLayout (PARAM *p, int id, int item, int row, int col)
int pvAddStretch (PARAM *p, int id, int param)
int pvTabOrder (PARAM *p, int id1, int id2)
int pvSetCaption (PARAM *p, const char *text)
int pvPlaySound (PARAM *p, const char *filename)
int pvBeep (PARAM *p)
int pvStatusMessage (PARAM *p, int r, int g, int b, const char *format,...)
int pvToolTip (PARAM *p, int id, const char *text)
int pvSetText (PARAM *p, int id, const char *text)
int pvPrintf (PARAM *p, int id, const char *format,...)
int pvSetValue (PARAM *p, int id, int value)
int pvClear (PARAM *p, int id)
int pvChangeItem (PARAM *p, int id, int index, const char *bmp_file, const char *text)
int pvInsertItem (PARAM *p, int id, int index, const char *bmp_file, const char *text)
int pvRemoveItem (PARAM *p, int id, int index)
int pvRemoveItemByName (PARAM *p, int id, const char *name)
int pvAddColumn (PARAM *p, int id, const char *text, int size)
int pvSetTableText (PARAM *p, int id, int x, int y, const char *text)
int pvSetTableCheckBox (PARAM *p, int id, int x, int y, int state, const char *text)
int pvSetTableComboBox (PARAM *p, int id, int x, int y, int editable, const char *textlist)
int pvTablePrintf (PARAM *p, int id, int x, int y, const char *format,...)
int pvMysqldump (PARAM *p, int id, const char *command)
int pvCSVdump (PARAM *p, int id, const char *filename, char delimitor='\t')
int pvCSVcreate (PARAM *p, const char *command, const char *filename)
int pvCSV (PARAM *p, int id, const char *command, char delimitor='\t')
int pvSetListViewText (PARAM *p, int id, const char *path, int column, const char *text)
int pvListViewPrintf (PARAM *p, int id, const char *path, int column, const char *format,...)
int pvSetColumnWidth (PARAM *p, int id, int column, int width)
int pvSetWordWrap (PARAM *p, int id, int wrap)
int pvSetPixmap (PARAM *p, int id, const char *bmp_file)
int pvSetTablePixmap (PARAM *p, int id, int x, int y, const char *bmp_file)
int pvSetSource (PARAM *p, int id, const char *html_file)
int pvSetImage (PARAM *p, int id, const char *filename)
int pvSetBackgroundColor (PARAM *p, int id, int r, int g, int b)
int pvSetPaletteBackgroundColor (PARAM *p, int id, int r, int g, int b)
int pvSetPaletteForegroundColor (PARAM *p, int id, int r, int g, int b)
int pvSetFontColor (PARAM *p, int id, int r, int g, int b)
int pvSetFont (PARAM *p, int id, const char *family, int pointsize, int bold, int italic, int underline, int strikeout)
int pvDisplayNum (PARAM *p, int id, int num)
int pvDisplayFloat (PARAM *p, int id, float val)
int pvDisplayStr (PARAM *p, int id, const char *str)
int pvAddTab (PARAM *p, int id, int id_child, const char *str)
int pvSetListViewPixmap (PARAM *p, int id, const char *path, const char *bmp_file, int column)
int pvRemoveListViewItem (PARAM *p, int id, const char *path)
int pvRemoveIconViewItem (PARAM *p, int id, const char *text)
int pvSetIconViewItem (PARAM *p, int id, const char *bmp_file, const char *text)
int pvSetDateOrder (PARAM *p, int id, int order)
int pvSetDate (PARAM *p, int id, int year, int month, int day)
int pvSetMinDate (PARAM *p, int id, int year, int month, int day)
int pvSetMaxDate (PARAM *p, int id, int year, int month, int day)
int pvSetTime (PARAM *p, int id, int hour, int minute, int second=0, int msec=0)
int pvSetMinTime (PARAM *p, int id, int hour, int minute, int second=0, int msec=0)
int pvSetMaxTime (PARAM *p, int id, int hour, int minute, int second=0, int msec=0)
int pvEnsureCellVisible (PARAM *p, int id, int row, int col=1)
int pvText (PARAM *p, int id)
int pvSelection (PARAM *p, int id)
int pvMoveContent (PARAM *p, int id, int pos)
int pvSetGeometry (PARAM *p, int id, int x, int y, int w, int h)
int pvSetAlignment (PARAM *p, int id, int alignment)
int pvSetChecked (PARAM *p, int id, int state)
int pvMove (PARAM *p, int id, int x, int y)
int pvResize (PARAM *p, int id, int w, int h)
int pvHide (PARAM *p, int id)
int pvShow (PARAM *p, int id)
int pvSetMultiSelection (PARAM *p, int id, int mode)
int pvSetEchoMode (PARAM *p, int id, int mode)
int pvSetEditable (PARAM *p, int id, int editable)
int pvSetEnabled (PARAM *p, int id, int enabled)
int pvTableSetEnabled (PARAM *p, int id, int x, int y, int enabled)
int pvTableSetHeaderResizeEnabled (PARAM *p, int id, int horizontal, int enabled, int section)
int pvSetSorting (PARAM *p, int id, int column, int mode)
int pvSetTabPosition (PARAM *p, int id, int pos)
int pvSetNumRows (PARAM *p, int id, int num)
int pvSetNumCols (PARAM *p, int id, int num)
int pvInsertRows (PARAM *p, int id, int row, int count=1)
int pvInsertColumns (PARAM *p, int id, int col, int count=1)
int pvRemoveRow (PARAM *p, int id, int row)
int pvRemoveColumn (PARAM *p, int id, int col)
int pvSetCurrentItem (PARAM *p, int id, int index)
int pvSetTimeEditDisplay (PARAM *p, int id, int hour, int minute, int second, int ampm)
int pvListViewEnsureVisible (PARAM *p, int id, const char *path)
int pvListViewSetOpen (PARAM *p, int id, const char *path, int open)
int pvSetStyle (PARAM *p, int id, int shape, int shadow, int line_width, int margin)
int pvSetMovie (PARAM *p, int id, int background, const char *filename)
int pvMovieControl (PARAM *p, int id, int step)
int pvMovieSpeed (PARAM *p, int id, int speed)
int pvVtkTcl (PARAM *p, int id, const char *tcl_command)
int pvVtkTclPrintf (PARAM *p, int id, const char *format,...)
int pvVtkTclScript (PARAM *p, int id, const char *filename)
int pvHyperlink (PARAM *p, const char *link)
int pvSendUserEvent (PARAM *p, int id, const char *text)
int pvWriteFile (PARAM *p, const char *filename, int width, int height)
int pvCloseFile (PARAM *p)
char * pvGetTextParam (PARAM *p, const char *command)
int pvGetText (const char *command, char *text)
PARSE_EVENT_STRUCTpvParseEventStruct (PARAM *p, const char *event)
int pvParseEvent (const char *event, int *id, char *text)
int pvCopyToClipboard (PARAM *p, int id)
int pvPrint (PARAM *p, int id)
int pvSave (PARAM *p, int id)
int pvSave (PARAM *p, int id, const char *filename)
int pvSaveAsBmp (PARAM *p, int id, const char *filename)
int pvSendFile (PARAM *p, const char *filename)
int pvDownloadFileAs (PARAM *p, const char *filename, const char *newname)
int pvDownloadFile (PARAM *p, const char *filename)
int pvtcpsend (PARAM *p, const char *buf, int len)
int pvtcpsend_binary (PARAM *p, const char *buf, int len)
int pvtcpreceive (PARAM *p, char *buf, int maxlen)
int pvtcpreceive_binary (PARAM *p, char *buf, int maxlen)
int pvGlBegin (PARAM *p, int id)
int pvGlEnd (PARAM *p)
int pvFileDialog (PARAM *p, int id_return, int type)
int pvPopupMenu (PARAM *p, int id_return, const char *text)
int pvMessageBox (PARAM *p, int id_return, int type, const char *text, int button0, int button1, int button2)
int pvInputDialog (PARAM *p, int id_return, const char *text, const char *default_text)
int pvRunModalDialog (PARAM *p, int width, int height, int(*showMask)(PARAM *p), void *userData, int(*readData)(void *d), int(*showData)(PARAM *p, void *d), void *d)
int pvRunModalDialogScript (PARAM *p, int width, int height)
int pvTerminateModalDialog (PARAM *p)
int pvUpdateBaseWindow (PARAM *p)
int pvUpdateBaseWindowOnOff (PARAM *p, int onoff)
int qpwSetCurveData (PARAM *p, int id, int c, int count, double *x, double *y)
int qpwSetBufferedCurveData (PARAM *p, int id, int c)
int qpwReplot (PARAM *p, int id)
int qpwSetTitle (PARAM *p, int id, const char *text)
int qpwSetCanvasBackground (PARAM *p, int id, int r, int g, int b)
int qpwEnableOutline (PARAM *p, int id, int val)
int qpwSetOutlinePen (PARAM *p, int id, int r, int g, int b)
int qpwSetAutoLegend (PARAM *p, int id, int val)
int qpwEnableLegend (PARAM *p, int id, int val)
int qpwSetLegendPos (PARAM *p, int id, int pos)
int qpwSetLegendFrameStyle (PARAM *p, int id, int style)
int qpwEnableGridXMin (PARAM *p, int id)
int qpwSetGridMajPen (PARAM *p, int id, int r, int g, int b, int style)
int qpwSetGridMinPen (PARAM *p, int id, int r, int g, int b, int style)
int qpwEnableAxis (PARAM *p, int id, int pos)
int qpwSetAxisTitle (PARAM *p, int id, int pos, const char *text)
int qpwSetAxisOptions (PARAM *p, int id, int pos, int val)
int qpwSetAxisMaxMajor (PARAM *p, int id, int pos, int val)
int qpwSetAxisMaxMinor (PARAM *p, int id, int pos, int val)
int qpwInsertCurve (PARAM *p, int id, int index, const char *text)
int qpwRemoveCurve (PARAM *p, int id, int index)
int qpwSetCurvePen (PARAM *p, int id, int index, int r, int g, int b, int width=1, int style=SolidLine)
int qpwSetCurveSymbol (PARAM *p, int id, int index, int symbol, int r1, int g1, int b1, int r2, int g2, int b2, int w, int h)
int qpwSetCurveYAxis (PARAM *p, int id, int index, int pos)
int qpwInsertMarker (PARAM *p, int id, int index)
int qpwSetMarkerLineStyle (PARAM *p, int id, int index, int style)
int qpwSetMarkerPos (PARAM *p, int id, int index, float x, float y)
int qpwSetMarkerLabelAlign (PARAM *p, int id, int index, int align)
int qpwSetMarkerPen (PARAM *p, int id, int index, int r, int g, int b, int style)
int qpwSetMarkerLabel (PARAM *p, int id, int number, const char *text)
int qpwSetMarkerFont (PARAM *p, int id, int index, const char *family, int size, int style)
int qpwSetMarkerSymbol (PARAM *p, int id, int index, int symbol, int r1, int g1, int b1, int r2, int g2, int b2, int w, int h)
int qpwInsertLineMarker (PARAM *p, int id, int index, const char *text, int pos)
int qpwSetAxisScaleDraw (PARAM *p, int id, int pos, const char *text)
int pvSetZoomX (PARAM *p, int id, float zoom)
int pvSetZoomY (PARAM *p, int id, float zoom)
int gWriteFile (const char *file)
int gCloseFile ()
int gBeginDraw (PARAM *p, int id)
int gBox (PARAM *p, int x, int y, int w, int h)
int gRect (PARAM *p, int x, int y, int w, int h)
int gEndDraw (PARAM *p)
int gLineTo (PARAM *p, int x, int y)
int gBufferedLine (PARAM *p)
int gLine (PARAM *p, float *x, float *y, int n)
int gMoveTo (PARAM *p, int x, int y)
int gRightYAxis (PARAM *p, float start, float delta, float end, int draw)
int gSetColor (PARAM *p, int r, int g, int b)
int gSetWidth (PARAM *p, int w)
int gSetStyle (PARAM *p, int style)
int gDrawArc (PARAM *p, int x, int y, int w, int h, int start_angle, int angle_length)
int gDrawPie (PARAM *p, int x, int y, int w, int h, int start_angle, int angle_length)
int gDrawPolygon (PARAM *p, int *x, int *y, int n)
int gSetFont (PARAM *p, const char *family, int size, int weight, int italic)
int gSetLinestyle (PARAM *p, int style)
int gText (PARAM *p, int x, int y, const char *text, int alignment)
int gTextInAxis (PARAM *p, float x, float y, const char *text, int alignment)
int gSetFloatFormat (PARAM *p, const char *text)
int gXAxis (PARAM *p, float start, float delta, float end, int draw)
int gYAxis (PARAM *p, float start, float delta, float end, int draw)
int gXGrid (PARAM *p)
int gYGrid (PARAM *p)
int gBoxWithText (PARAM *p, int x, int y, int w, int h, int fontsize, const char *xlabel, const char *ylabel, const char *rylabel)
int gComment (PARAM *p, const char *comment)
int gPlaySVG (PARAM *p, const char *filename)
int gSocketPlaySVG (PARAM *p, const char *svgstring)
int gTranslate (PARAM *p, float x, float y)
int gRotate (PARAM *p, float angle)
int gScale (PARAM *p, float sx, float sy)
int qwtScaleSetTitle (PARAM *p, int id, const char *text)
int qwtScaleSetTitleColor (PARAM *p, int id, int r, int g, int b)
int qwtScaleSetTitleFont (PARAM *p, int id, const char *family, int pointsize, int bold, int italic, int underline, int strikeout)
int qwtScaleSetTitleAlignment (PARAM *p, int id, int flags)
int qwtScaleSetBorderDist (PARAM *p, int id, int start, int end)
int qwtScaleSetBaselineDist (PARAM *p, int id, int bd)
int qwtScaleSetScaleDiv (PARAM *p, int id, float lBound, float hBound, int maxMaj, int maxMin, int log, float step, int ascend)
int qwtScaleSetLabelFormat (PARAM *p, int id, int f, int prec, int fieldWidth)
int qwtScaleSetLabelAlignment (PARAM *p, int id, int align)
int qwtScaleSetLabelRotation (PARAM *p, int id, float rotation)
int qwtScaleSetPosition (PARAM *p, int id, int position)
int qwtThermoSetScale (PARAM *p, int id, float min, float max, float step, int logarithmic)
int qwtThermoSetOrientation (PARAM *p, int id, int orientation, int position)
int qwtThermoSetBorderWidth (PARAM *p, int id, int width)
int qwtThermoSetFillColor (PARAM *p, int id, int r, int g, int b)
int qwtThermoSetAlarmColor (PARAM *p, int id, int r, int g, int b)
int qwtThermoSetAlarmLevel (PARAM *p, int id, float level)
int qwtThermoSetAlarmEnabled (PARAM *p, int id, int tf)
int qwtThermoSetPipeWidth (PARAM *p, int id, int width)
int qwtThermoSetRange (PARAM *p, int id, float vmin, float vmax)
int qwtThermoSetMargin (PARAM *p, int id, int margin)
int qwtThermoSetValue (PARAM *p, int id, float value)
int qwtKnobSetScale (PARAM *p, int id, float min, float max, float step, int logarithmic)
int qwtKnobSetMass (PARAM *p, int id, float mass)
int qwtKnobSetOrientation (PARAM *p, int id, int orientation)
int qwtKnobSetReadOnly (PARAM *p, int id, int rdonly)
int qwtKnobSetKnobWidth (PARAM *p, int id, int width)
int qwtKnobSetTotalAngle (PARAM *p, int id, float angle)
int qwtKnobSetBorderWidth (PARAM *p, int id, int width)
int qwtKnobSetSymbol (PARAM *p, int id, int symbol)
int qwtKnobSetValue (PARAM *p, int id, float value)
int qwtCounterSetStep (PARAM *p, int id, float step)
int qwtCounterSetMinValue (PARAM *p, int id, float value)
int qwtCounterSetMaxValue (PARAM *p, int id, float value)
int qwtCounterSetStepButton1 (PARAM *p, int id, int n)
int qwtCounterSetStepButton2 (PARAM *p, int id, int n)
int qwtCounterSetStepButton3 (PARAM *p, int id, int n)
int qwtCounterSetNumButtons (PARAM *p, int id, int n)
int qwtCounterSetIncSteps (PARAM *p, int id, int button, int n)
int qwtCounterSetValue (PARAM *p, int id, float value)
int qwtWheelSetMass (PARAM *p, int id, float mass)
int qwtWheelSetOrientation (PARAM *p, int id, int orientation)
int qwtWheelSetReadOnly (PARAM *p, int id, int rdonly)
int qwtWheelSetTotalAngle (PARAM *p, int id, float angle)
int qwtWheelSetTickCnt (PARAM *p, int id, int cnt)
int qwtWheelSetViewAngle (PARAM *p, int id, float angle)
int qwtWheelSetInternalBorder (PARAM *p, int id, int width)
int qwtWheelSetWheelWidth (PARAM *p, int id, int width)
int qwtWheelSetValue (PARAM *p, int id, float value)
int qwtSliderSetScale (PARAM *p, int id, float min, float max, float step, int logarithmic)
int qwtSliderSetMass (PARAM *p, int id, float mass)
int qwtSliderSetOrientation (PARAM *p, int id, int orientation)
int qwtSliderSetReadOnly (PARAM *p, int id, int rdonly)
int qwtSliderSetBgStyle (PARAM *p, int id, int style)
int qwtSliderSetScalePos (PARAM *p, int id, int pos)
int qwtSliderSetThumbLength (PARAM *p, int id, int length)
int qwtSliderSetThumbWidth (PARAM *p, int id, int width)
int qwtSliderSetBorderWidth (PARAM *p, int id, int width)
int qwtSliderSetMargins (PARAM *p, int id, int x, int y)
int qwtSliderSetValue (PARAM *p, int id, float value)
int qwtCompassSetSimpleCompassRose (PARAM *p, int id, int numThorns, int numThornLevels, float width=0.2f)
int qwtCompassSetMass (PARAM *p, int id, float mass)
int qwtCompassSetReadOnly (PARAM *p, int id, int rdonly)
int qwtCompassSetFrameShadow (PARAM *p, int id, int shadow)
int qwtCompassShowBackground (PARAM *p, int id, int show)
int qwtCompassSetLineWidth (PARAM *p, int id, int width)
int qwtCompassSetMode (PARAM *p, int id, int mode)
int qwtCompassSetWrapping (PARAM *p, int id, int wrap)
int qwtCompassSetScale (PARAM *p, int id, int maxMajIntv, int maxMinIntv, float step)
int qwtCompassSetScaleArc (PARAM *p, int id, float min, float max)
int qwtCompassSetOrigin (PARAM *p, int id, float o)
int qwtCompassSetNeedle (PARAM *p, int id, int which, int r1=0, int g1=0, int b1=0, int r2=255, int g2=255, int b2=255, int r3=128, int g3=128, int b3=128)
int qwtCompassSetValue (PARAM *p, int id, float value)
float unit (PARAM *p, float val, int conversion)


Generated on Mon Jun 5 08:33:36 2006 for ProcessViewBrowser-ServerProgramming by  doxygen 1.4.6