PHENIXTools
Loading...
Searching...
No Matches
LogoPainter.hpp
Go to the documentation of this file.
1
9#ifndef PHENIX_TOOLS_LOGO_PAINTER_HPP
10#define PHENIX_TOOLS_LOGO_PAINTER_HPP
11
12#include <cmath>
13#include <fstream>
14#include <string>
15#include <iostream>
16
17#include "TText.h"
18#include "TPad.h"
19#include "TColor.h"
20#include "TGraph.h"
21
27namespace PHENIXTools
28{
42 void DrawPreliminary(const double x, const double y, const double size = 0.25);
45 void DrawBezierShape(const std::string inputFileName, const double shiftX, const double shiftY,
46 const double scaleX, const double scaleY, const Color_t color);
48 void DrawRectangle(const double x1, const double y1, const double x2, const double y2,
49 const double x3, const double y3, const double x4, const double y4,
50 const double scaleX, const double scaleY, const Color_t color);
52 int uniqueId = 0;
53}
54
55#endif /* PHENIX_TOOLS_LOGO_PAINTER_HPP */
Contains all functions and variables that are needed for this project.
void DrawPreliminary(const double x, const double y, const double size=0.25)
Draw preliminary logo on a TPad.
Definition LogoPainter.cpp:14
int uniqueId
Variable that lets TObjects have unique name so that they will not be overwritten.
Definition LogoPainter.hpp:52
void DrawBezierShape(const std::string inputFileName, const double shiftX, const double shiftY, const double scaleX, const double scaleY, const Color_t color)
Definition LogoPainter.cpp:75
void DrawRectangle(const double x1, const double y1, const double x2, const double y2, const double x3, const double y3, const double x4, const double y4, const double scaleX, const double scaleY, const Color_t color)
Draws rectangle.
Definition LogoPainter.cpp:110