FMX.Types.TDeviceDisplayMetrics

De RAD Studio API Documentation
Aller à : navigation, rechercher

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;
#ifndef _WIN64
    __fastcall TDeviceDisplayMetrics(const System::Types::TSize &APhysicalScreenSize, const System::Types::TSize &ALogicalScreenSize, const float AAspectRatio, const int APixelsPerInch, const float AScreenScale, const float AFontScale);
#else /* _WIN64 */
    __fastcall TDeviceDisplayMetrics(const System::Types::TSize APhysicalScreenSize, const System::Types::TSize ALogicalScreenSize, const float AAspectRatio, const int APixelsPerInch, const float AScreenScale, const float AFontScale);
#endif /* _WIN64 */
    static bool __fastcall _op_Equality(const TDeviceDisplayMetrics &Left, const TDeviceDisplayMetrics &Right);
    static bool __fastcall _op_Inequality(const TDeviceDisplayMetrics &Left, const TDeviceDisplayMetrics &Right);
    static TDeviceDisplayMetrics __fastcall Default();
    TDeviceDisplayMetrics() {}
};

Propriétés

Type Visibilité  Source Unité  Parent
record
struct
public
FMX.Types.pas
FMX.Types.hpp
FMX.Types FMX.Types

Description

Embarcadero Technologies ne possède pas d'informations supplémentaires pour le moment. Veuillez nous aider à documenter cette rubrique en utilisant la page Discussion !