/usr/include/root/TCreatePrimitives.h is in libroot-graf2d-gpad-dev 5.34.19+dfsg-1.2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 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 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 | // @(#)root/gpad:$Id: TCreatePrimitives.h,v 1.0
/*************************************************************************
* Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *
* All rights reserved. *
* *
* For the licensing terms see $ROOTSYS/LICENSE. *
* For the list of contributors see $ROOTSYS/README/CREDITS. *
*************************************************************************/
#ifndef ROOT_TCreatePrimitives
#define ROOT_TCreatePrimitives
//////////////////////////////////////////////////////////////////////////
// //
// TCreatePrimitives //
// //
// Creates new primitives. //
// //
// The functions in this static class are called by TPad::ExecuteEvent //
// to create new primitives in gPad from the TPad toolbar. //
// //
//////////////////////////////////////////////////////////////////////////
#ifndef ROOT_Rtypes
#include "Rtypes.h"
#endif
#include "TLatex.h"
#include "TCurlyArc.h"
#include "TArrow.h"
#include "TArc.h"
#include "TPavesText.h"
#include "TPaveLabel.h"
#include "TDiamond.h"
#include "TGraph.h"
class TCreatePrimitives {
private:
static TLine *fgLine;
static TLatex *fgText;
static TCurlyLine *fgCLine;
static TArrow *fgArrow;
static TCurlyArc *fgCArc;
static TArc *fgArc;
static TEllipse *fgEllipse;
static TPave *fgPave;
static TPaveText *fgPaveText;
static TPavesText *fgPavesText;
static TDiamond *fgDiamond;
static TPaveLabel *fgPaveLabel;
static TGraph *fgPolyLine;
static TBox *fgPadBBox;
public:
TCreatePrimitives();
virtual ~TCreatePrimitives();
static void Ellipse(Int_t event, Int_t px, Int_t py,Int_t mode);
static void Line(Int_t event, Int_t px, Int_t py, Int_t mode);
static void Pad(Int_t event, Int_t px, Int_t py, Int_t);
static void Pave(Int_t event, Int_t px, Int_t py, Int_t mode);
static void PolyLine(Int_t event, Int_t px, Int_t py, Int_t mode);
static void Text(Int_t event, Int_t px, Int_t py, Int_t mode);
};
#endif
|