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 */;
プロパティ
| 種類 | 可視性 | ソース | ユニット | 親 |
|---|---|---|---|---|
| function | public | Vcl.Themes.pas Vcl.Themes.hpp |
Vcl.Themes | TCustomStyleServices |
説明
指定された要素を描画します。
DrawElement を呼び出すと、Details で指定された要素を、現在のスタイルを使用して描画します。
R は、要素が描画される四角形で、ClipRect は、クリッピングしている四角形です。