Classes | Defines | Enumerations | Functions | Variables

wxwidgets.h File Reference

#include <wx/spinctrl.h>

Go to the source code of this file.

Classes

class  wxPLDevBase
class  wxPLDevDC
struct  dev_entry
class  wxPLplotApp
class  wxPLplotWindow
class  wxPLplotFrame
class  wxGetSizeDialog

Defines

#define max_number_of_grey_levels_used_in_text_smoothing   64
#define NDEV   100
#define VSCALE   ( 32. )
#define DEVICE_PIXELS_PER_MM   ( 3.14961 )
#define VIRTUAL_PIXELS_PER_MM   ( DEVICE_PIXELS_PER_MM * VSCALE )
#define MM_PER_IN   ( 25.4 )
#define DEVICE_PIXELS_PER_IN   ( DEVICE_PIXELS_PER_MM * MM_PER_IN )
#define VIRTUAL_PIXELS_PER_IN   ( VIRTUAL_PIXELS_PER_MM * MM_PER_IN )
#define CANVAS_WIDTH   ( 10.0 )
#define CANVAS_HEIGHT   ( 7.5 )
#define PLOT_WIDTH   ( 800 )
#define PLOT_HEIGHT   ( 600 )
#define LOCATE_INVOKED_VIA_API   1
#define LOCATE_INVOKED_VIA_DRIVER   2
#define wxBACKEND_DC   0
#define wxBACKEND_AGG   1
#define wxBACKEND_GC   2
#define MAX_COMCOUNT   10000
#define IMPLEMENT_PLAPP_NO_MAIN(appname)
#define DECLARE_PLAPP(appname)   extern appname &wxPLGetApp();
#define WX_SUPPRESS_UNUSED_WARN(x)   Use( &x )

Enumerations

enum  {
  wxPL_Save = 10000, wxPL_Next = 10100, wxPL_Locate, wxPL_Orientation_0,
  wxPL_Orientation_90, wxPL_Orientation_180, wxPL_Orientation_270
}

Functions

 WX_DEFINE_ARRAY (wxPLplotFrame *, wxArrayOfwxPLplotFrame)
static void Use (void *)
static void install_buffer (PLStream *pls)
static void wxRunApp (PLStream *pls, bool runonce=false)
static void GetCursorCmd (PLStream *pls, PLGraphicsIn *ptr)
void plD_init_wxwidgets (PLStream *)
void plD_init_wxpng (PLStream *)
void plD_line_wxwidgets (PLStream *, short, short, short, short)
void plD_polyline_wxwidgets (PLStream *, short *, short *, PLINT)
void plD_eop_wxwidgets (PLStream *)
void plD_bop_wxwidgets (PLStream *)
void plD_tidy_wxwidgets (PLStream *)
void plD_state_wxwidgets (PLStream *, PLINT)
void plD_esc_wxwidgets (PLStream *, PLINT, void *)
static void fill_polygon (PLStream *pls)
void wx_set_dc (PLStream *pls, wxDC *dc)
void wx_set_buffer (PLStream *pls, wxImage *buffer)
void wx_set_size (PLStream *pls, int width, int height)
int plD_errorexithandler_wxwidgets (char *errormessage)
void plD_erroraborthandler_wxwidgets (char *errormessage)
void Log_Verbose (const char *fmt,...)
void Log_Debug (const char *fmt,...)

Variables

const wxFontFamily fontFamilyLookup [5]
const int fontStyleLookup [3]
const int fontWeightLookup [2]

Define Documentation

#define CANVAS_HEIGHT   ( 7.5 )

Definition at line 71 of file wxwidgets.h.

#define CANVAS_WIDTH   ( 10.0 )

Definition at line 70 of file wxwidgets.h.

#define DECLARE_PLAPP (   appname  )     extern appname &wxPLGetApp();

Definition at line 486 of file wxwidgets.h.

#define DEVICE_PIXELS_PER_IN   ( DEVICE_PIXELS_PER_MM * MM_PER_IN )

Definition at line 66 of file wxwidgets.h.

#define DEVICE_PIXELS_PER_MM   ( 3.14961 )

Definition at line 59 of file wxwidgets.h.

#define IMPLEMENT_PLAPP_NO_MAIN (   appname  ) 
Value:
wxAppConsole * wxPLCreateApp()                                   \
    {                                                                \
        wxAppConsole::CheckBuildOptions( WX_BUILD_OPTIONS_SIGNATURE, \
            "your program" );                                        \
        return new appname;                                          \
    }                                                                \
    wxAppInitializer                                                 \
    wxAppInitializer( (wxAppInitializerFunction) wxPLCreateApp );    \
    DECLARE_PLAPP( appname )                                         \
    appname & wxPLGetApp() { return *wx_static_cast( appname *, wxApp::GetInstance() ); }

Definition at line 474 of file wxwidgets.h.

#define LOCATE_INVOKED_VIA_API   1

Definition at line 78 of file wxwidgets.h.

#define LOCATE_INVOKED_VIA_DRIVER   2

Definition at line 79 of file wxwidgets.h.

#define MAX_COMCOUNT   10000

Definition at line 367 of file wxwidgets.h.

#define max_number_of_grey_levels_used_in_text_smoothing   64

Definition at line 40 of file wxwidgets.h.

#define MM_PER_IN   ( 25.4 )

Definition at line 63 of file wxwidgets.h.

#define NDEV   100

Definition at line 43 of file wxwidgets.h.

#define PLOT_HEIGHT   ( 600 )

Definition at line 75 of file wxwidgets.h.

#define PLOT_WIDTH   ( 800 )

Definition at line 74 of file wxwidgets.h.

#define VIRTUAL_PIXELS_PER_IN   ( VIRTUAL_PIXELS_PER_MM * MM_PER_IN )

Definition at line 67 of file wxwidgets.h.

#define VIRTUAL_PIXELS_PER_MM   ( DEVICE_PIXELS_PER_MM * VSCALE )

Definition at line 60 of file wxwidgets.h.

#define VSCALE   ( 32. )

Definition at line 56 of file wxwidgets.h.

#define WX_SUPPRESS_UNUSED_WARN (   x  )     Use( &x )

Definition at line 492 of file wxwidgets.h.

#define wxBACKEND_AGG   1

Definition at line 83 of file wxwidgets.h.

#define wxBACKEND_DC   0

Definition at line 82 of file wxwidgets.h.

#define wxBACKEND_GC   2

Definition at line 84 of file wxwidgets.h.


Enumeration Type Documentation

anonymous enum
Enumerator:
wxPL_Save 
wxPL_Next 
wxPL_Locate 
wxPL_Orientation_0 
wxPL_Orientation_90 
wxPL_Orientation_180 
wxPL_Orientation_270 

Definition at line 445 of file wxwidgets.h.


Function Documentation

static void fill_polygon ( PLStream pls  )  [static]
static void GetCursorCmd ( PLStream pls,
PLGraphicsIn ptr 
) [static]
static void install_buffer ( PLStream pls  )  [static]
void Log_Debug ( const char *  fmt,
  ... 
)

Definition at line 75 of file wxwidgets.cpp.

void Log_Verbose ( const char *  fmt,
  ... 
)

Definition at line 56 of file wxwidgets.cpp.

void plD_bop_wxwidgets ( PLStream  ) 

Definition at line 694 of file wxwidgets.cpp.

void plD_eop_wxwidgets ( PLStream  ) 

Definition at line 657 of file wxwidgets.cpp.

void plD_erroraborthandler_wxwidgets ( char *  errormessage  ) 
int plD_errorexithandler_wxwidgets ( char *  errormessage  ) 
void plD_esc_wxwidgets ( PLStream ,
PLINT  ,
void *   
)

Definition at line 825 of file wxwidgets.cpp.

void plD_init_wxpng ( PLStream  ) 
void plD_init_wxwidgets ( PLStream  ) 
void plD_line_wxwidgets ( PLStream ,
short  ,
short  ,
short  ,
short   
)

Definition at line 596 of file wxwidgets.cpp.

void plD_polyline_wxwidgets ( PLStream ,
short *  ,
short *  ,
PLINT   
)

Definition at line 625 of file wxwidgets.cpp.

void plD_state_wxwidgets ( PLStream ,
PLINT   
)

Definition at line 782 of file wxwidgets.cpp.

void plD_tidy_wxwidgets ( PLStream  ) 

Definition at line 749 of file wxwidgets.cpp.

static void Use ( void *   )  [inline, static]

Definition at line 489 of file wxwidgets.h.

WX_DEFINE_ARRAY ( wxPLplotFrame ,
wxArrayOfwxPLplotFrame   
)
void wx_set_buffer ( PLStream pls,
wxImage *  buffer 
)
void wx_set_dc ( PLStream pls,
wxDC *  dc 
)
void wx_set_size ( PLStream pls,
int  width,
int  height 
)

Definition at line 946 of file wxwidgets.cpp.

static void wxRunApp ( PLStream pls,
bool  runonce = false 
) [static]

Variable Documentation

const wxFontFamily fontFamilyLookup[5]
Initial value:
 {
    wxFONTFAMILY_SWISS,      
    wxFONTFAMILY_ROMAN,      
    wxFONTFAMILY_TELETYPE,   
    wxFONTFAMILY_SCRIPT,     
    wxFONTFAMILY_SWISS       
}

Definition at line 535 of file wxwidgets.h.

const int fontStyleLookup[3]
Initial value:
 {
    wxFONTFLAG_DEFAULT,      
    wxFONTFLAG_ITALIC,       
    wxFONTFLAG_SLANT         
}

Definition at line 543 of file wxwidgets.h.

const int fontWeightLookup[2]
Initial value:
 {
    wxFONTFLAG_DEFAULT,     
    wxFONTFLAG_BOLD         
}

Definition at line 549 of file wxwidgets.h.