Definition at line 279 of file MGImage.cc.
References i.
Referenced by DisableSyncMode(), DrawBox(), DrawCross(), DrawHexagon(), and DrawMultiply().
281 const Int_t step = style==kSolid?1:3;
282 const Double_t len = TMath::Hypot(x2-x1, y2-y1);
283 const Double_t dx = (x2-x1)/len*step;
284 const Double_t dy = (y2-y1)/len*step;
289 for (
int i=0;
i<len;
i+=step)
294 const Int_t iy = TMath::Nint(y);
298 const Int_t ix = TMath::Nint(x);