This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Functions | |
| void | get_frame_in_pixel (integer WIRect[]) |
| void | get_cwindow_dims (int wdims[2]) |
| double | Zoom3d_XPi2R (int x) |
| double | Zoom3d_YPi2R (int y) |
| void get_cwindow_dims | ( | int | wdims[2] | ) |
| void get_frame_in_pixel | ( | integer | WIRect[] | ) |
Definition at line 596 of file Plo2dEch.c.
References Cscale, and wcscalelist::WIRect1.
00597 { 00598 /* ajout bruno */ 00599 WIRect[0] = Cscale.WIRect1[0]; 00600 WIRect[1] = Cscale.WIRect1[1]; 00601 WIRect[2] = Cscale.WIRect1[0] + Cscale.WIRect1[2]; 00602 WIRect[3] = Cscale.WIRect1[1] + Cscale.WIRect1[3]; 00603 }
| double Zoom3d_XPi2R | ( | int | x | ) |
Definition at line 1684 of file Plo2dEch.c.
References sciSubWindow::axes, Cscale, wcscalelist::frect, pSUBWIN_FEATURE, AXES::reverse, sciGetCurrentSubWin(), sciprint(), TRUE, wcscalelist::Wscx1, and wcscalelist::Wxofset1.
01685 { 01686 /*F.Leray 12.10.04 : MODIF named scale_modification*/ 01687 sciPointObj *pobj = sciGetCurrentSubWin(); 01688 sciSubWindow * ppsubwin = pSUBWIN_FEATURE (pobj); 01689 01690 if(ppsubwin->axes.reverse[0]==TRUE) /* difference is HERE */ 01691 return Cscale.frect[2] - (1.0/Cscale.Wscx1)*((x) - Cscale.Wxofset1); 01692 else 01693 return Cscale.frect[0] + (1.0/Cscale.Wscx1)*((x) - Cscale.Wxofset1); 01694 01695 01696 sciprint("Error in Zoom3d_XScale\n"); 01697 return -9000; 01698 }
Here is the call graph for this function:

| double Zoom3d_YPi2R | ( | int | y | ) |
Definition at line 1701 of file Plo2dEch.c.
References sciSubWindow::axes, Cscale, wcscalelist::frect, pSUBWIN_FEATURE, AXES::reverse, sciGetCurrentSubWin(), sciprint(), TRUE, wcscalelist::Wscy1, and wcscalelist::Wyofset1.
01702 { 01703 /*F.Leray 12.10.04 : MODIF named scale_modification*/ 01704 01705 sciPointObj *pobj = sciGetCurrentSubWin(); 01706 sciSubWindow * ppsubwin = pSUBWIN_FEATURE (pobj); 01707 01708 if(ppsubwin->axes.reverse[1]==TRUE) /* difference is HERE */ 01709 return Cscale.frect[1] + (1.0/Cscale.Wscy1)*((y) - Cscale.Wyofset1); 01710 else 01711 return Cscale.frect[3] - (1.0/Cscale.Wscy1)*((y) - Cscale.Wyofset1); 01712 01713 01714 01715 sciprint("Error in Zoom3d_YScale\n"); 01716 return -9000; 01717 }
Here is the call graph for this function:

1.5.1