diff --git a/graf2d/ios/inc/IOSPadStub.h b/graf2d/ios/inc/IOSPadStub.h index c8ac17d2f73444486be8e770e8295cae01032738..60747b8fd1f2833a72ac8aecd00333b9f45fc12e 100644 --- a/graf2d/ios/inc/IOSPadStub.h +++ b/graf2d/ios/inc/IOSPadStub.h @@ -66,6 +66,12 @@ public: void SetAttMarkerPS(Color_t, Style_t, Size_t); void SetAttTextPS(Int_t, Float_t, Color_t, Style_t, Float_t); void PaintBorderPS(Double_t, Double_t, Double_t, Double_t, Int_t, Int_t, Int_t, Int_t); + //PaintText with a parameter of a type wchar_t is a special version + //used by mathtext. It relies strongly on ttf and actually requires + //ttf. NOOP at the moment (whence it's here, in a 'stub' class). + virtual void PaintText(Double_t, Double_t, const wchar_t *); + virtual void PaintTextNDC(Double_t, Double_t, const wchar_t *); + // Int_t GetGLDevice(); void SetCopyGLDevice(Bool_t); void Pop(); @@ -93,10 +99,13 @@ public: void SetName(const char *); void SetTitle(const char *); void SetSelected(TObject *); + void ShowGuidelines(TObject *, Int_t, char, bool); void Update(); TObject *WaitPrimitive(const char *, const char *); void ReleaseViewer3D(Option_t *); Bool_t HasViewer3D() const; + + TVirtualPadPainter *GetPainter(); }; }//namespace iOS diff --git a/graf2d/ios/src/IOSPadStub.cxx b/graf2d/ios/src/IOSPadStub.cxx index a3ea40b2dff3e439c159abd3f0e067dbc60b89da..5a2725a84fb54c9d423e7f7918555d75c7d07721 100644 --- a/graf2d/ios/src/IOSPadStub.cxx +++ b/graf2d/ios/src/IOSPadStub.cxx @@ -191,6 +191,16 @@ void PadStub::SetAttTextPS(Int_t, Float_t, Color_t, Style_t, Float_t) { } +//______________________________________________________________________________ +void PadStub::PaintText(Double_t, Double_t, const wchar_t *) +{ +} + +//______________________________________________________________________________ +void PadStub::PaintTextNDC(Double_t, Double_t, const wchar_t *) +{ +} + //______________________________________________________________________________ void PadStub::PaintBorderPS(Double_t, Double_t, Double_t, Double_t, Int_t, Int_t, Int_t, Int_t) { @@ -337,6 +347,12 @@ void PadStub::SetSelected(TObject *) { } +//______________________________________________________________________________ +void PadStub::ShowGuidelines(TObject *, Int_t, char, bool) +{ + +} + //______________________________________________________________________________ void PadStub::Update() { @@ -359,5 +375,11 @@ Bool_t PadStub::HasViewer3D() const return kFALSE; } +//______________________________________________________________________________ +TVirtualPadPainter *PadStub::GetPainter() +{ + return 0; +} + } }