Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #57467

Re: Unlimited canvas painting program

Path csiph.com!usenet.pasdenom.info!gegeweb.org!usenet-fr.net!nerim.net!novso.com!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <python@mrabarnett.plus.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.044
X-Spam-Evidence '*H*': 0.91; '*S*': 0.00; 'canvas': 0.07; 'mouse': 0.07; 'canvas.': 0.09; 'cursor': 0.09; 'things,': 0.09; 'window.': 0.09; 'canvas,': 0.16; 'from:addr:mrabarnett.plus.com': 0.16; 'from:addr:python': 0.16; 'from:name:mrab': 0.16; 'left,': 0.16; 'message-id:@mrabarnett.plus.com': 0.16; 'received:84.93': 0.16; 'received:84.93.230': 0.16; 'simpler,': 0.16; 'subject:program': 0.16; 'tracker,': 0.16; 'wrote:': 0.18; 'drawing': 0.19; 'header :User-Agent:1': 0.23; 'lets': 0.24; 'right.': 0.26; 'header:In- Reply-To:1': 0.27; 'point': 0.28; "doesn't": 0.30; 'moved': 0.30; 'piece': 0.31; 'probably': 0.32; 'received:84': 0.35; 'but': 0.35; 'possible': 0.36; 'so,': 0.37; 'stopped': 0.38; 'tools,': 0.38; 'to:addr:python-list': 0.38; 'does': 0.39; 'to:addr:python.org': 0.39; 'how': 0.40; 'middle': 0.60; 'save': 0.62; 'email addr:gmail.com': 0.63; 'such': 0.63; 'more': 0.64; 'it!': 0.67; 'header:Reply-To:1': 0.67; 'reply-to:no real name:2**0': 0.71; 'square': 0.74; 'confusing': 0.84; 'edge,': 0.84; 'expose': 0.84; 'i`ll': 0.84; 'move.': 0.84; 'movement.': 0.84; 'reply- to:addr:python.org': 0.84; 'subject:Unlimited': 0.91
X-CM-Score 0.00
X-CNFS-Analysis v=2.1 cv=PIY2p5aC c=1 sm=1 tr=0 a=0nF1XD0wxitMEM03M9B4ZQ==:117 a=0nF1XD0wxitMEM03M9B4ZQ==:17 a=0Bzu9jTXAAAA:8 a=05MOGALpfCEA:10 a=SThVWzowak0A:10 a=ihvODaAuJD4A:10 a=OUOv7kDek9cA:10 a=8nJEP1OIZ-IA:10 a=EBOSESyhAAAA:8 a=8AHkEIZyAAAA:8 a=AkYCT3ohKZkA:10 a=pGLkceISAAAA:8 a=1mpFUbNK3nd2nFTxj0MA:9 a=wPNLvfGTeEIA:10 a=MSl-tDqOz04A:10
X-AUTH mrabarnett:2500
Date Thu, 24 Oct 2013 21:02:30 +0100
From MRAB <python@mrabarnett.plus.com>
User-Agent Mozilla/5.0 (Windows NT 5.1; rv:24.0) Gecko/20100101 Thunderbird/24.0.1
MIME-Version 1.0
To python-list@python.org
Subject Re: Unlimited canvas painting program
References <5d107d11-0abf-4180-a994-3368f12979c1@googlegroups.com> <mailman.1476.1382642745.18130.python-list@python.org> <9927d3d4-2038-4780-901b-fe3c1251af75@googlegroups.com>
In-Reply-To <9927d3d4-2038-4780-901b-fe3c1251af75@googlegroups.com>
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
Reply-To python-list@python.org
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.1477.1382644948.18130.python-list@python.org> (permalink)
Lines 23
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1382644948 news.xs4all.nl 15993 [2001:888:2000:d::a6]:54379
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:57467

Show key headers only | View raw


On 24/10/2013 20:32, markotaht@gmail.com wrote:
> So, i`ll take the canvas, somekind of mouse tracker, for each mouse
> location il draw a dot or 2X2 square or something. Main thing i have
> never understood, is how can i get the backround to move.
>
> Lets say ia hve 200X200 window. In the middle of it is the cursor
> that draws. If i move the mouse the cursor doesent move, but the
> canvas moves. So if i move mouse to the left, i get a line that goes
> to the left. So i probably must invert the canvas movement. If mouse
> goes left, canvas goes right.
>
> And if possible i would like to save my piece of art aswell :D
>
I think it'll be confusing because it goes against how every other
program does it!

In a painting program you can point to other things, such as tools, but
if the cursor never moves...

It would be simpler, IMHO, if you just moved the canvas and stopped the
cursor going off the canvas when the user is drawing near the edge, so
that the user doesn't need to stop drawing in order to expose more of
the canvas.

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Unlimited canvas painting program markotaht@gmail.com - 2013-10-24 12:16 -0700
  Re: Unlimited canvas painting program Thomas Murphy <thomasmurphymusic@gmail.com> - 2013-10-24 15:22 -0400
    Re: Unlimited canvas painting program markotaht@gmail.com - 2013-10-24 12:32 -0700
      Re: Unlimited canvas painting program MRAB <python@mrabarnett.plus.com> - 2013-10-24 21:02 +0100
        Re: Unlimited canvas painting program albert@spenarnc.xs4all.nl (Albert van der Horst) - 2013-11-07 11:30 +0000
          Re: Unlimited canvas painting program Chris Angelico <rosuav@gmail.com> - 2013-11-08 00:04 +1100
  Re: Unlimited canvas painting program Tim Chase <tim@thechases.com> - 2013-10-24 16:46 -0500
    Re: Unlimited canvas painting program Grant Edwards <invalid@invalid.invalid> - 2013-10-24 21:51 +0000
      Re: Unlimited canvas painting program Tim Chase <python.list@tim.thechases.com> - 2013-10-24 17:04 -0500

csiph-web