RISC OS Open
A fast and easily customised operating system for ARM devices
ROOL
Home | News | Software | Bugs | Bounties | Forum | Documents | Photos | Contact us
Account

Wimp_BlockCopy

Programmer's Reference Manuals
» Part 7 - The Desktop
» The Window Manager
» SWI Calls
» Wimp_BlockCopy

Wimp_BlockCopy

(SWI &400EB)
Entry
R0 Window Handle
R1 Source minimum x co-ordinate (inclusive)
R2 Source minimum y co-ordinate (inclusive)
R3 Source maximum x co-ordinate (exclusive)
R4 Source maximum y co-ordinate (exclusive)
R5 Destination minimum x co-ordinate
R6 Destination minimum y co-ordinate
Exit
R0 – R6 Preserved

Use

The purpose of this call is copy a rectangular block of a windows work area to another position. This is achieved by using the VDU block/copy primitive, before invalidating any areas which must be updated by the application itself.

Notes

If the source block contains icons, then their visual representation will be moved, however, their bounding boxes will not. It will be up to the application to move the icons by deleting and re-creating them so that they are re-drawn correctly.

If this call is used in a very low colour depth mode and source data contains an ECF pattern, unless the destination is a multiple of the ECF size, then the newly copied area will be out of step with the existing pattern.

All co-ordinates are relative to the window’s work area.

This call must not be made from inside a Wimp_RedrawWindow or Wimp_UpdateWindow loop.

Revised on June 17, 2009 20:59:51 by Alan Robertson (52)? (127.0.0.1)
Edit | Back in time (4 revisions) | See changes | History | Views: Print | Source | Linked from: The Window Manager SWI Calls, The Window Manager Redrawing Windows, Filter_RegisterCopyFilter, Filter_DeRegisterCopyFilter

Search the Wiki

Commercial use

For commercial enquiries, please contact the owners of RISC OS, Castle Technology Ltd.

ROOL Store

The official C/C++ Development kit and more here.

Donate! Why?

Help ROOL make things happen – please consider donating!

Navigation

  • Home Page
  • All Pages
  • Recently Revised
  • Authors
  • Feeds
Site design © RISC OS Open Limited 2011 except where indicated
The RISC OS Open Instiki theme is based on Insitki's default layout

Valid XHTML 1.0  |  Valid CSS

Instiki 0.19.1(MML+)
This site runs on Rails

Hosted by Arachsys