ROOT: Native Graphics on Mac OS X

ROOT: Native Graphics on Mac OS X

ROOT: native graphics on Mac OS X T. Pocheptsov 1) 1) CERN, PH-SFT – European Organization for Nuclear Research, Geneva, Switzerland; JINR – Joint Institute for Nuclear Research, Dubna, Russian Federation. The ROOT’s GUI classes support an extensive and rich set of widgets. These widget classes interface to the underlying graphics system and OS via abstract classes - TVirtualX and TSystem. Concrete versions were implemented for X11/*nix, Win32, Qt and now Mac OS X: ROOT GUI applications (browsers, canvases, treeplayers, event displays) and user GUI applications ROOT GUI framework (windows/widgets/controls classes) Abstraction layer: TSystem , TVirtualX TMacOSXSystem: event handling/dispatch TGCocoa/TGQuartz : 2D/3D graphics (graphical (mouse/keyboard/geometry change/repaint events, I/O “back-end”), window management, font management, activity, etc.) cursors, drag and drop, etc. New graphical back-end for Mac OS X: Components (implementation): •is a complete implementation of TVirtualX interface; •Window manager uses Apple’s Cocoa •uses native APIs directly, no external X11-server application framework (object oriented framework written in (XQuartz) required; Obj-C) and Apple’s Quartz Window Server •2D graphics – font, line, polygon anti-aliasing; API. •2D graphics – transparency and gradients; •I/O activity, GUI events, event loop - based •“Retina-friendly”; on Cocoa and Apple’s Core Foundation •can mix with native GUI-controls (Apple’s Aqua UI) framework •in future can support multi-threaded GUI; •“Event translator” – translates native GUI •implemented in Objective-C++. events into “X11-like” events/emulates X11 events (X11 events required by ROOT’s GUI to Availability: work) •2D graphics – implemented with Apple’s Quartz 2D API, Core Image and Core Text • Needs Mac OS X >= 10.7; frameworks • XCode >= 4.x (Apple-provided clang version >= 4.2); •3D graphics (OpenGL): window/context/pixel • Part of ROOT v. 5-34 (--enable-cocoa configure option) format management – Cocoa framework. • Default in the trunk version. Standard ROOT GUI fully implemented with Cocoa OpenGL: event displays Eve and Fireworks No transparency (CMS) New color gradient fill Alpha = 0.01 Parallel coordinates with Transparent objects For more information see: http://root.cern.ch transparent lines For any questions please use following address: [email protected] .

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    1 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us