PLplot  5.10.0
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 NDEV   100
#define VSCALE   ( 40. )
#define DEVICE_PIXELS_PER_IN   ( 80. )
#define VIRTUAL_PIXELS_PER_IN   ( DEVICE_PIXELS_PER_IN * VSCALE )
#define MM_PER_IN   ( 25.4 )
#define DEVICE_PIXELS_PER_MM   ( DEVICE_PIXELS_PER_IN / MM_PER_IN )
#define VIRTUAL_PIXELS_PER_MM   ( VIRTUAL_PIXELS_PER_IN / 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 *)
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 *)
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 65 of file wxwidgets.h.

#define CANVAS_WIDTH   ( 10.0 )

Definition at line 64 of file wxwidgets.h.

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

Definition at line 484 of file wxwidgets.h.

#define DEVICE_PIXELS_PER_IN   ( 80. )

Definition at line 52 of file wxwidgets.h.

Definition at line 60 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) ( wxApp::GetInitializerFunction() == NULL ? wxPLCreateApp : wxApp::GetInitializerFunction() ) ); \
    DECLARE_PLAPP( appname )                                                                                                                      \
    appname & wxPLGetApp() { return *wx_static_cast( appname *, wxApp::GetInstance() ); }

Definition at line 472 of file wxwidgets.h.

#define LOCATE_INVOKED_VIA_API   1

Definition at line 72 of file wxwidgets.h.

#define LOCATE_INVOKED_VIA_DRIVER   2

Definition at line 73 of file wxwidgets.h.

#define MAX_COMCOUNT   10000

Definition at line 365 of file wxwidgets.h.

#define MM_PER_IN   ( 25.4 )

Definition at line 57 of file wxwidgets.h.

#define NDEV   100

Definition at line 35 of file wxwidgets.h.

#define PLOT_HEIGHT   ( 600 )

Definition at line 69 of file wxwidgets.h.

#define PLOT_WIDTH   ( 800 )

Definition at line 68 of file wxwidgets.h.

Definition at line 53 of file wxwidgets.h.

Definition at line 61 of file wxwidgets.h.

#define VSCALE   ( 40. )

Definition at line 49 of file wxwidgets.h.

#define WX_SUPPRESS_UNUSED_WARN (   x)    Use( &x )

Definition at line 490 of file wxwidgets.h.

#define wxBACKEND_AGG   1

Definition at line 77 of file wxwidgets.h.

#define wxBACKEND_DC   0

Definition at line 76 of file wxwidgets.h.

#define wxBACKEND_GC   2

Definition at line 78 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 443 of file wxwidgets.h.


Function Documentation

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

Definition at line 90 of file wxwidgets.cpp.

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

Definition at line 69 of file wxwidgets.cpp.

Definition at line 721 of file wxwidgets.cpp.

Definition at line 682 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 852 of file wxwidgets.cpp.

void plD_line_wxwidgets ( PLStream ,
short  ,
short  ,
short  ,
short   
)

Definition at line 621 of file wxwidgets.cpp.

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

Definition at line 650 of file wxwidgets.cpp.

Definition at line 809 of file wxwidgets.cpp.

Definition at line 776 of file wxwidgets.cpp.

static void Use ( void ) [inline, static]

Definition at line 487 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 973 of file wxwidgets.cpp.


Variable Documentation

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

Definition at line 527 of file wxwidgets.h.

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

Definition at line 535 of file wxwidgets.h.

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

Definition at line 541 of file wxwidgets.h.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines