FMX.Types.TDeviceDisplayMetrics

From RAD Studio API Documentation
Jump to: navigation, search

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() {}
};

Properties

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

Description

Embarcadero Technologies does not currently have any additional information. Please help us document this topic by using the Discussion page!