All pastes #808897 Raw Edit

Unnamed

public text v1 · immutable
·published 2007-12-08 00:19 UTC
rendered paste body
This is the function we need to call in our pics.cpp (our main function)

void ShapeDrawer::drawLine(Line l) {
	int xa = l.getStart().getX();
	int ya = l.getStart().getY();
	int xb = l.getEnd().getX();
	int yb = l.getEnd().getY();
	int red = l.getColor().getRed() ....it keeps going etc....

Line is a class.

So how do we implement this? am I making sense?