Vcl.Themes.TCustomStyleServices.DrawElement
Delphi
function DrawElement(DC: HDC; Details: TThemedElementDetails;
const R, ClipRect: TRect; DPI: Integer = 0): Boolean; overload; inline;
function DrawElement(DC: HDC; Details: TThemedElementDetails;
const R: TRect; ClipRect: PRect = nil; DPI: Integer = 0): Boolean; overload;
C++
bool __fastcall DrawElement(HDC DC, const TThemedElementDetails &Details, const System::Types::TRect &R, const System::Types::TRect &ClipRect, int DPI = 0x0)/* overload */;
bool __fastcall DrawElement(HDC DC, const TThemedElementDetails &Details, const System::Types::TRect &R, System::Types::PRect ClipRect = (System::Types::PRect)(0x0), int DPI = 0x0)/* overload */;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Vcl.Themes.pas Vcl.Themes.hpp |
Vcl.Themes | TCustomStyleServices |
Description
Draws the specified element.
Call DrawElement to draw the element specified by Details
, using the current style.
R
is the rectangle where the element is drawn and ClipRect
is a clipping rectangle.