Re: drawing a very long line on the screen and how much of the lifting I have to do

Tim Roberts <[email protected]> Fri, 28 May 2021 11:44:53 -0700
Newsgroups gmane.comp.python.wxpython
Organization Providenza & Boekelheide, Inc.
Message-ID <[email protected]>
Nathan smith wrote:
>
> Me again asking what is likely a very obvious question but for a 
> blindy developer not so much.
>
> I'm wondering how WX python handles things that are bigger than the 
> screen.

You need to investigate the wxScrolledWindow and wxScrolledPanel 
classes.  They allow to draw to a bitmap larger than the visible window, 
and use scroll bars to scroll through that larger region.


> So what i mean by this is I have a ten by ten grid, each square is 2 
> CM in size.

Interesting.  How do you decide how many pixels 2cm is?  Are you just 
using your monitor as an example?

-- 
Tim Roberts, [email protected]
Providenza & Boekelheide, Inc.


-- 
You received this message because you are subscribed to the Google Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/wxpython-users/5c291d95-3ceb-8e49-bff8-6d6b27806296%40probo.com.
smime.p7s (application/pkcs7-signature, 3.3 KB) - not displayed