ROOT logo
#include "TPad.h"
#include "TPoint.h"
#include "TPadPainter.h"
#include "TVirtualX.h"

// Local scratch buffer for screen points, faster than allocating buffer on heap
const Int_t kPXY = 1002;
static TPoint gPXY[kPXY];


ClassImp(TPadPainter)


//______________________________________________________________________________
TPadPainter::TPadPainter()
{
   //Empty ctor. Here only because of explicit copy ctor.
}

/*
Line/fill/etc. attributes can be set inside TPad, but not only where:
many of them are set by base sub-objects of 2d primitives
(2d primitives usually inherit TAttLine or TAttFill etc.).  And these sub-objects
call gVirtualX->SetLineWidth ... etc. So, if I save some attributes in my painter,
it will be mess - at any moment I do not know, where to take line attribute - from
gVirtualX or from my own member. So! All attributed, _ALL_ go to/from gVirtualX.
*/


//______________________________________________________________________________
Color_t TPadPainter::GetLineColor() const
{
   // Delegate to gVirtualX.

   return gVirtualX->GetLineColor();
}


//______________________________________________________________________________
Style_t TPadPainter::GetLineStyle() const
{
   // Delegate to gVirtualX.

   return gVirtualX->GetLineStyle();
}


//______________________________________________________________________________
Width_t TPadPainter::GetLineWidth() const
{
   // Delegate to gVirtualX.

   return gVirtualX->GetLineWidth();
}


//______________________________________________________________________________
void TPadPainter::SetLineColor(Color_t lcolor)
{
   // Delegate to gVirtualX.

   gVirtualX->SetLineColor(lcolor);
}


//______________________________________________________________________________
void TPadPainter::SetLineStyle(Style_t lstyle)
{
   // Delegate to gVirtualX.

   gVirtualX->SetLineStyle(lstyle);
}


//______________________________________________________________________________
void TPadPainter::SetLineWidth(Width_t lwidth)
{
   // Delegate to gVirtualX.

   gVirtualX->SetLineWidth(lwidth);
}


//______________________________________________________________________________
Color_t TPadPainter::GetFillColor() const
{
   // Delegate to gVirtualX.

   return gVirtualX->GetFillColor();
}


//______________________________________________________________________________
Style_t TPadPainter::GetFillStyle() const
{
   // Delegate to gVirtualX.

   return gVirtualX->GetFillStyle();
}


//______________________________________________________________________________
Bool_t TPadPainter::IsTransparent() const
{
   // Delegate to gVirtualX.

   //IsTransparent is implemented as inline function in TAttFill.
   return gVirtualX->IsTransparent();
}


//______________________________________________________________________________
void TPadPainter::SetFillColor(Color_t fcolor)
{
   // Delegate to gVirtualX.

   gVirtualX->SetFillColor(fcolor);
}


//______________________________________________________________________________
void TPadPainter::SetFillStyle(Style_t fstyle)
{
   // Delegate to gVirtualX.

   gVirtualX->SetFillStyle(fstyle);
}


//______________________________________________________________________________
void TPadPainter::SetOpacity(Int_t percent)
{
   // Delegate to gVirtualX.

   gVirtualX->SetOpacity(percent);
}


//______________________________________________________________________________
Short_t TPadPainter::GetTextAlign() const
{
   // Delegate to gVirtualX.

   return gVirtualX->GetTextAlign();
}


//______________________________________________________________________________
Float_t TPadPainter::GetTextAngle() const
{
   // Delegate to gVirtualX.

   return gVirtualX->GetTextAngle();
}


//______________________________________________________________________________
Color_t TPadPainter::GetTextColor() const
{
   // Delegate to gVirtualX.

   return gVirtualX->GetTextColor();
}


//______________________________________________________________________________
Font_t TPadPainter::GetTextFont() const
{
   // Delegate to gVirtualX.

   return gVirtualX->GetTextFont();
}


//______________________________________________________________________________
Float_t TPadPainter::GetTextSize() const
{
   // Delegate to gVirtualX.

   return gVirtualX->GetTextSize();
}


//______________________________________________________________________________
Float_t TPadPainter::GetTextMagnitude() const
{
   // Delegate to gVirtualX.

   return gVirtualX->GetTextMagnitude();
}


//______________________________________________________________________________
void TPadPainter::SetTextAlign(Short_t align)
{
   // Delegate to gVirtualX.

   gVirtualX->SetTextAlign(align);
}


//______________________________________________________________________________
void TPadPainter::SetTextAngle(Float_t tangle)
{
   // Delegate to gVirtualX.

   gVirtualX->SetTextAngle(tangle);
}


//______________________________________________________________________________
void TPadPainter::SetTextColor(Color_t tcolor)
{
   // Delegate to gVirtualX.

   gVirtualX->SetTextColor(tcolor);
}


//______________________________________________________________________________
void TPadPainter::SetTextFont(Font_t tfont)
{
   // Delegate to gVirtualX.

   gVirtualX->SetTextFont(tfont);
}


//______________________________________________________________________________
void TPadPainter::SetTextSize(Float_t tsize)
{
   // Delegate to gVirtualX.
   
   gVirtualX->SetTextSize(tsize);
}


//______________________________________________________________________________
void TPadPainter::SetTextSizePixels(Int_t npixels)
{
   // Delegate to gVirtualX.

   gVirtualX->SetTextSizePixels(npixels);
}


//______________________________________________________________________________
Int_t TPadPainter::CreateDrawable(UInt_t w, UInt_t h)
{
   // Create a gVirtualX Pixmap.

   return gVirtualX->OpenPixmap(Int_t(w), Int_t(h));
}


//______________________________________________________________________________
void TPadPainter::ClearDrawable()
{
   // Clear the current gVirtualX window.

   gVirtualX->ClearWindow();
}


//______________________________________________________________________________
void TPadPainter::CopyDrawable(Int_t id, Int_t px, Int_t py)
{
   // Copy a gVirtualX pixmap.

   gVirtualX->CopyPixmap(id, px, py);
}


//______________________________________________________________________________
void TPadPainter::DestroyDrawable()
{
   // Close the current gVirtualX pixmap.

   gVirtualX->ClosePixmap();
}


//______________________________________________________________________________
void TPadPainter::SelectDrawable(Int_t device)
{
   // Select the window in which the graphics will go.

   gVirtualX->SelectWindow(device);
}


//______________________________________________________________________________
void TPadPainter::DrawLine(Double_t x1, Double_t y1, Double_t x2, Double_t y2)
{
   // Paint a simple line.

   Int_t px1 = gPad->XtoPixel(x1);
   Int_t px2 = gPad->XtoPixel(x2);
   Int_t py1 = gPad->YtoPixel(y1);
   Int_t py2 = gPad->YtoPixel(y2);

   gVirtualX->DrawLine(px1, py1, px2, py2);
}


//______________________________________________________________________________
void TPadPainter::DrawLineNDC(Double_t u1, Double_t v1, Double_t u2, Double_t v2)
{
   // Paint a simple line in normalized coordinates.

   Int_t px1 = gPad->UtoPixel(u1);
   Int_t py1 = gPad->VtoPixel(v1);
   Int_t px2 = gPad->UtoPixel(u2);
   Int_t py2 = gPad->VtoPixel(v2);
   gVirtualX->DrawLine(px1, py1, px2, py2);
}


//______________________________________________________________________________
void TPadPainter::DrawBox(Double_t x1, Double_t y1, Double_t x2, Double_t y2, EBoxMode mode)
{
   // Paint a simple box.

   Int_t px1 = gPad->XtoPixel(x1);
   Int_t px2 = gPad->XtoPixel(x2);
   Int_t py1 = gPad->YtoPixel(y1);
   Int_t py2 = gPad->YtoPixel(y2);

   // Box width must be at least one pixel
   if (TMath::Abs(px2-px1) < 1) px2 = px1+1;
   if (TMath::Abs(py1-py2) < 1) py1 = py2+1;

   gVirtualX->DrawBox(px1,py1,px2,py2,(TVirtualX::EBoxMode)mode);
}


//______________________________________________________________________________
void TPadPainter::DrawFillArea(Int_t n, const Double_t *x, const Double_t *y)
{
   // Paint filled area.

   TPoint *pxy = &gPXY[0];
   if (n >= kPXY) pxy = new TPoint[n+1]; if (!pxy) return;
   Int_t fillstyle = gVirtualX->GetFillStyle();
   for (Int_t i=0; i<n; i++) {
      pxy[i].fX = gPad->XtoPixel(x[i]);
      pxy[i].fY = gPad->YtoPixel(y[i]);
   }
   if (fillstyle == 0) {
      pxy[n].fX = pxy[0].fX;
      pxy[n].fY = pxy[0].fY;
      gVirtualX->DrawFillArea(n+1,pxy);
   } else {
      gVirtualX->DrawFillArea(n,pxy);
   }
   if (n >= kPXY) delete [] pxy;
}


//______________________________________________________________________________
void TPadPainter::DrawFillArea(Int_t n, const Float_t *x, const Float_t *y)
{
   // Paint filled area.

   TPoint *pxy = &gPXY[0];
   if (n >= kPXY) pxy = new TPoint[n+1]; if (!pxy) return;
   Int_t fillstyle = gVirtualX->GetFillStyle();
   for (Int_t i=0; i<n; i++) {
      pxy[i].fX = gPad->XtoPixel(x[i]);
      pxy[i].fY = gPad->YtoPixel(y[i]);
   }
   if (fillstyle == 0) {
      pxy[n].fX = pxy[0].fX;
      pxy[n].fY = pxy[0].fY;
      gVirtualX->DrawFillArea(n+1,pxy);
   } else {
      gVirtualX->DrawFillArea(n,pxy);
   }
   if (n >= kPXY) delete [] pxy;
}


//______________________________________________________________________________
void TPadPainter::DrawPolyLine(Int_t n, const Double_t *x, const Double_t *y)
{
   // Paint polyline.

   TPoint *pxy = &gPXY[0];
   if (n >= kPXY) pxy = new TPoint[n+1]; if (!pxy) return;
   for (Int_t i=0; i<n; i++) {
      pxy[i].fX = gPad->XtoPixel(x[i]);
      pxy[i].fY = gPad->YtoPixel(y[i]);
   }
   gVirtualX->DrawPolyLine(n,pxy);
   if (n >= kPXY) delete [] pxy;
}


//______________________________________________________________________________
void TPadPainter::DrawPolyLine(Int_t n, const Float_t *x, const Float_t *y)
{
   // Paint polyline.

   TPoint *pxy = &gPXY[0];
   if (n >= kPXY) pxy = new TPoint[n+1]; if (!pxy) return;
   for (Int_t i=0; i<n; i++) {
      pxy[i].fX = gPad->XtoPixel(x[i]);
      pxy[i].fY = gPad->YtoPixel(y[i]);
   }
   gVirtualX->DrawPolyLine(n,pxy);
   if (n >= kPXY) delete [] pxy;
}


//______________________________________________________________________________
void TPadPainter::DrawPolyLineNDC(Int_t n, const Double_t *u, const Double_t *v)
{
   // Paint polyline in normalized coordinates.

   TPoint *pxy = &gPXY[0];
   if (n >= kPXY) pxy = new TPoint[n+1]; if (!pxy) return;
   for (Int_t i=0; i<n; i++) {
      pxy[i].fX = gPad->UtoPixel(u[i]);
      pxy[i].fY = gPad->VtoPixel(v[i]);
   }
   gVirtualX->DrawPolyLine(n,pxy);
   if (n >= kPXY) delete [] pxy;
}


//______________________________________________________________________________
void TPadPainter::DrawPolyMarker(Int_t n, const Double_t *x, const Double_t *y)
{
   // Paint polymarker.

   TPoint *pxy = &gPXY[0];
   if (n >= kPXY) pxy = new TPoint[n+1]; if (!pxy) return;
   for (Int_t i=0; i<n; i++) {
      pxy[i].fX = gPad->XtoPixel(x[i]);
      pxy[i].fY = gPad->YtoPixel(y[i]);
   }
   gVirtualX->DrawPolyMarker(n,pxy);
   if (n >= kPXY)   delete [] pxy;
}


//______________________________________________________________________________
void TPadPainter::DrawPolyMarker(Int_t n, const Float_t *x, const Float_t *y)
{
   // Paint polymarker.

   TPoint *pxy = &gPXY[0];
   if (n >= kPXY) pxy = new TPoint[n+1]; if (!pxy) return;
   for (Int_t i=0; i<n; i++) {
      pxy[i].fX = gPad->XtoPixel(x[i]);
      pxy[i].fY = gPad->YtoPixel(y[i]);
   }
   gVirtualX->DrawPolyMarker(n,pxy);
   if (n >= kPXY)   delete [] pxy;
}


//______________________________________________________________________________
void TPadPainter::DrawText(Double_t x, Double_t y, const char *text, ETextMode mode)
{
   // Paint text.

   Int_t px = gPad->XtoPixel(x);
   Int_t py = gPad->YtoPixel(y);
   Double_t angle = GetTextAngle();
   Double_t mgn = GetTextMagnitude();
   gVirtualX->DrawText(px, py, angle, mgn, text, (TVirtualX::ETextMode)mode);
}


//______________________________________________________________________________
void TPadPainter::DrawTextNDC(Double_t u, Double_t v, const char *text, ETextMode mode)
{
   // Paint text in normalized coordinates.

   Int_t px = gPad->UtoPixel(u);
   Int_t py = gPad->VtoPixel(v);
   Double_t angle = GetTextAngle();
   Double_t mgn = GetTextMagnitude();
   gVirtualX->DrawText(px, py, angle, mgn, text, (TVirtualX::ETextMode)mode);
}
 TPadPainter.cxx:1
 TPadPainter.cxx:2
 TPadPainter.cxx:3
 TPadPainter.cxx:4
 TPadPainter.cxx:5
 TPadPainter.cxx:6
 TPadPainter.cxx:7
 TPadPainter.cxx:8
 TPadPainter.cxx:9
 TPadPainter.cxx:10
 TPadPainter.cxx:11
 TPadPainter.cxx:12
 TPadPainter.cxx:13
 TPadPainter.cxx:14
 TPadPainter.cxx:15
 TPadPainter.cxx:16
 TPadPainter.cxx:17
 TPadPainter.cxx:18
 TPadPainter.cxx:19
 TPadPainter.cxx:20
 TPadPainter.cxx:21
 TPadPainter.cxx:22
 TPadPainter.cxx:23
 TPadPainter.cxx:24
 TPadPainter.cxx:25
 TPadPainter.cxx:26
 TPadPainter.cxx:27
 TPadPainter.cxx:28
 TPadPainter.cxx:29
 TPadPainter.cxx:30
 TPadPainter.cxx:31
 TPadPainter.cxx:32
 TPadPainter.cxx:33
 TPadPainter.cxx:34
 TPadPainter.cxx:35
 TPadPainter.cxx:36
 TPadPainter.cxx:37
 TPadPainter.cxx:38
 TPadPainter.cxx:39
 TPadPainter.cxx:40
 TPadPainter.cxx:41
 TPadPainter.cxx:42
 TPadPainter.cxx:43
 TPadPainter.cxx:44
 TPadPainter.cxx:45
 TPadPainter.cxx:46
 TPadPainter.cxx:47
 TPadPainter.cxx:48
 TPadPainter.cxx:49
 TPadPainter.cxx:50
 TPadPainter.cxx:51
 TPadPainter.cxx:52
 TPadPainter.cxx:53
 TPadPainter.cxx:54
 TPadPainter.cxx:55
 TPadPainter.cxx:56
 TPadPainter.cxx:57
 TPadPainter.cxx:58
 TPadPainter.cxx:59
 TPadPainter.cxx:60
 TPadPainter.cxx:61
 TPadPainter.cxx:62
 TPadPainter.cxx:63
 TPadPainter.cxx:64
 TPadPainter.cxx:65
 TPadPainter.cxx:66
 TPadPainter.cxx:67
 TPadPainter.cxx:68
 TPadPainter.cxx:69
 TPadPainter.cxx:70
 TPadPainter.cxx:71
 TPadPainter.cxx:72
 TPadPainter.cxx:73
 TPadPainter.cxx:74
 TPadPainter.cxx:75
 TPadPainter.cxx:76
 TPadPainter.cxx:77
 TPadPainter.cxx:78
 TPadPainter.cxx:79
 TPadPainter.cxx:80
 TPadPainter.cxx:81
 TPadPainter.cxx:82
 TPadPainter.cxx:83
 TPadPainter.cxx:84
 TPadPainter.cxx:85
 TPadPainter.cxx:86
 TPadPainter.cxx:87
 TPadPainter.cxx:88
 TPadPainter.cxx:89
 TPadPainter.cxx:90
 TPadPainter.cxx:91
 TPadPainter.cxx:92
 TPadPainter.cxx:93
 TPadPainter.cxx:94
 TPadPainter.cxx:95
 TPadPainter.cxx:96
 TPadPainter.cxx:97
 TPadPainter.cxx:98
 TPadPainter.cxx:99
 TPadPainter.cxx:100
 TPadPainter.cxx:101
 TPadPainter.cxx:102
 TPadPainter.cxx:103
 TPadPainter.cxx:104
 TPadPainter.cxx:105
 TPadPainter.cxx:106
 TPadPainter.cxx:107
 TPadPainter.cxx:108
 TPadPainter.cxx:109
 TPadPainter.cxx:110
 TPadPainter.cxx:111
 TPadPainter.cxx:112
 TPadPainter.cxx:113
 TPadPainter.cxx:114
 TPadPainter.cxx:115
 TPadPainter.cxx:116
 TPadPainter.cxx:117
 TPadPainter.cxx:118
 TPadPainter.cxx:119
 TPadPainter.cxx:120
 TPadPainter.cxx:121
 TPadPainter.cxx:122
 TPadPainter.cxx:123
 TPadPainter.cxx:124
 TPadPainter.cxx:125
 TPadPainter.cxx:126
 TPadPainter.cxx:127
 TPadPainter.cxx:128
 TPadPainter.cxx:129
 TPadPainter.cxx:130
 TPadPainter.cxx:131
 TPadPainter.cxx:132
 TPadPainter.cxx:133
 TPadPainter.cxx:134
 TPadPainter.cxx:135
 TPadPainter.cxx:136
 TPadPainter.cxx:137
 TPadPainter.cxx:138
 TPadPainter.cxx:139
 TPadPainter.cxx:140
 TPadPainter.cxx:141
 TPadPainter.cxx:142
 TPadPainter.cxx:143
 TPadPainter.cxx:144
 TPadPainter.cxx:145
 TPadPainter.cxx:146
 TPadPainter.cxx:147
 TPadPainter.cxx:148
 TPadPainter.cxx:149
 TPadPainter.cxx:150
 TPadPainter.cxx:151
 TPadPainter.cxx:152
 TPadPainter.cxx:153
 TPadPainter.cxx:154
 TPadPainter.cxx:155
 TPadPainter.cxx:156
 TPadPainter.cxx:157
 TPadPainter.cxx:158
 TPadPainter.cxx:159
 TPadPainter.cxx:160
 TPadPainter.cxx:161
 TPadPainter.cxx:162
 TPadPainter.cxx:163
 TPadPainter.cxx:164
 TPadPainter.cxx:165
 TPadPainter.cxx:166
 TPadPainter.cxx:167
 TPadPainter.cxx:168
 TPadPainter.cxx:169
 TPadPainter.cxx:170
 TPadPainter.cxx:171
 TPadPainter.cxx:172
 TPadPainter.cxx:173
 TPadPainter.cxx:174
 TPadPainter.cxx:175
 TPadPainter.cxx:176
 TPadPainter.cxx:177
 TPadPainter.cxx:178
 TPadPainter.cxx:179
 TPadPainter.cxx:180
 TPadPainter.cxx:181
 TPadPainter.cxx:182
 TPadPainter.cxx:183
 TPadPainter.cxx:184
 TPadPainter.cxx:185
 TPadPainter.cxx:186
 TPadPainter.cxx:187
 TPadPainter.cxx:188
 TPadPainter.cxx:189
 TPadPainter.cxx:190
 TPadPainter.cxx:191
 TPadPainter.cxx:192
 TPadPainter.cxx:193
 TPadPainter.cxx:194
 TPadPainter.cxx:195
 TPadPainter.cxx:196
 TPadPainter.cxx:197
 TPadPainter.cxx:198
 TPadPainter.cxx:199
 TPadPainter.cxx:200
 TPadPainter.cxx:201
 TPadPainter.cxx:202
 TPadPainter.cxx:203
 TPadPainter.cxx:204
 TPadPainter.cxx:205
 TPadPainter.cxx:206
 TPadPainter.cxx:207
 TPadPainter.cxx:208
 TPadPainter.cxx:209
 TPadPainter.cxx:210
 TPadPainter.cxx:211
 TPadPainter.cxx:212
 TPadPainter.cxx:213
 TPadPainter.cxx:214
 TPadPainter.cxx:215
 TPadPainter.cxx:216
 TPadPainter.cxx:217
 TPadPainter.cxx:218
 TPadPainter.cxx:219
 TPadPainter.cxx:220
 TPadPainter.cxx:221
 TPadPainter.cxx:222
 TPadPainter.cxx:223
 TPadPainter.cxx:224
 TPadPainter.cxx:225
 TPadPainter.cxx:226
 TPadPainter.cxx:227
 TPadPainter.cxx:228
 TPadPainter.cxx:229
 TPadPainter.cxx:230
 TPadPainter.cxx:231
 TPadPainter.cxx:232
 TPadPainter.cxx:233
 TPadPainter.cxx:234
 TPadPainter.cxx:235
 TPadPainter.cxx:236
 TPadPainter.cxx:237
 TPadPainter.cxx:238
 TPadPainter.cxx:239
 TPadPainter.cxx:240
 TPadPainter.cxx:241
 TPadPainter.cxx:242
 TPadPainter.cxx:243
 TPadPainter.cxx:244
 TPadPainter.cxx:245
 TPadPainter.cxx:246
 TPadPainter.cxx:247
 TPadPainter.cxx:248
 TPadPainter.cxx:249
 TPadPainter.cxx:250
 TPadPainter.cxx:251
 TPadPainter.cxx:252
 TPadPainter.cxx:253
 TPadPainter.cxx:254
 TPadPainter.cxx:255
 TPadPainter.cxx:256
 TPadPainter.cxx:257
 TPadPainter.cxx:258
 TPadPainter.cxx:259
 TPadPainter.cxx:260
 TPadPainter.cxx:261
 TPadPainter.cxx:262
 TPadPainter.cxx:263
 TPadPainter.cxx:264
 TPadPainter.cxx:265
 TPadPainter.cxx:266
 TPadPainter.cxx:267
 TPadPainter.cxx:268
 TPadPainter.cxx:269
 TPadPainter.cxx:270
 TPadPainter.cxx:271
 TPadPainter.cxx:272
 TPadPainter.cxx:273
 TPadPainter.cxx:274
 TPadPainter.cxx:275
 TPadPainter.cxx:276
 TPadPainter.cxx:277
 TPadPainter.cxx:278
 TPadPainter.cxx:279
 TPadPainter.cxx:280
 TPadPainter.cxx:281
 TPadPainter.cxx:282
 TPadPainter.cxx:283
 TPadPainter.cxx:284
 TPadPainter.cxx:285
 TPadPainter.cxx:286
 TPadPainter.cxx:287
 TPadPainter.cxx:288
 TPadPainter.cxx:289
 TPadPainter.cxx:290
 TPadPainter.cxx:291
 TPadPainter.cxx:292
 TPadPainter.cxx:293
 TPadPainter.cxx:294
 TPadPainter.cxx:295
 TPadPainter.cxx:296
 TPadPainter.cxx:297
 TPadPainter.cxx:298
 TPadPainter.cxx:299
 TPadPainter.cxx:300
 TPadPainter.cxx:301
 TPadPainter.cxx:302
 TPadPainter.cxx:303
 TPadPainter.cxx:304
 TPadPainter.cxx:305
 TPadPainter.cxx:306
 TPadPainter.cxx:307
 TPadPainter.cxx:308
 TPadPainter.cxx:309
 TPadPainter.cxx:310
 TPadPainter.cxx:311
 TPadPainter.cxx:312
 TPadPainter.cxx:313
 TPadPainter.cxx:314
 TPadPainter.cxx:315
 TPadPainter.cxx:316
 TPadPainter.cxx:317
 TPadPainter.cxx:318
 TPadPainter.cxx:319
 TPadPainter.cxx:320
 TPadPainter.cxx:321
 TPadPainter.cxx:322
 TPadPainter.cxx:323
 TPadPainter.cxx:324
 TPadPainter.cxx:325
 TPadPainter.cxx:326
 TPadPainter.cxx:327
 TPadPainter.cxx:328
 TPadPainter.cxx:329
 TPadPainter.cxx:330
 TPadPainter.cxx:331
 TPadPainter.cxx:332
 TPadPainter.cxx:333
 TPadPainter.cxx:334
 TPadPainter.cxx:335
 TPadPainter.cxx:336
 TPadPainter.cxx:337
 TPadPainter.cxx:338
 TPadPainter.cxx:339
 TPadPainter.cxx:340
 TPadPainter.cxx:341
 TPadPainter.cxx:342
 TPadPainter.cxx:343
 TPadPainter.cxx:344
 TPadPainter.cxx:345
 TPadPainter.cxx:346
 TPadPainter.cxx:347
 TPadPainter.cxx:348
 TPadPainter.cxx:349
 TPadPainter.cxx:350
 TPadPainter.cxx:351
 TPadPainter.cxx:352
 TPadPainter.cxx:353
 TPadPainter.cxx:354
 TPadPainter.cxx:355
 TPadPainter.cxx:356
 TPadPainter.cxx:357
 TPadPainter.cxx:358
 TPadPainter.cxx:359
 TPadPainter.cxx:360
 TPadPainter.cxx:361
 TPadPainter.cxx:362
 TPadPainter.cxx:363
 TPadPainter.cxx:364
 TPadPainter.cxx:365
 TPadPainter.cxx:366
 TPadPainter.cxx:367
 TPadPainter.cxx:368
 TPadPainter.cxx:369
 TPadPainter.cxx:370
 TPadPainter.cxx:371
 TPadPainter.cxx:372
 TPadPainter.cxx:373
 TPadPainter.cxx:374
 TPadPainter.cxx:375
 TPadPainter.cxx:376
 TPadPainter.cxx:377
 TPadPainter.cxx:378
 TPadPainter.cxx:379
 TPadPainter.cxx:380
 TPadPainter.cxx:381
 TPadPainter.cxx:382
 TPadPainter.cxx:383
 TPadPainter.cxx:384
 TPadPainter.cxx:385
 TPadPainter.cxx:386
 TPadPainter.cxx:387
 TPadPainter.cxx:388
 TPadPainter.cxx:389
 TPadPainter.cxx:390
 TPadPainter.cxx:391
 TPadPainter.cxx:392
 TPadPainter.cxx:393
 TPadPainter.cxx:394
 TPadPainter.cxx:395
 TPadPainter.cxx:396
 TPadPainter.cxx:397
 TPadPainter.cxx:398
 TPadPainter.cxx:399
 TPadPainter.cxx:400
 TPadPainter.cxx:401
 TPadPainter.cxx:402
 TPadPainter.cxx:403
 TPadPainter.cxx:404
 TPadPainter.cxx:405
 TPadPainter.cxx:406
 TPadPainter.cxx:407
 TPadPainter.cxx:408
 TPadPainter.cxx:409
 TPadPainter.cxx:410
 TPadPainter.cxx:411
 TPadPainter.cxx:412
 TPadPainter.cxx:413
 TPadPainter.cxx:414
 TPadPainter.cxx:415
 TPadPainter.cxx:416
 TPadPainter.cxx:417
 TPadPainter.cxx:418
 TPadPainter.cxx:419
 TPadPainter.cxx:420
 TPadPainter.cxx:421
 TPadPainter.cxx:422
 TPadPainter.cxx:423
 TPadPainter.cxx:424
 TPadPainter.cxx:425
 TPadPainter.cxx:426
 TPadPainter.cxx:427
 TPadPainter.cxx:428
 TPadPainter.cxx:429
 TPadPainter.cxx:430
 TPadPainter.cxx:431
 TPadPainter.cxx:432
 TPadPainter.cxx:433
 TPadPainter.cxx:434
 TPadPainter.cxx:435
 TPadPainter.cxx:436
 TPadPainter.cxx:437
 TPadPainter.cxx:438
 TPadPainter.cxx:439
 TPadPainter.cxx:440
 TPadPainter.cxx:441
 TPadPainter.cxx:442
 TPadPainter.cxx:443
 TPadPainter.cxx:444
 TPadPainter.cxx:445
 TPadPainter.cxx:446
 TPadPainter.cxx:447
 TPadPainter.cxx:448
 TPadPainter.cxx:449
 TPadPainter.cxx:450
 TPadPainter.cxx:451
 TPadPainter.cxx:452
 TPadPainter.cxx:453
 TPadPainter.cxx:454
 TPadPainter.cxx:455
 TPadPainter.cxx:456
 TPadPainter.cxx:457
 TPadPainter.cxx:458
 TPadPainter.cxx:459
 TPadPainter.cxx:460
 TPadPainter.cxx:461
 TPadPainter.cxx:462
 TPadPainter.cxx:463
 TPadPainter.cxx:464
 TPadPainter.cxx:465
 TPadPainter.cxx:466
 TPadPainter.cxx:467
 TPadPainter.cxx:468
 TPadPainter.cxx:469
 TPadPainter.cxx:470
 TPadPainter.cxx:471
 TPadPainter.cxx:472
 TPadPainter.cxx:473
 TPadPainter.cxx:474
 TPadPainter.cxx:475
 TPadPainter.cxx:476
 TPadPainter.cxx:477
 TPadPainter.cxx:478
 TPadPainter.cxx:479
 TPadPainter.cxx:480
 TPadPainter.cxx:481
 TPadPainter.cxx:482
 TPadPainter.cxx:483
 TPadPainter.cxx:484
 TPadPainter.cxx:485
 TPadPainter.cxx:486