|
From: Alan W. I. <ir...@be...> - 2001-11-09 17:58:18
|
Hello Olof:
Our windows expertise is limited so we welcome any help we can get with the
windows platform for plplot. So thanks very much for your patches to the
two files. They are isolated to the win32 directory and only a few lines so
unless any expert here (which I don't pretend to be) sees a problem, I will
put them into cvs.
It is great you got plplot-5.0.4 to work with w2k. Can you build all the
plots in our test suite? (Run plplot-test.sh --help to see the
possibilities.)
Alan
email: ir...@be...
phone: 250-727-2902 FAX: 250-721-7715
snail-mail:
Dr. Alan W. Irwin
Department of Physics and Astronomy,
University of Victoria, P.O. Box 3055,
Victoria, British Columbia, Canada, V8W 3P6
__________________________
Linux-powered astrophysics
__________________________
On Fri, 9 Nov 2001, Olof Svensson wrote:
> Dear Alan,
>
> I'm working with Alessandro Mirone on the PyQt port of plplot.
> I'm trying to compile plplot version 5.0.4 on Windows 2000 using MS
> Visual Studio 6.0. I ran into several problems however I succeeded
> finally to build the package and use the win3 device. I have listed
> at the end of this message some of the patches I had to do to
> plplot.h in order to compile the plplot.lib win32 library (if you
> are interested I can provide a complete list of patches.)
>
> I'd like to know if the win32 port of plplot is still supported.
>
> Best regards,
>
> Olof Svensson
>
> --------------------------------------
> plplot-5.0.4, patch to plplot/sys/win32/msdev/src/plplot.h:
>
> < #define PLESC_DOUBLEBUFFERING 15 /* configure double buffering */
> < #define PLESC_XORMOD 16 /* jc: set xor mode */
> < #define PLESC_SET_COMPRESSION 17 /* AFR: set compression */
> < #define PLESC_CLEAR 18 /* RL: clear graphics region */
> < #define PLESC_DASH 19 /* RL: draw dashed line */
> < #define PLESC_HAS_TEXT 20 /* jc: driver draws text */
>
> < c_plshade(PLFLT **a, PLINT nx, PLINT ny, PLINT (*defined) (PLFLT, PLFLT),
> ---
> > c_plshade(PLFLT **a, PLINT nx, PLINT ny, const char **defined,
>
> < c_plshade1(PLFLT *a, PLINT nx, PLINT ny, PLINT (*defined) (PLFLT, PLFLT),
> ---
> > c_plshade1(PLFLT *a, PLINT nx, PLINT ny, const char *defined,
>
>
> patches to plplot/sys/win32/msdev/src/win3.cpp:
>
> < wndclass.hbrBackground = (struct HBRUSH__ *)GetStockObject(WHITE_BRUSH);
> ---
> > wndclass.hbrBackground = GetStockObject(WHITE_BRUSH);
>
> < if( SetAbortProc( dev->hdc, (int(__stdcall *)(struct HDC__ *,int))AbortProc ) ==
> SP_ERROR ) {
> ---
> > if( SetAbortProc( dev->hdc, (int(__stdcall *)(void))AbortProc ) == SP_ERROR ) {
>
> _______________________________________________
> Plplot-devel mailing list
> Plp...@li...
> https://lists.sourceforge.net/lists/listinfo/plplot-devel
>
|