View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000362 | Open CASCADE | OCCT:Modeling Algorithms | public | 2002-05-14 12:46 | 2006-06-29 09:15 |
| Reporter | bugmaster | Assigned To | bugmaster | ||
| Priority | normal | Severity | trivial | ||
| Status | closed | Resolution | fixed | ||
| OS | All | ||||
| Fixed in Version | 5.0.0 | ||||
| Summary | 0000362: CSR n°BUC60997. Command wzoom in Draw works incorrectly. | ||||
| Description | After executing of the command wzoom the draw window shows fragment other tha n that was selected. The cause of that is the zoom factor (zx) is casted to S tandard_Integer before multiplication of integer coords X1, Y1: X1 *= (Stan dard_Integer ) zx; Y1 *= (Standard_Integer ) zx; The correct variant is: X1 = (Standard_Integer ) X1*zx; Y1 = (Standard_Integer ) Y1*zx; IMPORTANT!!! I t is impossible to use the current version of wzoom. The performance of debug process and other kinds of activities in Draw would be much better with the correct work of wzoom. | ||||
| Tags | No tags attached. | ||||
| Test case number | |||||