Example #1
0
	//! used by the placement algorith to move the label
	void translate(double dx, double dy)
	{
		box = box.translate(dx, dy);
		origin.x += dx;
		origin.y += dy;
	}
Example #2
0
	//! used by the placement algorith to move the shield
	void translate(double dx, double dy)
	{
		Label::translate(dx, dy);
		shield = shield.translate(dx, dy);
	}