summaryrefslogtreecommitdiff
path: root/vcl/inc/ios/salgdi.h
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/inc/ios/salgdi.h')
-rw-r--r--vcl/inc/ios/salgdi.h14
1 files changed, 12 insertions, 2 deletions
diff --git a/vcl/inc/ios/salgdi.h b/vcl/inc/ios/salgdi.h
index 51ef49219e9a..0c3e591b3d98 100644
--- a/vcl/inc/ios/salgdi.h
+++ b/vcl/inc/ios/salgdi.h
@@ -49,7 +49,7 @@ class CGRect;
class ImplIosFontData : public ImplFontData
{
public:
- ImplIosFontData( const ImplDevFontAttributes&, NSString * );
+ ImplIosFontData( const ImplDevFontAttributes&, CTFontRef );
virtual ~ImplIosFontData();
@@ -65,6 +65,10 @@ public:
void ReadIosCmapEncoding() const;
bool HasCJKSupport() const;
+protected:
+ friend class IosSalGraphics;
+ const CTFontRef mpFontRef;
+
private:
mutable const ImplFontCharMap* mpCharMap;
mutable vcl::FontCapabilities maFontCapabilities;
@@ -120,7 +124,13 @@ protected:
RGBAColor maFillColor;
// Device Font settings
- const ImplIosFontData* mpIosFontData;
+ const ImplIosFontData* mpIosFontData;
+ /// Font attributes ???
+ NSMutableDictionary* mpAttributes;
+ // text color
+ SalColor mnColor;
+ /// text rotation ???
+ Fixed mnRotation;
/// <1.0: font is squeezed, >1.0 font is stretched, else 1.0
float mfFontStretch;
/// allows text to be rendered without antialiasing