328 const Double_t dy[np+1] = { .5 , 0. , -.5 , -.5 , 0. , .5 , .5 };
329 const Double_t dx[np+1] = { .2886, .5772, .2886, -.2886, -.5772, -.2886, .2886 };
334 Double_t x[np+1], y[np+1];
335 for (Int_t
i=0;
i<np+1;
i++)
341 for (
int i=0;
i<6;
i++)
342 DrawLine(buf, w, h, x[
i], y[i], x[i+1], y[i+1], col, style);
static void DrawLine(UChar_t *buf, int w, int h, Float_t x1, Float_t y1, Float_t x2, Float_t y2, UChar_t col, Int_t style=1)