[Overview][Constants][Types][Classes][Index] Reference for unit 'ptc' (#ptc)

TPTCClear

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Routines for clearing pixels.

Declaration

Source position: cleard.inc line 34

type TPTCClear = class

public

  constructor Create;

  

Default constructor.

  destructor Destroy; override;

  

Destructor.

  procedure Request();

  

Request a clear routine for the specified pixel format.

  procedure Clear();

  

Clears an area of pixels to a specified color.

end;

Inheritance

TPTCClear

  

Routines for clearing pixels.

|

TObject

Description

Routines for clearing pixels.

This class is an interface to low level pixel clearing routines. Before using the clear class take a look at the high level IPTCSurface.Clear and IPTCConsole.Clear functions. Typically the only time the clear class is required is when you are managing your own pixel buffers.