ObjQt  Diff

Differences From Artifact [8609205557]:

To Artifact [633824ebd6]:


21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
 */

#import <ObjFW/ObjFW.h>

#include <QPaintDevice>

@protocol QtPaintDevice
- (QPaintDevice *)qPaintDevice;
- (int)colorCount;
- (int)depth;
- (int)devicePixelRatio;
#if QT_VERSION >= QT_VERSION_CHECK(5, 7, 0)
- (double)devicePixelRatioF;
#endif
- (int)height;
- (int)heightMM;
- (int)logicalDPIX;
- (int)logicalDPIY;
- (QPaintEngine *)paintEngine;
- (bool)paintingActive;
- (int)physicalDPIX;
- (int)physicalDPIY;
- (int)width;
- (int)widthMM;
@end

@interface QtPaintDevice: OFObject <QtPaintDevice>
@property (readonly, nonatomic) QObject *qObject;
@end

namespace ObjQt {







|
|
|
|

|

|
|
|
|
|
|
|
|
|
|







21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
 */

#import <ObjFW/ObjFW.h>

#include <QPaintDevice>

@protocol QtPaintDevice
@property (readonly, nonatomic) QPaintDevice *qPaintDevice;
@property (readonly, nonatomic) int colorCount;
@property (readonly, nonatomic) int depth;
@property (readonly, nonatomic) int devicePixelRatio;
#if QT_VERSION >= QT_VERSION_CHECK(5, 7, 0)
@property (readonly, nonatomic) double devicePixelRatioF;
#endif
@property (readonly, nonatomic) int height;
@property (readonly, nonatomic) int heightMM;
@property (readonly, nonatomic) int logicalDPIX;
@property (readonly, nonatomic) int logicalDPIY;
@property (readonly, nonatomic) QPaintEngine *paintEngine;
@property (readonly, nonatomic) bool paintingActive;
@property (readonly, nonatomic) int physicalDPIX;
@property (readonly, nonatomic) int physicalDPIY;
@property (readonly, nonatomic) int width;
@property (readonly, nonatomic) int widthMM;
@end

@interface QtPaintDevice: OFObject <QtPaintDevice>
@property (readonly, nonatomic) QObject *qObject;
@end

namespace ObjQt {