lineXOR method

bool lineXOR(
  1. int x1,
  2. int y1,
  3. int x2,
  4. int y2,
)

Implementation

bool lineXOR( int x1, int y1, int x2, int y2 ){
	ParamInteger xx1 = ParamInteger( x1 );
	ParamInteger yy1 = ParamInteger( y1 );
	ParamInteger xx2 = ParamInteger( x2 );
	ParamInteger yy2 = ParamInteger( y2 );
	if( clipLine( xx1, yy1, xx2, yy2 ) == 0 ){
		return false;
	}
	drawLineXOR( xx1.val(), yy1.val(), xx2.val(), yy2.val() );
	moveTo( x2, y2 );
	return true;
}