[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'fpg_base' (#fpgui)

TfpgCanvasBase.ClipLine

Clips the line based on AClipRect boundaries.

Declaration

Source position: fpg_base.pas line 379

public procedure TfpgCanvasBase.ClipLine(

  var x1: TfpgCoord;

  var y1: TfpgCoord;

  var x2: TfpgCoord;

  var y2: TfpgCoord;

  const AClipRect: TfpgRect;

  out FallsOutsideRegion: Boolean

);

Description

This does not do any drawing, in only clips the line coordinates. This method is used internally by TfpgCanvasBase.DrawLineClipped.


Documentation generated on: 2015-04-04