View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002744 | JEDI VCL | 00 JVCL Components | public | 2005-03-12 01:40 | 2005-04-22 05:34 |
Reporter | anonymous | Assigned To | obones | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | |||||
Target Version | Fixed in Version | 3.10 | |||
Summary | 0002744: about rect function in jclGraphUtils and JvJvclUtils | ||||
Description | The function RectWidth and RectHeight must be Normalize first.Can move the rect and point functions from jclGraphUtils toJvJVCLUtils unit? thanks! | ||||
Tags | No tags attached. | ||||
|
What? What exactly do you want and why do you want it? |
|
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? |
|
Which version of the JCL are you using ? In the current version, the result is the absolute value of the difference. |
|
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. |
|
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. |
|
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. |
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 |