[wxPython] Mail delivery failed: returning message to sender

This message was created automatically by mail delivery software (Exim).

A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:

  jhsh@freemail.absa.co.za
    retry time not reached for any host after a long failure period

------ This is a copy of the message, including all the headers. ------
------ The body of the message is 34404 characters long; only the first
------ 25600 or so are included here.

Return-path: <wxpython-users@lists.wxwindows.org>
Received: from akad.sun.ac.za ([146.232.80.254])
  by maties1.sun.ac.za with esmtp (Exim 3.31 #1)
  id 15gZ6d-0004fL-00
  for jhsh@freemail.absa.co.za; Tue, 11 Sep 2001 00:00:39 +0200
Received: from SUN_AKAD/SpoolDir by AKAD.SUN.AC.ZA (Mercury 1.48);
    11 Sep 01 00:01:48 +0200
Received: from SpoolDir by SUN_AKAD (Mercury 1.48); 11 Sep 01 00:01:37 +0200
Received: from SUN_AKAD/SpoolDir by AKAD.SUN.AC.ZA (Mercury 1.48)
  for <JHSH.BIOCHEM.LAND.PERS.SU@AKAD.SUN.AC.ZA>; 11 Sep 01 00:01:37 +0200
Resent-from: JHSH.BIOCHEM.LAND.PERS.SU@AKAD.SUN.AC.ZA
Resent-to: jhsh@freemail.absa.co.za
Resent-Date: Tue, 11 Sep 2001 0:01:37 +0200
X-Autoforward: 1
Received: from maties2.sun.ac.za (146.232.128.10) by AKAD.SUN.AC.ZA (Mercury 1.48) with ESMTP;
    11 Sep 01 00:01:29 +0200
Received: from first.otsys.com ([128.223.40.58] helo=first.cirl.uoregon.edu)
  by maties2.sun.ac.za with esmtp (Exim 3.33 #1)
  id 15gZ6I-0002yQ-00
  for jhsh@maties.sun.ac.za; Tue, 11 Sep 2001 00:00:18 +0200
Received: from localhost
  ([127.0.0.1] helo=first.cirl.uoregon.edu ident=list)
  by first.cirl.uoregon.edu with esmtp (Exim 3.22 #1 (Debian))
  id 15gZ64-0004bJ-00; Mon, 10 Sep 2001 15:00:04 -0700
X-Mailer: Mailman v2.0.3
MIME-version: 1.0
Content-type: text/plain
Sender: wxpython-users-admin@lists.wxwindows.org
Errors-To: wxpython-users-admin@lists.wxwindows.org
X-BeenThere: wxpython-users@lists.wxwindows.org
X-Mailman-Version: 2.0.3
Precedence: bulk
X-Reply-To: wxpython-users@lists.wxwindows.org
List-Help: <mailto:wxpython-users-request@lists.wxwindows.org?subject=help>
List-Post: <mailto:wxpython-users@lists.wxwindows.org>
List-Subscribe: <http://lists.wxwindows.org/mailman/listinfo/wxpython-users&gt;,
  <mailto:wxpython-users-request@lists.wxwindows.org?subject=subscribe>
List-Id: for users of the wxWindows Python toolkit <wxpython-users.lists.wxwindows.org>
List-Unsubscribe: <http://lists.wxwindows.org/mailman/listinfo/wxpython-users&gt;,
  <mailto:wxpython-users-request@lists.wxwindows.org?subject=unsubscribe>
List-Archive: <http://lists.wxwindows.org/pipermail/wxpython-users/&gt;
Message-Id: <E15gZ64-0004bJ-00@first.cirl.uoregon.edu>
Resent-Message-Id: <E15gZ6d-0004fL-00@maties1.sun.ac.za>

Send wxpython-users mailing list submissions to
  wxpython-users@lists.wxwindows.org

To subscribe or unsubscribe via the World Wide Web, visit
  http://lists.wxwindows.org/mailman/listinfo/wxpython-users
or, via email, send a message with subject or body 'help' to
  wxpython-users-request@lists.wxwindows.org

You can reach the person managing the list at
  wxpython-users-admin@lists.wxwindows.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of wxpython-users digest..."

Today's Topics:

   1. Mail delivery failed: returning message to sender (Mail Delivery System)

···

From: wxpython-users-request@lists.wxwindows.org
Subject: wxpython-users digest, Vol 1 #356 - 1 msg
To: wxpython-users@lists.wxwindows.org
Reply-To: wxpython-users@lists.wxwindows.org
Date: Mon, 10 Sep 2001 15:00:04 -0700

--__--__--

Message: 1
From: Mail Delivery System <Mailer-Daemon@sun.ac.za>
To: wxpython-users@lists.wxwindows.org
Date: Mon, 10 Sep 2001 23:58:38 +0200
Subject: [wxPython] Mail delivery failed: returning message to sender
Reply-To: wxpython-users@lists.wxwindows.org

This message was created automatically by mail delivery software (Exim).

A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:

  jhsh@freemail.absa.co.za
    retry time not reached for any host after a long failure period

------ This is a copy of the message, including all the headers. ------
------ The body of the message is 34404 characters long; only the first
------ 25600 or so are included here.

Return-path: <wxpython-users@lists.wxwindows.org>
Received: from akad.sun.ac.za ([146.232.80.254])
  by maties1.sun.ac.za with esmtp (Exim 3.31 #1)
  id 15gZ4g-00051r-00
  for jhsh@freemail.absa.co.za; Mon, 10 Sep 2001 23:58:38 +0200
Received: from SUN_AKAD/SpoolDir by AKAD.SUN.AC.ZA (Mercury 1.48);
    10 Sep 01 23:59:47 +0200
Received: from SpoolDir by SUN_AKAD (Mercury 1.48); 10 Sep 01 23:59:26 +0200
Received: from SUN_AKAD/SpoolDir by AKAD.SUN.AC.ZA (Mercury 1.48)
  for <JHSH.BIOCHEM.LAND.PERS.SU@AKAD.SUN.AC.ZA>; 10 Sep 01 23:59:26 +0200
Resent-from: JHSH.BIOCHEM.LAND.PERS.SU@AKAD.SUN.AC.ZA
Resent-to: jhsh@freemail.absa.co.za
Resent-Date: Mon, 10 Sep 2001 23:59:26 +0200
X-Autoforward: 1
Received: from maties2.sun.ac.za (146.232.128.10) by AKAD.SUN.AC.ZA (Mercury 1.48) with ESMTP;
    10 Sep 01 23:59:20 +0200
Received: from cirl.uoregon.edu ([128.223.40.58] helo=first.cirl.uoregon.edu)
  by maties2.sun.ac.za with esmtp (Exim 3.33 #1)
  id 15gZ4B-0002r9-00
  for jhsh@maties.sun.ac.za; Mon, 10 Sep 2001 23:58:08 +0200
Received: from localhost
  ([127.0.0.1] helo=first.cirl.uoregon.edu ident=list)
  by first.cirl.uoregon.edu with esmtp (Exim 3.22 #1 (Debian))
  id 15gZ47-0004Nl-00; Mon, 10 Sep 2001 14:58:04 -0700
From: wxpython-users-request@lists.wxwindows.org
Subject: wxpython-users digest, Vol 1 #355 - 1 msg
X-Mailer: Mailman v2.0.3
MIME-version: 1.0
Content-type: text/plain
To: wxpython-users@lists.wxwindows.org
Sender: wxpython-users-admin@lists.wxwindows.org
Errors-To: wxpython-users-admin@lists.wxwindows.org
X-BeenThere: wxpython-users@lists.wxwindows.org
X-Mailman-Version: 2.0.3
Precedence: bulk
Reply-To: wxpython-users@lists.wxwindows.org
X-Reply-To: wxpython-users@lists.wxwindows.org
List-Help: <mailto:wxpython-users-request@lists.wxwindows.org?subject=help>
List-Post: <mailto:wxpython-users@lists.wxwindows.org>
List-Subscribe: <http://lists.wxwindows.org/mailman/listinfo/wxpython-users&gt;,
  <mailto:wxpython-users-request@lists.wxwindows.org?subject=subscribe>
List-Id: for users of the wxWindows Python toolkit <wxpython-users.lists.wxwindows.org>
List-Unsubscribe: <http://lists.wxwindows.org/mailman/listinfo/wxpython-users&gt;,
  <mailto:wxpython-users-request@lists.wxwindows.org?subject=unsubscribe>
List-Archive: <http://lists.wxwindows.org/pipermail/wxpython-users/&gt;
Message-Id: <E15gZ47-0004Nl-00@first.cirl.uoregon.edu>
Date: Mon, 10 Sep 2001 14:58:04 -0700
Resent-Message-Id: <E15gZ4g-00051r-00@maties1.sun.ac.za>

Send wxpython-users mailing list submissions to
  wxpython-users@lists.wxwindows.org

To subscribe or unsubscribe via the World Wide Web, visit
  http://lists.wxwindows.org/mailman/listinfo/wxpython-users
or, via email, send a message with subject or body 'help' to
  wxpython-users-request@lists.wxwindows.org

You can reach the person managing the list at
  wxpython-users-admin@lists.wxwindows.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of wxpython-users digest..."

Today's Topics:

   1. Mail delivery failed: returning message to sender (Mail Delivery System)

-- __--__--

Message: 1
From: Mail Delivery System <Mailer-Daemon@sun.ac.za>
To: wxpython-users@lists.wxwindows.org
Date: Mon, 10 Sep 2001 23:56:36 +0200
Subject: [wxPython] Mail delivery failed: returning message to sender
Reply-To: wxpython-users@lists.wxwindows.org

This message was created automatically by mail delivery software (Exim).

A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:

  jhsh@freemail.absa.co.za
    retry time not reached for any host after a long failure period

------ This is a copy of the message, including all the headers. ------
------ The body of the message is 34404 characters long; only the first
------ 25600 or so are included here.

Return-path: <wxpython-users@lists.wxwindows.org>
Received: from akad.sun.ac.za ([146.232.80.254])
  by maties1.sun.ac.za with esmtp (Exim 3.31 #1)
  id 15gZ2i-0008RB-00
  for jhsh@freemail.absa.co.za; Mon, 10 Sep 2001 23:56:36 +0200
Received: from SUN_AKAD/SpoolDir by AKAD.SUN.AC.ZA (Mercury 1.48);
    10 Sep 01 23:57:45 +0200
Received: from SpoolDir by SUN_AKAD (Mercury 1.48); 10 Sep 01 23:57:25 +0200
Received: from SUN_AKAD/SpoolDir by AKAD.SUN.AC.ZA (Mercury 1.48)
  for <JHSH.BIOCHEM.LAND.PERS.SU@AKAD.SUN.AC.ZA>; 10 Sep 01 23:57:25 +0200
Resent-from: JHSH.BIOCHEM.LAND.PERS.SU@AKAD.SUN.AC.ZA
Resent-to: jhsh@freemail.absa.co.za
Resent-Date: Mon, 10 Sep 2001 23:57:25 +0200
X-Autoforward: 1
Received: from maties2.sun.ac.za (146.232.128.10) by AKAD.SUN.AC.ZA (Mercury 1.48) with ESMTP;
    10 Sep 01 23:57:19 +0200
Received: from first.cirl.uoregon.edu ([128.223.40.58])
  by maties2.sun.ac.za with esmtp (Exim 3.33 #1)
  id 15gZ2F-0002jk-00
  for jhsh@maties.sun.ac.za; Mon, 10 Sep 2001 23:56:08 +0200
Received: from localhost
  ([127.0.0.1] helo=first.cirl.uoregon.edu ident=list)
  by first.cirl.uoregon.edu with esmtp (Exim 3.22 #1 (Debian))
  id 15gZ2D-0004E0-00; Mon, 10 Sep 2001 14:56:05 -0700
From: wxpython-users-request@lists.wxwindows.org
Subject: wxpython-users digest, Vol 1 #354 - 1 msg
X-Mailer: Mailman v2.0.3
MIME-version: 1.0
Content-type: text/plain
To: wxpython-users@lists.wxwindows.org
Sender: wxpython-users-admin@lists.wxwindows.org
Errors-To: wxpython-users-admin@lists.wxwindows.org
X-BeenThere: wxpython-users@lists.wxwindows.org
X-Mailman-Version: 2.0.3
Precedence: bulk
Reply-To: wxpython-users@lists.wxwindows.org
X-Reply-To: wxpython-users@lists.wxwindows.org
List-Help: <mailto:wxpython-users-request@lists.wxwindows.org?subject=help>
List-Post: <mailto:wxpython-users@lists.wxwindows.org>
List-Subscribe: <http://lists.wxwindows.org/mailman/listinfo/wxpython-users&gt;,
  <mailto:wxpython-users-request@lists.wxwindows.org?subject=subscribe>
List-Id: for users of the wxWindows Python toolkit <wxpython-users.lists.wxwindows.org>
List-Unsubscribe: <http://lists.wxwindows.org/mailman/listinfo/wxpython-users&gt;,
  <mailto:wxpython-users-request@lists.wxwindows.org?subject=unsubscribe>
List-Archive: <http://lists.wxwindows.org/pipermail/wxpython-users/&gt;
Message-Id: <E15gZ2D-0004E0-00@first.cirl.uoregon.edu>
Date: Mon, 10 Sep 2001 14:56:05 -0700
Resent-Message-Id: <E15gZ2i-0008RB-00@maties1.sun.ac.za>

Send wxpython-users mailing list submissions to
  wxpython-users@lists.wxwindows.org

To subscribe or unsubscribe via the World Wide Web, visit
  http://lists.wxwindows.org/mailman/listinfo/wxpython-users
or, via email, send a message with subject or body 'help' to
  wxpython-users-request@lists.wxwindows.org

You can reach the person managing the list at
  wxpython-users-admin@lists.wxwindows.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of wxpython-users digest..."

Today's Topics:

   1. Mail delivery failed: returning message to sender (Mail Delivery System)

-- __--__--

Message: 1
From: Mail Delivery System <Mailer-Daemon@sun.ac.za>
To: wxpython-users@lists.wxwindows.org
Date: Mon, 10 Sep 2001 23:54:05 +0200
Subject: [wxPython] Mail delivery failed: returning message to sender
Reply-To: wxpython-users@lists.wxwindows.org

This message was created automatically by mail delivery software (Exim).

A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:

  jhsh@freemail.absa.co.za
    retry time not reached for any host after a long failure period

------ This is a copy of the message, including all the headers. ------
------ The body of the message is 33609 characters long; only the first
------ 25600 or so are included here.

Return-path: <wxpython-users@lists.wxwindows.org>
Received: from akad.sun.ac.za ([146.232.80.254])
  by maties1.sun.ac.za with esmtp (Exim 3.31 #1)
  id 15gZ0G-0004IR-00
  for jhsh@freemail.absa.co.za; Mon, 10 Sep 2001 23:54:04 +0200
Received: from SUN_AKAD/SpoolDir by AKAD.SUN.AC.ZA (Mercury 1.48);
    10 Sep 01 23:55:13 +0200
Received: from SpoolDir by SUN_AKAD (Mercury 1.48); 10 Sep 01 23:54:53 +0200
Received: from SUN_AKAD/SpoolDir by AKAD.SUN.AC.ZA (Mercury 1.48)
  for <JHSH.BIOCHEM.LAND.PERS.SU@AKAD.SUN.AC.ZA>; 10 Sep 01 23:54:53 +0200
Resent-from: JHSH.BIOCHEM.LAND.PERS.SU@AKAD.SUN.AC.ZA
Resent-to: jhsh@freemail.absa.co.za
Resent-Date: Mon, 10 Sep 2001 23:54:53 +0200
X-Autoforward: 1
Received: from maties2.sun.ac.za (146.232.128.10) by AKAD.SUN.AC.ZA (Mercury 1.48) with ESMTP;
    10 Sep 01 23:54:44 +0200
Received: from first.cirl.uoregon.edu ([128.223.40.58])
  by maties2.sun.ac.za with esmtp (Exim 3.33 #1)
  id 15gYzk-0002d6-00
  for jhsh@maties.sun.ac.za; Mon, 10 Sep 2001 23:53:33 +0200
Received: from localhost
  ([127.0.0.1] helo=first.cirl.uoregon.edu ident=list)
  by first.cirl.uoregon.edu with esmtp (Exim 3.22 #1 (Debian))
  id 15gYzI-00043A-00; Mon, 10 Sep 2001 14:53:04 -0700
From: wxpython-users-request@lists.wxwindows.org
Subject: wxpython-users digest, Vol 1 #353 - 5 msgs
X-Mailer: Mailman v2.0.3
MIME-version: 1.0
Content-type: text/plain
To: wxpython-users@lists.wxwindows.org
Sender: wxpython-users-admin@lists.wxwindows.org
Errors-To: wxpython-users-admin@lists.wxwindows.org
X-BeenThere: wxpython-users@lists.wxwindows.org
X-Mailman-Version: 2.0.3
Precedence: bulk
Reply-To: wxpython-users@lists.wxwindows.org
X-Reply-To: wxpython-users@lists.wxwindows.org
List-Help: <mailto:wxpython-users-request@lists.wxwindows.org?subject=help>
List-Post: <mailto:wxpython-users@lists.wxwindows.org>
List-Subscribe: <http://lists.wxwindows.org/mailman/listinfo/wxpython-users&gt;,
  <mailto:wxpython-users-request@lists.wxwindows.org?subject=subscribe>
List-Id: for users of the wxWindows Python toolkit <wxpython-users.lists.wxwindows.org>
List-Unsubscribe: <http://lists.wxwindows.org/mailman/listinfo/wxpython-users&gt;,
  <mailto:wxpython-users-request@lists.wxwindows.org?subject=unsubscribe>
List-Archive: <http://lists.wxwindows.org/pipermail/wxpython-users/&gt;
Message-Id: <E15gYzI-00043A-00@first.cirl.uoregon.edu>
Date: Mon, 10 Sep 2001 14:53:04 -0700
Resent-Message-Id: <E15gZ0G-0004IR-00@maties1.sun.ac.za>

Send wxpython-users mailing list submissions to
  wxpython-users@lists.wxwindows.org

To subscribe or unsubscribe via the World Wide Web, visit
  http://lists.wxwindows.org/mailman/listinfo/wxpython-users
or, via email, send a message with subject or body 'help' to
  wxpython-users-request@lists.wxwindows.org

You can reach the person managing the list at
  wxpython-users-admin@lists.wxwindows.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of wxpython-users digest..."

Today's Topics:

   1. Re: FW: DrawPointList and DrawLineList (Robin Dunn)
   2. Re: FW: DrawPointList and DrawLineList (Tim Hochberg)
   3. Re: [scintilla] RE: [wxPython] wxSTC font sizes too small (Neil Hodgson)
   4. Re: FW: DrawPointList and DrawLineList (Chris Barker)
   5. Mail delivery failed: returning message to sender (Mail Delivery System)

-- __--__--

Message: 1
From: "Robin Dunn" <robin@alldunn.com>
To: <wxpython-users@lists.wxwindows.org>
Subject: Re: [wxPython] FW: DrawPointList and DrawLineList
Date: Mon, 10 Sep 2001 14:01:57 -0700
Reply-To: wxpython-users@lists.wxwindows.org

I think so too. THat way is could be put in wxDC, and it would
automagically find it's way into all the DCs. I'm guessing here, but if
it was not in the superclass that all the DCs derive from, there would
have to be a separate copy in all the various DCs. Robin?

Using SWIG's %addmethods directive I can add things to classes whereever I
see the need, and I have done a fair bit of it already in wxPython. In this
case from Python's perspective it would appear to be a method in the base
wxDC class and so all DCs would get it.

--
Robin Dunn
Software Craftsman
robin@AllDunn.com Java give you jitters?
http://wxPython.org Relax with wxPython!

-- __--__--

Message: 2
From: "Tim Hochberg" <tim.hochberg@ieee.org>
To: <wxpython-users@lists.wxwindows.org>
Subject: Re: [wxPython] FW: DrawPointList and DrawLineList
Date: Mon, 10 Sep 2001 14:13:30 -0700
Reply-To: wxpython-users@lists.wxwindows.org

Using SWIG's %addmethods directive I can add things to classes whereever I
see the need, and I have done a fair bit of it already in wxPython. In

this

case from Python's perspective it would appear to be a method in the base
wxDC class and so all DCs would get it.

Ah! That was the hint I needed, now I see how this would be done.

-tim

-- __--__--

Message: 3
From: "Neil Hodgson" <nhodgson@bigpond.net.au>
To: <scintilla-interest@lists.sourceforge.net>,
  <wxpython-users@lists.wxwindows.org>
Cc: "Scintilla-Interest" <scintilla-interest@lists.sourceforge.net>
Subject: Re: [scintilla] RE: [wxPython] wxSTC font sizes too small
Date: Tue, 11 Sep 2001 07:30:57 +1000
Reply-To: wxpython-users@lists.wxwindows.org

Patrick K. O'Brien:

I'm not setting the zoom at all, so I would expect the point sizes to
be the same as all other Windows apps. No?
...
Font sizes in wxSTC appear to be off by 2, at least under windows.
For example, a specified font of Courier New size 8 actually displays
as Courier New size 10. You can open up Notepad, Word or any
other app and compare the font sizes. Is this a known bug/feature?

   Perhaps it is double compensating for device scaling. Scintilla (in
Surface::DeviceHeightFont) asks for fonts that are pointSize * deviceScaling
in size. Perhaps wxWindows is also reperforming this calculation with the
size Scintilla asks for.

   Neil

-- __--__--

Message: 4
Date: Mon, 10 Sep 2001 15:03:26 -0700
From: Chris Barker <chrishbarker@home.net>
To: wxpython-users@lists.wxwindows.org
Subject: Re: [wxPython] FW: DrawPointList and DrawLineList
Reply-To: wxpython-users@lists.wxwindows.org

Robin Dunn wrote:

Using SWIG's %addmethods directive I can add things to classes whereever I
see the need, and I have done a fair bit of it already in wxPython. In this
case from Python's perspective it would appear to be a method in the base
wxDC class and so all DCs would get it.

Cool. That sounds perfect, and you're right, it would save the
translation to wxLists, etc.

-Chris

--
Christopher Barker,
Ph.D.
ChrisHBarker@home.net --- --- ---
http://members.home.net/barkerlohmann ---@@ -----@@ -----@@
                                   ------@@@ ------@@@ ------@@@
Oil Spill Modeling ------ @ ------ @ ------ @
Water Resources Engineering ------- --------- --------
Coastal and Fluvial Hydrodynamics --------------------------------------
------------------------------------------------------------------------

-- __--__--

Message: 5
From: Mail Delivery System <Mailer-Daemon@sun.ac.za>
To: wxpython-users@lists.wxwindows.org
Date: Mon, 10 Sep 2001 23:51:11 +0200
Subject: [wxPython] Mail delivery failed: returning message to sender
Reply-To: wxpython-users@lists.wxwindows.org

This message was created automatically by mail delivery software (Exim).

A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:

  jhsh@freemail.absa.co.za
    Connection refused:
    retry timeout exceeded

------ This is a copy of the message, including all the headers. ------

Return-path: <wxpython-users@lists.wxwindows.org>
Received: from akad.sun.ac.za ([146.232.80.254])
  by maties1.sun.ac.za with esmtp (Exim 3.31 #1)
  id 15gYFW-0006DS-00
  for jhsh@freemail.absa.co.za; Mon, 10 Sep 2001 23:05:46 +0200
Received: from SUN_AKAD/SpoolDir by AKAD.SUN.AC.ZA (Mercury 1.48);
    10 Sep 01 23:06:55 +0200
Received: from SpoolDir by SUN_AKAD (Mercury 1.48); 10 Sep 01 23:05:32 +0200
Received: from SUN_AKAD/SpoolDir by AKAD.SUN.AC.ZA (Mercury 1.48)
  for <JHSH.BIOCHEM.LAND.PERS.SU@AKAD.SUN.AC.ZA>; 10 Sep 01 23:05:32 +0200
Resent-from: JHSH.BIOCHEM.LAND.PERS.SU@AKAD.SUN.AC.ZA
Resent-to: jhsh@freemail.absa.co.za
Resent-Date: Mon, 10 Sep 2001 23:05:32 +0200
X-Autoforward: 1
Received: from maties2.sun.ac.za (146.232.128.10) by AKAD.SUN.AC.ZA (Mercury 1.48) with ESMTP;
    10 Sep 01 23:05:29 +0200
Received: from gibware.com ([128.223.40.58] helo=first.cirl.uoregon.edu)
  by maties2.sun.ac.za with esmtp (Exim 3.33 #1)
  id 15gYE6-0000SV-00
  for jhsh@maties.sun.ac.za; Mon, 10 Sep 2001 23:04:19 +0200
Received: from localhost
  ([127.0.0.1] helo=first.cirl.uoregon.edu ident=list)
  by first.cirl.uoregon.edu with esmtp (Exim 3.22 #1 (Debian))
  id 15gYD9-0002mM-00; Mon, 10 Sep 2001 14:03:20 -0700
From: wxpython-users-request@lists.wxwindows.org
Subject: wxpython-users digest, Vol 1 #352 - 10 msgs
X-Mailer: Mailman v2.0.3
MIME-version: 1.0
Content-type: text/plain
To: wxpython-users@lists.wxwindows.org
Sender: wxpython-users-admin@lists.wxwindows.org
Errors-To: wxpython-users-admin@lists.wxwindows.org
X-BeenThere: wxpython-users@lists.wxwindows.org
X-Mailman-Version: 2.0.3
Precedence: bulk
Reply-To: wxpython-users@lists.wxwindows.org
X-Reply-To: wxpython-users@lists.wxwindows.org
List-Help: <mailto:wxpython-users-request@lists.wxwindows.org?subject=help>
List-Post: <mailto:wxpython-users@lists.wxwindows.org>
List-Subscribe: <http://lists.wxwindows.org/mailman/listinfo/wxpython-users&gt;,
  <mailto:wxpython-users-request@lists.wxwindows.org?subject=subscribe>
List-Id: for users of the wxWindows Python toolkit <wxpython-users.lists.wxwindows.org>
List-Unsubscribe: <http://lists.wxwindows.org/mailman/listinfo/wxpython-users&gt;,
  <mailto:wxpython-users-request@lists.wxwindows.org?subject=unsubscribe>
List-Archive: <http://lists.wxwindows.org/pipermail/wxpython-users/&gt;
Message-Id: <E15gYD9-0002mM-00@first.cirl.uoregon.edu>
Date: Mon, 10 Sep 2001 14:03:20 -0700
Resent-Message-Id: <E15gYFW-0006DS-00@maties1.sun.ac.za>

Send wxpython-users mailing list submissions to
  wxpython-users@lists.wxwindows.org

To subscribe or unsubscribe via the World Wide Web, visit
  http://lists.wxwindows.org/mailman/listinfo/wxpython-users
or, via email, send a message with subject or body 'help' to
  wxpython-users-request@lists.wxwindows.org

You can reach the person managing the list at
  wxpython-users-admin@lists.wxwindows.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of wxpython-users digest..."

Today's Topics:

   1. FW: DrawPointList and DrawLineList (Kevin Altis)
   2. Re: FW: DrawPointList and DrawLineList (Tim Hochberg)
   3. RE: FW: DrawPointList and DrawLineList (Kevin Altis)
   4. Re: Message Watcher sizer help (Donnal Walter)
   5. Re: wxSTC font sizes too small (Robin Dunn)
   6. Re: FW: DrawPointList and DrawLineList (Tim Hochberg)
   7. Re: FW: DrawPointList and DrawLineList (Chris Barker)
   8. Re: FW: DrawPointList and DrawLineList (Robin Dunn)
   9. RE: FW: DrawPointList and DrawLineList (Kevin Altis)
  10. RE: wxSTC font sizes too small (Patrick K. O'Brien)

-- __--__--

Message: 1
From: "Kevin Altis" <altis@semi-retired.com>
To: "Wxpython-Users" <wxpython-users@lists.wxwindows.org>
Date: Mon, 10 Sep 2001 11:51:14 -0700
Subject: [wxPython] FW: DrawPointList and DrawLineList
Reply-To: wxpython-users@lists.wxwindows.org

I'm forwarding this email to the list in the hopes that other people that
are interested in a higher performance method of drawing to a DC and that
know some C++ might be able to help.

Originally, I was thinking that it would be simplest to just provide a list
of points or lines. However, after looking at some other drawing APIs, it
probably makes sense to support a pen and brush as part of the argument
list. I could see wanting to draw a series of lines in a given color, with a
particular brush pattern, and copy mode (XOR...)

Other ideas? Any C++ coders here that could take this on?

ka

-----Original Message-----
From: cbarker@waves.hazmat.noaa.gov
[mailto:cbarker@waves.hazmat.noaa.gov]On Behalf Of Chris Barker
Sent: Monday, September 10, 2001 11:59 AM
To: Kevin Altis
Cc: Robin Dunn
Subject: Re: FW: Possible contribution for PythonCard

Kevin Altis wrote:

Robin,
Would it
be possible to provide two methods in wxPython 2.3.2 that would accept a
list of points (DrawPointList) and lines (DrawLinesList) that would then
call the appropriate C++ routines directly for each item in the list to
improve performance?

Kevin (and Robin),

Robin and I discussed this a while ago, and I think the short version is
(Robin, please correct and clarify as you see fit):

Yes, it could be done, and would probably help

Yes, it could be integrated into the wxPython code without too much
trouble

Yes, Robin would help with that part

But: someone would have to actually write the code!

I am interested in doing it, but I have no experience with either SWIG
or C++ (and only a little C) so it would be a lot for me to take on, so
I havn't started yet. I'm probably going to be using wxPython for a
project I'm working on were this would be a big help, and I have a
couple of experienced C++ progarmmeres helping me, so I may get to it.
However, we're on a tight schedule, so If I can get the performance I
need without it, it won't happen.

I wish I could contribute more, but we all have more things we'd like to
do than time to do them!

Chris probably has some other suggestions as well.

Yes, I do. both for performance and easier coding. Let's face it, how
often does someone have a single point to draw? THe data is probably
already in a sequence of some kind, so why not use it directly? I'm full
of ideas, if anyone else wants to impliment them!

-Chris

-- __--__--

Message: 2
From: "Tim Hochberg" <tim.hochberg@ieee.org>
To: <wxpython-users@lists.wxwindows.org>
Subject: Re: [wxPython] FW: DrawPointList and DrawLineList
Date: Mon, 10 Sep 2001 12:35:18 -0700
Reply-To: wxpython-users@lists.wxwindows.org

Hi Kevin, etc.

I could probably be persuaded to do this. I've mucked around in this area of
the wxPython internals before so that I expect that it should be relatively
straightforward (famous last words....). However, since this is just for fun
and I'm busy at the moment, it would probably be at least a couple of weeks
before I could get to it. (Offers of beer have been known to speed me up
however....)

As to syntax, has the Draw<Thing>List syntax been blessed by Robin? It seems
reasonable to me in that it would be extensible to DrawPolygonList, etc if
someone later gets the urge. As far as Pens and Brushes go, I think that
only the pen is used for lines and points, so need to worry about the brush.
I would propose something like the following:

dc.DrawPointsList(points, pens=None)

If 'pens' is None, the current pen is used, otherwise 'pens' would be a list
equal in length to 'points'. This would be equivalent to:

N = len(points)
assert (pens is None or len(pens) == len(points), 'lengths of pens and
points must match')
for i in range(N):
   if pens:
      dc.SetPen(pens[i])
   dc.DrawPoint(points[i])

dc.DrawLines would be analogous.

-tim

----- Original Message -----
From: "Kevin Altis" <altis@semi-retired.com>
To: "Wxpython-Users" <wxpython-users@lists.wxwindows.org>
Sent: Monday, September 10, 2001 11:51 AM
Subject: [wxPython] FW: DrawPointList and DrawLineList

I'm forwarding this email to the list in the hopes that other people that
are interested in a higher performance method of drawing to a DC and that
know some C++ might be able to help.

Originally, I was thinking that it would be simplest to just provide a

list

of points or lines. However, after looking at some other drawing APIs, it
probably makes sense to support a pen and brush as part of the argument
list. I could see wanting to draw a series of lines in a given color, with

a

particular brush pattern, and copy mode (XOR...)

Other ideas? Any C++ coders here that could take this on?

ka

-----Original Message-----
From: cbarker@waves.hazmat.noaa.gov
[mailto:cbarker@waves.hazmat.noaa.gov]On Behalf Of Chris Barker
Sent: Monday, September 10, 2001 11:59 AM
To: Kevin Altis
Cc: Robin Dunn
Subject: Re: FW: Possible contribution for PythonCard

Kevin Altis wrote:
> Robin,
> Would it
> be possible to provide two methods in wxPython 2.3.2 that would accept a
> list of points (DrawPointList) and lines (DrawLinesList) that would then
> call the appropriate C++ routines directly for each item in the list to
> improve performance?

Kevin (and Robin),

Robin and I discussed this a while ago, and I think the short version is
(Robin, please correct and clarify as you see fit):

Yes, it could be done, and would probably help

Yes, it could be integrated into the wxPython code without too much
trouble

Yes, Robin would help with that part

But: someone would have to actually write the code!

I am interested in doing it, but I have no experience with either SWIG
or C++ (and only a little C) so it would be a lot for me to take on, so
I havn't started yet. I'm probably going to be using wxPython for a
project I'm working on were this would be a big help, and I have a
couple of experienced C++ progarmmeres helping me, so I may get to it.
However, we're on a tight schedule, so If I can get the performance I
need without it, it won't happen.

I wish I could contribute more, but we all have more things we'd like to
do than time to do them!

> Chris probably has some other suggestions as well.

Yes, I do. both for performance and easier coding. Let's face it, how
often does someone have a single point to draw? THe data is probably
already in a sequence of some kind, so why not use it directly? I'm full
of ideas, if anyone else wants to impliment them!

-Chris

_______________________________________________
wxpython-users mailing list
wxpython-users@lists.wxwindows.org
http://lists.wxwindows.org/mailman/listinfo/wxpython-users

-- __--__--

Message: 3
From: "Kevin Altis" <altis@semi-retired.com>
To: <wxpython-users@lists.wxwindows.org>
Subject: RE: [wxPython] FW: DrawPointList and DrawLineList
Date: Mon, 10 Sep 2001 12:53:30 -0700
Reply-To: wxpython-users@lists.wxwindows.org

From: Tim Hochberg

I could probably be persuaded to do this. I've mucked around in
this area of
the wxPython internals before so that I expect that it should be
relatively
straightforward (famous last words....). However, since this is
just for fun
and I'm busy at the moment, it would probably be at least a
couple of weeks
before I could get to it. (Offers of beer have been known to speed me up
however....)

So where should the beer be sent? :slight_smile:

As to syntax, has the Draw<Thing>List syntax been blessed by
Robin? It seems
reasonable to me in that it would be extensible to DrawPolygonList, etc if
someone later gets the urge. As far as Pens and Brushes go, I think that
only the pen is used for lines and points, so need to worry about
the brush.
I would propose something like the following:

dc.DrawPointsList(points, pens=None)

If 'pens' is None, the current pen is used, otherwise 'pens'
would be a list
equal in length to 'points'. This would be equivalent to:

N = len(points)
assert (pens is None or len(pens) == len(points), 'lengths of pens and
points must match')
for i in range(N):
   if pens:
      dc.SetPen(pens[i])
   dc.DrawPoint(points[i])

dc.DrawLines would be analogous.

Actually, I don't think you want to accept a pen list, the overhead for
setting the pen with each draw operation is huge, so it is better to just
set it once prior to the loop. There could be another version of the drawing
that does accept a list of pens, but my guess is that the user code would be
better off chunking the operation to use a single pen for each group of
points or lines rather than have a pen set for every single point/line
regardless of whether it was necessary. SetOptimization should be used as
well.

The more I think about it, the more it seems like this should be a method in
wxWindows that Robin wraps to provide the list to C++ pointer array
translation or whatever is appropriate.

What do you think Robin?

ka

-- __--__--

Message: 4
Date: Mon, 10 Sep 2001 12:52:56 -0700 (PDT)
From: Donnal Walter <donnalcwalter@yahoo.com>
Subject: Re: [wxPython] Message Watcher sizer help
To: wxpython-users@lists.wxwindows.org
Reply-To: wxpython-users@lists.wxwindows.org

--- Robin Dunn <robin@alldunn.com> wrote:

> Then in the
> panel, I use a wxFlexGridSizer, so that the top row can have a
> constant height and the bottom row be set growable.

wxFlexGridSizer is probably overkill as this can also be done in
a wxBoxSizer, but either way it is fine.

Yes, I can see that now. The first time I tried this with
wxBoxSixer I set one of the expandable flags incorrectly.