function setContextStyle(context, style) {
	context.font = style.font;
	context.fillStyle = style.fillStyle.toRGBA();
	context.strokeStyle = style.strokeStyle.toRGBA();
	context.lineWidth = style.lineWidth;
	context.textAlign = style.textAlign;
	context.textBaseline = style.textBaseline;
}
apply the current text style to the given context
@ignore