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

TCDDrawer.CalculatePreferredSize

Declaration

Source position: customdrawndrawers.pas line 332

public procedure TCDDrawer.CalculatePreferredSize(

  ADest: TCanvas;

  AControlId: TCDControlID;

  AState: TCDControlState;

  AStateEx: TCDControlStateEx;

  var PreferredWidth: Integer;

  var PreferredHeight: Integer;

  WithThemeSpace: Boolean;

  AAllowUseOfMeasuresEx: Boolean

); virtual; abstract;

The latest version of this document can be found at lazarus-ccr.sourceforge.net.