776inline bool QgsClipper::clipLineSegment( 
double xLeft, 
double xRight, 
double yBottom, 
double yTop, 
double &x0, 
double &y0, 
double &x1, 
double &y1 )
 
  782  else if ( y1 > yTop )
 
  787  else if ( x1 < xLeft )
 
  792  else if ( y0 > yTop )
 
  797  else if ( x0 < xLeft )
 
  806      clipEndLeft( x0, y0, x1, y1, xLeft );
 
  810      clipEndRight( x0, y0, x1, y1, xRight );
 
  814      clipEndBottom( x0, y0, x1, y1, yBottom );
 
  818      clipEndLeft( x0, y0, x1, y1, xLeft );
 
  820        clipEndBottom( x0, y0, x1, y1, yBottom );
 
  824      clipEndRight( x0, y0, x1, y1, xRight );
 
  826        clipEndBottom( x0, y0, x1, y1, yBottom );
 
  830      clipEndTop( x0, y0, x1, y1, yTop );
 
  834      clipEndLeft( x0, y0, x1, y1, xLeft );
 
  836        clipEndTop( x0, y0, x1, y1, yTop );
 
  840      clipEndRight( x0, y0, x1, y1, xRight );
 
  842        clipEndTop( x0, y0, x1, y1, yTop );
 
  846      clipStartLeft( x0, y0, x1, y1, xLeft );
 
  850      clipStartLeft( x0, y0, x1, y1, xLeft );
 
  851      clipEndRight( x0, y0, x1, y1, xRight );
 
  855      clipStartLeft( x0, y0, x1, y1, xLeft );
 
  858      clipEndBottom( x0, y0, x1, y1, yBottom );
 
  862      clipStartLeft( x0, y0, x1, y1, xLeft );
 
  865      clipEndBottom( x0, y0, x1, y1, yBottom );
 
  867        clipEndRight( x0, y0, x1, y1, xRight );
 
  871      clipStartLeft( x0, y0, x1, y1, xLeft );
 
  874      clipEndTop( x0, y0, x1, y1, yTop );
 
  878      clipStartLeft( x0, y0, x1, y1, xLeft );
 
  881      clipEndTop( x0, y0, x1, y1, yTop );
 
  883        clipEndRight( x0, y0, x1, y1, xRight );
 
  887      clipStartRight( x0, y0, x1, y1, xRight );
 
  891      clipStartRight( x0, y0, x1, y1, xRight );
 
  892      clipEndLeft( x0, y0, x1, y1, xLeft );
 
  896      clipStartRight( x0, y0, x1, y1, xRight );
 
  899      clipEndBottom( x0, y0, x1, y1, yBottom );
 
  903      clipStartRight( x0, y0, x1, y1, xRight );
 
  906      clipEndBottom( x0, y0, x1, y1, yBottom );
 
  908        clipEndLeft( x0, y0, x1, y1, xLeft );
 
  912      clipStartRight( x0, y0, x1, y1, xRight );
 
  915      clipEndTop( x0, y0, x1, y1, yTop );
 
  919      clipStartRight( x0, y0, x1, y1, xRight );
 
  922      clipEndTop( x0, y0, x1, y1, yTop );
 
  924        clipEndLeft( x0, y0, x1, y1, xLeft );
 
  928      clipStartBottom( x0, y0, x1, y1, yBottom );
 
  932      clipStartBottom( x0, y0, x1, y1, yBottom );
 
  935      clipEndLeft( x0, y0, x1, y1, xLeft );
 
  937        clipEndBottom( x0, y0, x1, y1, yBottom );
 
  941      clipStartBottom( x0, y0, x1, y1, yBottom );
 
  944      clipEndRight( x0, y0, x1, y1, xRight );
 
  948      clipStartBottom( x0, y0, x1, y1, yBottom );
 
  949      clipEndTop( x0, y0, x1, y1, yTop );
 
  953      clipStartBottom( x0, y0, x1, y1, yBottom );
 
  956      clipEndLeft( x0, y0, x1, y1, xLeft );
 
  958        clipEndTop( x0, y0, x1, y1, yTop );
 
  962      clipStartBottom( x0, y0, x1, y1, yBottom );
 
  965      clipEndRight( x0, y0, x1, y1, xRight );
 
  967        clipEndTop( x0, y0, x1, y1, yTop );
 
  971      clipStartLeft( x0, y0, x1, y1, xLeft );
 
  973        clipStartBottom( x0, y0, x1, y1, yBottom );
 
  977      clipEndRight( x0, y0, x1, y1, xRight );
 
  980      clipStartBottom( x0, y0, x1, y1, yBottom );
 
  982        clipStartLeft( x0, y0, x1, y1, xLeft );
 
  986      clipEndTop( x0, y0, x1, y1, yTop );
 
  989      clipStartBottom( x0, y0, x1, y1, yBottom );
 
  991        clipStartLeft( x0, y0, x1, y1, xLeft );
 
  995      clipStartLeft( x0, y0, x1, y1, xLeft );
 
  998      clipEndRight( x0, y0, x1, y1, xRight );
 
 1002        clipStartBottom( x0, y0, x1, y1, yBottom );
 
 1004        clipEndTop( x0, y0, x1, y1, yTop );
 
 1008      clipStartRight( x0, y0, x1, y1, xRight );
 
 1010        clipStartBottom( x0, y0, x1, y1, yBottom );
 
 1014      clipEndLeft( x0, y0, x1, y1, xLeft );
 
 1017      clipStartBottom( x0, y0, x1, y1, yBottom );
 
 1019        clipStartRight( x0, y0, x1, y1, xRight );
 
 1023      clipEndTop( x0, y0, x1, y1, yTop );
 
 1026      clipStartRight( x0, y0, x1, y1, xRight );
 
 1028        clipStartBottom( x0, y0, x1, y1, yBottom );
 
 1032      clipEndLeft( x0, y0, x1, y1, xLeft );
 
 1035      clipStartRight( x0, y0, x1, y1, xRight );
 
 1039        clipEndTop( x0, y0, x1, y1, yTop );
 
 1041        clipStartBottom( x0, y0, x1, y1, yBottom );
 
 1045      clipStartTop( x0, y0, x1, y1, yTop );
 
 1049      clipStartTop( x0, y0, x1, y1, yTop );
 
 1052      clipEndLeft( x0, y0, x1, y1, xLeft );
 
 1056      clipStartTop( x0, y0, x1, y1, yTop );
 
 1059      clipEndRight( x0, y0, x1, y1, xRight );
 
 1063      clipStartTop( x0, y0, x1, y1, yTop );
 
 1064      clipEndBottom( x0, y0, x1, y1, yBottom );
 
 1068      clipStartTop( x0, y0, x1, y1, yTop );
 
 1071      clipEndLeft( x0, y0, x1, y1, xLeft );
 
 1073        clipEndBottom( x0, y0, x1, y1, yBottom );
 
 1077      clipStartTop( x0, y0, x1, y1, yTop );
 
 1080      clipEndRight( x0, y0, x1, y1, xRight );
 
 1082        clipEndBottom( x0, y0, x1, y1, yBottom );
 
 1086      clipStartLeft( x0, y0, x1, y1, xLeft );
 
 1088        clipStartTop( x0, y0, x1, y1, yTop );
 
 1092      clipEndRight( x0, y0, x1, y1, xRight );
 
 1095      clipStartTop( x0, y0, x1, y1, yTop );
 
 1097        clipStartLeft( x0, y0, x1, y1, xLeft );
 
 1101      clipEndBottom( x0, y0, x1, y1, yBottom );
 
 1104      clipStartLeft( x0, y0, x1, y1, xLeft );
 
 1106        clipStartTop( x0, y0, x1, y1, yTop );
 
 1110      clipStartLeft( x0, y0, x1, y1, xLeft );
 
 1113      clipEndRight( x0, y0, x1, y1, xRight );
 
 1117        clipStartTop( x0, y0, x1, y1, yTop );
 
 1119        clipEndBottom( x0, y0, x1, y1, yBottom );
 
 1123      clipStartRight( x0, y0, x1, y1, xRight );
 
 1125        clipStartTop( x0, y0, x1, y1, yTop );
 
 1129      clipEndLeft( x0, y0, x1, y1, xLeft );
 
 1132      clipStartTop( x0, y0, x1, y1, yTop );
 
 1134        clipStartRight( x0, y0, x1, y1, xRight );
 
 1138      clipEndBottom( x0, y0, x1, y1, yBottom );
 
 1141      clipStartRight( x0, y0, x1, y1, xRight );
 
 1143        clipStartTop( x0, y0, x1, y1, yTop );
 
 1147      clipEndLeft( x0, y0, x1, y1, xLeft );
 
 1150      clipStartRight( x0, y0, x1, y1, xRight );
 
 1154        clipEndBottom( x0, y0, x1, y1, yBottom );
 
 1156        clipStartTop( x0, y0, x1, y1, yTop );