Procedure TWPRTFEnginePaint.PaintDesktop(DestCanvas:TCanvas; ScreenWidth:Integer; ScreenHeight:Integer; PaintDesktopModes:TWPPaintDesktopModes; pClipRect:PRect)

Unit: WPRTEPaint
Class: WPRTEPaint.TWPRTFEnginePaint

Parameters

  • DestCanvas:TCanvas
  • ScreenWidth:Integer
  • ScreenHeight:Integer
  • PaintDesktopModes:TWPPaintDesktopModes
  • pClipRect:PRect

Description

Paint the desktop to the desktop canvas. Usually use a double buffer. Checks for clipping on the desktop. The Width and Height of the Desktop must be known - it is required for 'ReorderPage'