[Overview][Types][Classes][Index] Reference for unit 'LazCanvas' (#lcl)

TLazCanvas.AlphaBlendIgnoringDestPixels

Performs an AlphaBlend operation assuming a white background.

Declaration

Source position: lazcanvas.pas line 128

public procedure TLazCanvas.AlphaBlendIgnoringDestPixels(

  ASource: TLazCanvas;

  const ADestX: Integer;

  const ADestY: Integer;

  const ASourceX: Integer;

  const ASourceY: Integer;

  const ASourceWidth: Integer;

  const ASourceHeight: Integer

);

Description

This is a safer version for use where the destination pixels may not be consistent or valid. It will draw as if the target area contained opaque white pixels.