Opened 12 years ago

Closed 10 years ago

#2766 closed defect (fixed)

Convert SIZE... and WIDTH... styleObj and labelObj properties from int to double

Reported by: sdlime Owned by: jmckenna
Priority: normal Milestone: 5.6 release
Component: Documentation - MapServer Version: unspecified
Severity: normal Keywords:
Cc: dmorissette, aboudreault, tbonfort, tamas

Description

AGG can deal with fractional widths and sizes but styleObj's define those properties as int's. Shouldn't be a big deal since both GD and AGG don't use those values directly, rather they use scaled values with are cast or rounded to an int if necessary.

Steve

Change History (10)

comment:1 Changed 12 years ago by dmorissette

Cc: dmorissette added

comment:2 Changed 12 years ago by sdlime

Status: newassigned

Dan: Do you know what would need to be done to PHP/MapScript? I wouldn't think much. I'm in favor of committing what I've got now and then reassigning to PHP component.

Steve

comment:3 Changed 12 years ago by dmorissette

Cc: aboudreault added

The changes in PHP MapScript? will be very simple. You can go ahead and commit and we'll take care of the PHP MapScript? changes.

comment:4 Changed 12 years ago by sdlime

Cc: tbonfort added
Component: MapServer C LibraryMapScript-PHP

Committed in r7919. Turning over to PHP/MapScript component and then you guys can pass it on to the documentation component.

Steve

comment:5 Changed 12 years ago by sdlime

Owner: changed from sdlime to dmorissette
Status: assignednew

comment:6 Changed 12 years ago by dmorissette

Component: MapScript-PHPMapServer Documentation
Owner: changed from dmorissette to jmckenna

PHP MapScript? changes committed in SVN trunk r7923.

Reassigning to Jeff for doc updates

comment:7 Changed 12 years ago by tamas

Summary: Convert SIZE... and WIDTH... styleObj properties from int to doubleConvert SIZE... and WIDTH... styleObj and labelObj properties from int to double

Added the same for labeObj size, minsize and maxsize in r8482

The docs should be updated accordingly

comment:8 Changed 12 years ago by tamas

Cc: tamas added

comment:9 Changed 10 years ago by jmckenna

Status: newassigned

comment:10 Changed 10 years ago by jmckenna

Resolution: fixed
Status: assignedclosed
  • updated STYLE and LABEL object documentation accordingly
Note: See TracTickets for help on using tickets.