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


Groups > comp.sys.acorn.programmer > #142

Re: Plotting Jpegs in Toolbox Window

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.albasani.net!news2.arglkargh.de!news-transit.tcx.org.uk!feeder1-2.proxad.net!proxad.net!feeder2-2.proxad.net!newsfeed.arcor.de!newsspool3.arcor-online.net!news.arcor.de.POSTED!not-for-mail
From Michael Gerbracht <nospam@cityweb.de>
Subject Re: Plotting Jpegs in Toolbox Window
Newsgroups comp.sys.acorn.programmer
Date Sun, 03 Apr 2011 12:50:01 +0100
Message-ID <51be1e7d34nospam@cityweb.de> (permalink)
References <c9e41319-1e35-4e86-afb6-26b46e4a1852@u12g2000vbf.googlegroups.com>
User-Agent Pluto/3.04c (RISC-OS/6.20) NewsHound/v1.50-32
Organization None
Lines 22
NNTP-Posting-Date 03 Apr 2011 13:53:29 CEST
NNTP-Posting-Host 54d32158.newsspool1.arcor-online.net
X-Trace DXC=[hVM::ibnUN=8m7nZkdN^@ic==]BZ:afN4Fo<]lROoRA<`=YMgDjhgB^[A^693FUBDBPSNb`Dk93I\fK\5FGM]oH>?i_[IDT=EO
X-Complaints-To usenet-abuse@arcor.de
Xref x330-a1.tempe.blueboxinc.net comp.sys.acorn.programmer:142

Show key headers only | View raw


Mister Ron <mrronman@googlemail.com> wrote:
> has anyone got a guide to plotting jpegs into a toolbox window.
> I can plot to the screen ok but don't know how to get the toolbox will
> redraw the jpeg when the window is covered over.

In ResED you can define that a window requires help of the application to
redraw it (Other Properties -> untick Auto-redraw).
If you have done this RISC OS will generate a toolbox event when part of the
window has been hidden and needs to be redrawn now. Basically RISC OS will
give you the coordinates of a number of rectangles you need to redraw.

You can also put the jpeg into a draw file and render it instead - this might
be easier.

You can probably find an example application in Basic which shows a draw
file. I can remember that I had it somewhere but can't find it at the moment.
Hopefully someone here can point you to it.

Michael

-- 
Please replace nospam by m.gerbracht when replying by e-mail

Back to comp.sys.acorn.programmer | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Plotting Jpegs in Toolbox Window Mister Ron <mrronman@googlemail.com> - 2011-04-02 14:33 -0700
  Re: Plotting Jpegs in Toolbox Window Michael Gerbracht <nospam@cityweb.de> - 2011-04-03 12:50 +0100
    Re: Plotting Jpegs in Toolbox Window Gavin Wraith <gavin@wra1th.plus.com> - 2011-04-03 15:12 +0100
      Re: Plotting Jpegs in Toolbox Window Christopher Bazley <cs99cjb@gmail.com> - 2011-04-13 14:41 -0700
  Re: Plotting Jpegs in Toolbox Window Mister Ron <mrronman@googlemail.com> - 2011-04-18 12:07 -0700
    Re: Plotting Jpegs in Toolbox Window Mister Ron <mrronman@googlemail.com> - 2011-04-18 13:21 -0700
      Re: Plotting Jpegs in Toolbox Window Martin Wuerthner <spamtrap@mw-software.com> - 2011-05-01 11:21 +0200
        Re: Plotting Jpegs in Toolbox Window Mister Ron <mrronman@googlemail.com> - 2011-05-01 05:06 -0700
  Re: Plotting Jpegs in Toolbox Window Gerph <gerph@gerph.org> - 2011-05-01 15:25 -0700

csiph-web