FMX.Types.TDeviceDisplayMetrics

Aus RAD Studio API Documentation
Wechseln zu: Navigation, Suche

Delphi

  TDeviceDisplayMetrics = record
    PhysicalScreenSize: TSize;
    LogicalScreenSize: TSize;
    RawScreenSize: TSize;
    AspectRatio: Single;
    PixelsPerInch: Integer;
    ScreenScale: Single;
    FontScale: Single;
    constructor Create(const APhysicalScreenSize, ALogicalScreenSize: TSize; const AAspectRatio: Single;
      const APixelsPerInch: Integer; const AScreenScale, AFontScale: Single);
    class operator Equal(const Left, Right: TDeviceDisplayMetrics): Boolean;
    class operator NotEqual(const Left, Right: TDeviceDisplayMetrics): Boolean; inline;
    class function Default: TDeviceDisplayMetrics; static;
  end;

C++

struct DECLSPEC_DRECORD TDeviceDisplayMetrics
{
public:
    System::Types::TSize PhysicalScreenSize;
    System::Types::TSize LogicalScreenSize;
    System::Types::TSize RawScreenSize;
    float AspectRatio;
    int PixelsPerInch;
    float ScreenScale;
    float FontScale;
    __fastcall TDeviceDisplayMetrics(const System::Types::TSize &APhysicalScreenSize, const System::Types::TSize &ALogicalScreenSize, const float AAspectRatio, const int APixelsPerInch, const float AScreenScale, const float AFontScale);
    static bool __fastcall _op_Equality(const TDeviceDisplayMetrics &Left, const TDeviceDisplayMetrics &Right);
    bool __fastcall operator==(const TDeviceDisplayMetrics& __rhs) { return TDeviceDisplayMetrics::_op_Equality(*this, __rhs); };
    static bool __fastcall _op_Inequality(const TDeviceDisplayMetrics &Left, const TDeviceDisplayMetrics &Right);
    bool __fastcall operator!=(const TDeviceDisplayMetrics& __rhs) { return TDeviceDisplayMetrics::_op_Inequality(*this, __rhs); };
    static TDeviceDisplayMetrics __fastcall Default();
    TDeviceDisplayMetrics() {}
};

Eigenschaften

Typ Sichtbarkeit Quelle Unit Übergeordnet
record
struct
public
FMX.Types.pas
FMX.Types.hpp
FMX.Types FMX.Types

Beschreibung

Embarcadero Technologies verfügt zurzeit über keine zusätzlichen Informationen. Bitte unterstützen Sie uns bei der Dokumentation dieses Themas, indem Sie Ihre Kommentare auf der Diskussionsseite eingeben.