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

EraseImage

Erases an Image.

Declaration

Source position: intuition.pas line 4101

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