Unit 'intuition' Package
[Overview][Constants][Types][Procedures and functions][Variables][Index] [#os4units]

EraseImage

Erases an Image.

Declaration

Source position: intuition.pas line 3911

procedure EraseImage(

  Rp: PRastPort;

  Image: PImage;

  LeftOffset: LongInt;

  TopOffset: LongInt

);

Arguments

Rp

  

RastPort to erase a part of

Image

  

Custom or standard image

LeftOffset

  

Left pixel offsets of Image position

TopOffset

  

Top pixel offsets of Image position

Description

Erases an Image. For a normal Image structure, this will call the graphics function EraseRect() (clear using layer backfill, if any) for the Image box (LeftEdge/TopEdge/Width/Height).

For custom image, the exact behavior is determined by the custom image class.

See also

EraseRect()

  

Fill a defined rectangular area using the current BackFill hook.

DrawImage

  

Draw the specified Image structure into a RastPort.

DrawImageState

  

Draw an (extended) Intuition Image with special visual state.


Documentation generated on: 2021-07-30