Changes between Version 27 and Version 28 of Ticket #1688


Ignore:
Timestamp:
Feb 20, 2008, 6:37:09 AM (16 years ago)
Author:
dmorissette
Comment:

Here is an idea: instead of adding a new autoanglealgorithm member in the labelObj as was proposed in the auto2.tar.gz patch, we could get rid of autoangle and autofollow and combine all of them into a single label->anglemode member with the following possible values:

  • 0, the default means that the angle value is either static or bound to an attribute
  • MS_AUTO
  • MS_AUTO2 (the new algorithm)
  • MS_FOLLOW

Steve, do you expect any problem with that approach? I can take this ticket if you want, just reassign to me.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1688 – Description

    v27 v28  
    1 {{{
    21In each case where a label was angled incorrectly, it was angled incorrect by
    32roughly +- 180°.
     
    87mapprimititve.c:
    98
     9{{{
    1010if(p->line[i].point[j-1].y < p->line[i].point[j].y){
    1111    *angle = (270.0 - (MS_RAD_TO_DEG*theta));