Opened 16 years ago

Closed 14 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 by dmorissette, 16 years ago

Cc: dmorissette added

comment:2 by sdlime, 16 years ago

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 by dmorissette, 16 years ago

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 by sdlime, 16 years ago

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 by sdlime, 16 years ago

Owner: changed from sdlime to dmorissette
Status: assignednew

comment:6 by dmorissette, 16 years ago

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 by tamas, 15 years ago

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 by tamas, 15 years ago

Cc: tamas added

comment:9 by jmckenna, 14 years ago

Status: newassigned

comment:10 by jmckenna, 14 years ago

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