diff options
author | joye <joye> | 2014-04-14 18:31:15 (GMT) |
---|---|---|
committer | joye <joye> | 2014-04-14 18:31:15 (GMT) |
commit | 8f0729b58e88a53c357f1e71f4c45b298e64902c (patch) | |
tree | ebfda8ae076894ef5a9b4a4ab6c125a5d042c498 /src/bltGrAxisOp.h | |
parent | 698b1d086a623bf2158f3f726d1367ed832df295 (diff) | |
download | blt-8f0729b58e88a53c357f1e71f4c45b298e64902c.zip blt-8f0729b58e88a53c357f1e71f4c45b298e64902c.tar.gz blt-8f0729b58e88a53c357f1e71f4c45b298e64902c.tar.bz2 |
*** empty log message ***
Diffstat (limited to 'src/bltGrAxisOp.h')
-rw-r--r-- | src/bltGrAxisOp.h | 33 |
1 files changed, 26 insertions, 7 deletions
diff --git a/src/bltGrAxisOp.h b/src/bltGrAxisOp.h index 63cc2d0..65cfd82 100644 --- a/src/bltGrAxisOp.h +++ b/src/bltGrAxisOp.h @@ -30,12 +30,33 @@ #ifndef __BltGrAxisOp_h__ #define __BltGrAxisOp_h__ -extern void Blt_ResetAxes(Graph* graphPtr); - -extern int Blt_AxisOp(Graph* graphPtr, Tcl_Interp* interp, +extern int AxisCgetOp(Tcl_Interp* interp, Axis* axisPtr, + int objc, Tcl_Obj* const objv[]); +extern int AxisConfigureOp(Tcl_Interp* interp, Axis* axisPtr, + int objc, Tcl_Obj* const objv[]); +extern int AxisActivateOp(Tcl_Interp* interp, Axis* axisPtr, + int objc, Tcl_Obj* const objv[]); +extern int AxisInvTransformOp(Tcl_Interp* interp, Axis* axisPtr, + int objc, Tcl_Obj* const objv[]); +extern int AxisLimitsOp(Tcl_Interp* interp, Axis* axisPtr, + int objc, Tcl_Obj* const objv[]); +extern int AxisMarginOp(Tcl_Interp* interp, Axis* axisPtr, + int objc, Tcl_Obj* const objv[]); +extern int AxisTransformOp(Tcl_Interp* interp, Axis* axisPtr, + int objc, Tcl_Obj* const objv[]); +extern int AxisTypeOp(Tcl_Interp* interp, Axis* axisPtr, + int objc, Tcl_Obj* const objv[]); +extern int AxisViewOp(Tcl_Interp* interp, Axis* axisPtr, int objc, Tcl_Obj* const objv[]); -extern int Blt_DefAxisOp(Tcl_Interp* interp, Graph* graphPtr, int margin, - int objc, Tcl_Obj* const objv[]); + +extern Tcl_FreeProc FreeAxis; +extern double AdjustViewport(double offset, double windowSize); +extern int GetAxisFromObj(Tcl_Interp* interp, Graph* graphPtr, Tcl_Obj *objPtr, + Axis **axisPtrPtr); +extern int AxisObjConfigure(Tcl_Interp* interp, Axis* axis, + int objc, Tcl_Obj* const objv[]); + +extern void Blt_ResetAxes(Graph* graphPtr); extern void Blt_MapAxes(Graph* graphPtr); extern void Blt_ConfigureAxes(Graph* graphPtr); extern void Blt_AdjustAxisPointers(Graph* graphPtr); @@ -43,12 +64,10 @@ extern void Blt_DestroyAxes(Graph* graphPtr); extern void Blt_DrawAxes(Graph* graphPtr, Drawable drawable); extern void Blt_DrawAxisLimits(Graph* graphPtr, Drawable drawable); extern void Blt_DrawGrids(Graph* graphPtr, Drawable drawable); -extern int Blt_CreateAxes(Graph* graphPtr); extern void Blt_UpdateAxisBackgrounds(Graph* graphPtr); extern void Blt_AxesToPostScript(Graph* graphPtr, Blt_Ps ps); extern void Blt_AxisLimitsToPostScript(Graph* graphPtr, Blt_Ps ps); extern void Blt_GridsToPostScript(Graph* graphPtr, Blt_Ps ps); - extern Axis *Blt_GetFirstAxis(Blt_Chain chain); extern Axis *Blt_NearestAxis(Graph* graphPtr, int x, int y); extern Point2d Blt_InvMap2D(Graph* graphPtr, double x, double y, |