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

TGtkDeviceContext

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

Declaration

Source position: gtkdef.pp line 263

type TGtkDeviceContext = class end;

protected

  function CreateGC; virtual;

  procedure CreateFont; virtual;

  procedure CreateBrush; virtual;

  procedure CreatePen; virtual;

  procedure CreateBitmap; virtual;

  function SelectBitmap(); virtual;

  function SelectPen(); virtual;

  procedure TransfUpdateFont; virtual;

  procedure TransfUpdatePen; virtual;

public

  PenPos: TPoint;

  CurrentTextColor: TGDIColor;

  CurrentBackColor: TGDIColor;

  DCTextMetric: TDevContextTextMetric;

  PaintRectangle: TRect;

  SavedContext: TGtkDeviceContext;

  constructor Create; virtual;

  procedure CreateGDIObject();

  procedure SelectBrushProps; virtual;

  procedure SelectTextProps; virtual;

  procedure SelectPenProps; virtual;

  procedure SelectRegion;

  procedure SetWidget();

  function HasGC;

  procedure ResetGCClipping;

  procedure Clear;

  function GetFont;

  function GetBrush;

  function GetPen;

  function GetBitmap;

  function GetFunction; virtual; abstract;

  function IsNullBrush;

  function IsNullPen;

  function SelectObject();

  procedure SetTextMetricsValid();

  procedure InvTransfPoint();

  function InvTransfPointIndirect();

  procedure InvTransfRect();

  function InvTransfRectIndirect();

  procedure InvTransfExtent();

  function InvTransfExtentIndirect();

  procedure TransfAngles();

  procedure TransfNormalize();

  procedure TransfPoint();

  function TransfPointIndirect();

  procedure TransfRect();

  function TransfRectIndirect();

  procedure TransfExtent();

  function TransfExtentIndirect();

  function CopyDataFrom();

  function FillRect();

  property Origin: TPoint; [rw]

  property Offset: TPoint; [r]

  property CurrentBitmap: PGDIObject; [rw]

  property CurrentFont: PGDIObject; [rw]

  property CurrentPen: PGDIObject; [rw]

  property CurrentBrush: PGDIObject; [rw]

  property CurrentPalette: PGDIObject; [rw]

  property ClipRegion: PGDIObject; [rw]

  property GCValues: TGdkGCValues; [r]

  property GDIObjects []: PGDIObject; [rw]

  property HasTransf: Boolean; [r]

  property MapMode: Integer; [rw]

  property ViewPortExt: TPoint; [rw]

  property ViewPortOrg: TPoint; [rw]

  property WindowExt: TPoint; [rw]

  property SelectedColors: TDevContextSelectedColorsType; [rw]

  property Flags: TDeviceContextsFlags; [rw]

  property OwnedGDIObjects []: PGDIObject; [rw]

  property Drawable: PGDKDrawable; [r]

  property Widget: PGtkWidget; [r]

  property GC: pgdkGC; [rw]

  property WithChildWindows: Boolean; [r]

  property ROP2: Integer; [rw]

Inheritance

TGtkDeviceContext

|

TObject