Added actual center-of-mass calculation for territories.
authorW. Trevor King <wking@drexel.edu>
Sun, 28 Mar 2010 05:03:53 +0000 (01:03 -0400)
committerW. Trevor King <wking@drexel.edu>
Sun, 28 Mar 2010 05:05:02 +0000 (01:05 -0400)
commitcb021ade17bfad70dd2c957ebfa1bf0edb857300
tree374b7b5ea7f8f9ac765bb8f12420d9e8f3ec47ca
parent489acc74e713669874a0b37a22258513cc97c281
Added actual center-of-mass calculation for territories.

Also:
* Added CCW check in Region._generate_outline.
* Added attribute control (e.g. opacity) for continent color templates.
* Added army outline color control to templates.
* Removed unnecessary label_offset attribute from Region.
pyrisk/graphics.py
share/templates/earth/continent.col
share/templates/earth/gbr.reg
share/templates/earth/jap.reg
share/templates/earth/line.col
share/templates/earth/ngu.reg