こういうのはだめなの?
class MyTCanvas : public TCanvas {
 void MyLine(x1,y1,x2,y2){
  MoveTo(x1,y1);
  LineTo(x2,y2);
 }
}