View Issue Details

IDProjectCategoryView StatusLast Update
0002744JEDI VCL00 JVCL Componentspublic2005-04-22 05:34
ReporteranonymousAssigned Toobones 
Status resolvedResolutionfixed 
Product Version 
Target VersionFixed in Version3.10 
Summary0002744: about rect function in jclGraphUtils and JvJvclUtils
DescriptionThe function RectWidth and RectHeight must be Normalize first.Can move the rect and point functions from jclGraphUtils toJvJVCLUtils unit? thanks!
TagsNo tags attached.



2005-04-12 05:18

administrator   ~0006935

What exactly do you want and why do you want it?


2005-04-12 22:30

viewer   ~0006989

If did't normalize rect first,the RectWidth and RectHeight function maybe return negative, so we must call "RectNormalize" fist in function in RectWidth and RectHeight.

most of rect and point functions in jclGraphUtils never used,so can moved to JvJVCLUtils unit?


2005-04-13 02:39

administrator   ~0006994

Which version of the JCL are you using ?

In the current version, the result is the absolute value of the difference.


2005-04-19 23:43

reporter   ~0007031

I'm use he last date CVS version .In the JvJclUtils.pas have the RectWidth and RectHeight too,you fixd file is the jclGraphUtils,but did't fix the JvJclUtils.the are the same function in jclGraphUtils and JvJclUtils ,can you merge them in one file, Can move the rect and point functions from jclGraphUtils toJvJCLUtils unit? then rect function in jclGraphUtils is never used.


2005-04-20 12:49

administrator   ~0007033

The functions located in JvJclUtils where not patched. Thanks for reporting this bug.

About moving code from the JCL unit to the JVCL unit, I really don't think this is a good idea, beacause a 3rd-party project that needed only the jcl would require the jvcl too after the modifications.


2005-04-22 05:34

administrator   ~0007037

Yep I agree, these functions should not even be there in the first place.
The J_V_CL uses the JCL, NOT the other way round.

Issue History

Date Modified Username Field Change
2005-03-12 01:40 anonymous New Issue
2005-04-12 05:18 obones Note Added: 0006935
2005-04-12 05:18 obones Status new => feedback
2005-04-12 22:30 anonymous Note Added: 0006989
2005-04-13 02:39 outchy Note Added: 0006994
2005-04-19 23:43 dejoy Note Added: 0007031
2005-04-20 12:49 outchy Note Added: 0007033
2005-04-22 05:34 obones Status feedback => resolved
2005-04-22 05:34 obones Resolution open => fixed
2005-04-22 05:34 obones Assigned To => obones
2005-04-22 05:34 obones Note Added: 0007037