[Chameleon-dev] [Bug 1066] New: ROIRenderer does not use edgecolor and edgewidth

bugzilla-daemon at bugzilla.maptools.org bugzilla-daemon at bugzilla.maptools.org
Fri May 27 06:55:56 EDT 2005


http://bugzilla.maptools.org/show_bug.cgi?id=1066

           Summary: ROIRenderer does not use edgecolor and edgewidth
           Product: Chameleon
           Version: 2.2
          Platform: PC
        OS/Version: Windows 2000
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Widget
        AssignedTo: chameleon-dev at lists.maptools.org
        ReportedBy: bartvde at xs4all.nl


It is part of the ROI widget parameter list, but the ROIRenderer does not use
the values for edgecolor and edgewidth.

I have patched this for circle ROI in my local version since I am using circles
only at the moment. I will try and submit this in CVS head tonight at home.

    else if ($aROI['type'] == 'circle')
    {
        //renderText( $dCenterX.','.$dCenterY.' radius='.$dRadius );

        // Bart, does not incorporate edgecolor and edgewidth parameters
        $nEdgeColor = allocateImageFromHexValue( $GLOBALS['oImage'],
$aROI['edgecolor']);
        imagefilledellipse ( $GLOBALS['oImage'], $dCenterX,
            $dCenterY,  $dRadius * 2+$aROI['edgewidth'], $dRadius *
2+$aROI['edgewidth'],
            $nEdgeColor );
        // END Bart

        imagefilledellipse ( $GLOBALS['oImage'], $dCenterX,
            $dCenterY,  $dRadius * 2, $dRadius * 2,
            $nFillColor );
    }



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


Please do NOT reply to this email, use the link above instead to 
login to bugzilla and submit your comment. Any email reply to this
address will be lost.


More information about the Chameleon-dev mailing list