Unit 'PXL.Displays.Types' Package
[Overview][Constants][Classes][Index] [#pl_asphyrepxl]

TCustomDisplay

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

Declaration

Source position: PXL.Displays.Types.pas line 103

type TCustomDisplay = class(TConceptualPixelSurface)

public

type

  TOrientation = (

  

  Landscape,

  

  Portrait,

  

  InverseLandscape,

  

  InversePortrait

  

);

protected

  FPhysicalOrientation: TOrientation;

  

  FPhysicalSize: TPoint2i;

  

  FLogicalOrientation: TOrientation;

  

  FLogicalSize: TPoint2i;

  

  FScreenBufferSize: Integer;

  

  FScreenBuffer: Pointer;

  

  function GetPixel(); override;

  

  procedure SetPixel(); override;

  

  function GetPixelUnsafe(); override;

  

  procedure SetPixelUnsafe(); override;

  

  procedure Reset; virtual; abstract;

  

  procedure InitSequence; virtual; abstract;

  

  procedure PresentBuffer(); virtual; abstract;

  

  function ReadPixel(); virtual; abstract;

  

  procedure WritePixel(); virtual; abstract;

  

  function GetScanline(); virtual; abstract;

  

public

  constructor Create;

  

  destructor Destroy; override;

  

  procedure Initialize; virtual;

  

  procedure Present();

  

  procedure Clear; virtual;

  

  property PhysicalOrientation: TOrientation; [r]

  

  property PhysicalSize: TPoint2i; [r]

  

  property LogicalOrientation: TOrientation; [rw]

  

  property LogicalSize: TPoint2i; [r]

  

  property ScreenBuffer: Pointer; [r]

  

  property ScreenBufferSize: Integer; [r]

  

  property Scanline []: Pointer; [r]

  

  property OnOrientationChanged: TEventNotifier; [r]

  

  property Provider: TDisplayProvider; [r]

  

  property Device: TDisplayDevice; [r]

  

  property Canvas: TDisplayCanvas; [r]

  

  property Images: TAtlasImages; [r]

  

  property Fonts: TBitmapFonts; [r]

  

end;

Inheritance

TCustomDisplay

  

|

TConceptualPixelSurface

  

|

TObject



CT Web help

CodeTyphon Studio