#include "ObjectStructure.h"Include dependency graph for getHandleProperty.h:

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

Go to the source code of this file.
| int get_alignment_property | ( | sciPointObj * | pobj | ) |
Definition at line 15 of file get_alignment_property.c.
References ALIGN_CENTER, ALIGN_LEFT, ALIGN_RIGHT, SCI_TEXT, sciGetAlignment(), sciGetEntityType(), sciprint(), and sciReturnString().
00016 { 00017 if ( sciGetEntityType( pobj ) == SCI_TEXT ) 00018 { 00019 switch ( sciGetAlignment( pobj ) ) 00020 { 00021 case ALIGN_LEFT : 00022 return sciReturnString("left") ; 00023 break; 00024 case ALIGN_RIGHT: 00025 return sciReturnString("right") ; 00026 break ; 00027 case ALIGN_CENTER: 00028 return sciReturnString("center"); 00029 break ; 00030 default: 00031 sciprint("error accessing alignment property.\n"); 00032 return -1 ; 00033 } 00034 } 00035 sciprint("alignment property does not exist for this handle.\n"); 00036 return -1 ; 00037 00038 }
Here is the call graph for this function:

| int get_arrow_size_factor_property | ( | sciPointObj * | pobj | ) |
Definition at line 15 of file get_arrow_size_factor_property.c.
References pPOLYLINE_FEATURE, SCI_POLYLINE, sciGetEntityType(), sciprint(), and sciReturnDouble().
00016 { 00017 if( sciGetEntityType(pobj) != SCI_POLYLINE) 00018 { 00019 sciprint( "arrow_size_factor does not exist for this handle.\n" ) ; 00020 return -1 ; 00021 } 00022 return sciReturnDouble( pPOLYLINE_FEATURE(pobj)->arsize_factor ) ; 00023 }
Here is the call graph for this function:

| int get_arrow_size_property | ( | sciPointObj * | pobj | ) |
Definition at line 15 of file get_arrow_size_property.c.
References pSEGS_FEATURE, SCI_SEGS, sciGetEntityType(), sciprint(), and sciReturnDouble().
00016 { 00017 if ( sciGetEntityType(pobj) != SCI_SEGS ) 00018 { 00019 sciprint("arrow_size property does not exist for this handle.\n") ; 00020 return -1 ; 00021 } 00022 return sciReturnDouble( pSEGS_FEATURE (pobj)->arrowsize ) ; 00023 }
Here is the call graph for this function:

| int get_auto_clear_property | ( | sciPointObj * | pobj | ) |
Definition at line 15 of file get_auto_clear_property.c.
References SCI_FIGURE, SCI_SUBWIN, sciGetAddPlot(), sciGetEntityType(), sciprint(), and sciReturnString().
00016 { 00017 if ( sciGetEntityType(pobj) != SCI_SUBWIN 00018 && sciGetEntityType(pobj) != SCI_FIGURE ) 00019 { 00020 sciprint("auto_clear property does not exist for this handle\n.") ; 00021 return -1 ; 00022 } 00023 00024 if (!sciGetAddPlot((sciPointObj *)pobj)) 00025 { 00026 return sciReturnString( "on" ) ; 00027 } 00028 else 00029 { 00030 return sciReturnString( "off" ) ; 00031 } 00032 }
Here is the call graph for this function:

| int get_auto_dimensionning_property | ( | sciPointObj * | pobj | ) |
Definition at line 15 of file get_auto_dimensionning_property.c.
References SCI_TEXT, sciGetAutoSize(), sciGetEntityType(), sciprint(), and sciReturnString().
00016 { 00017 if ( sciGetEntityType( pobj ) == SCI_TEXT ) 00018 { 00019 if ( sciGetAutoSize( pobj ) ) 00020 { 00021 return sciReturnString( "on" ) ; 00022 } 00023 else 00024 { 00025 return sciReturnString( "off" ) ; 00026 } 00027 } 00028 sciprint("auto_dimensionning property does not exist for this handle.\n") ; 00029 return -1 ; 00030 }
Here is the call graph for this function:

| int get_auto_position_property | ( | sciPointObj * | pobj | ) |
Definition at line 15 of file get_auto_position_property.c.
References SCI_LABEL, sciGetAutoPosition(), sciGetEntityType(), sciprint(), and sciReturnString().
00016 { 00017 if( sciGetEntityType(pobj) != SCI_LABEL ) 00018 { 00019 sciprint("auto_position does not exist for this handle.\n") ; 00020 return -1 ; 00021 } 00022 00023 if ( sciGetAutoPosition(pobj) ) 00024 { 00025 return sciReturnString( "on" ) ; 00026 } 00027 else 00028 { 00029 return sciReturnString( "off" ) ; 00030 } 00031 }
Here is the call graph for this function:

| int get_auto_resize_property | ( | sciPointObj * | pobj | ) |
Definition at line 15 of file get_auto_resize_property.c.
References sciGetResize(), and sciReturnString().
00016 { 00017 if ( sciGetResize( pobj ) ) 00018 { 00019 return sciReturnString( "on" ) ; 00020 } 00021 else 00022 { 00023 return sciReturnString( "off" ) ; 00024 } 00025 }
Here is the call graph for this function:

| int get_auto_rotation_property | ( | sciPointObj * | pobj | ) |
Definition at line 15 of file get_auto_rotation_property.c.
References SCI_LABEL, sciGetAutoRotation(), sciGetEntityType(), sciprint(), and sciReturnString().
00016 { 00017 if( sciGetEntityType(pobj) != SCI_LABEL ) 00018 { 00019 sciprint("auto_rotation does not exist for this handle.\n") ; 00020 return -1 ; 00021 } 00022 00023 if ( sciGetAutoRotation(pobj) ) 00024 { 00025 return sciReturnString( "on" ) ; 00026 } 00027 else 00028 { 00029 return sciReturnString( "off" ) ; 00030 } 00031 }
Here is the call graph for this function:

| int get_auto_scale_property | ( | sciPointObj * | pobj | ) |
Definition at line 14 of file get_auto_scale_property.c.
References sciGetAutoScale(), and sciReturnString().
00015 { 00016 if ( sciGetAutoScale( pobj ) ) 00017 { 00018 return sciReturnString( "on" ) ; 00019 } 00020 else 00021 { 00022 return sciReturnString( "off" ) ; 00023 } 00024 00025 }
Here is the call graph for this function:

| int get_auto_ticks_property | ( | sciPointObj * | pobj | ) |
Definition at line 16 of file get_auto_ticks_property.c.
References FREE, i, j, MALLOC, NULL, pSUBWIN_FEATURE, SCI_SUBWIN, sciGetEntityType(), sciprint(), and sciReturnRowStringVector().
00017 { 00018 00019 char * auto_ticks[3] = { NULL, NULL, NULL } ; 00020 int i ; 00021 int status = -1 ; 00022 00023 if ( sciGetEntityType (pobj) != SCI_SUBWIN ) 00024 { 00025 sciprint("auto_ticks property does not exist for this handle.\n") ; 00026 return -1 ; 00027 } 00028 00029 for ( i = 0 ; i < 3 ; i++ ) 00030 { 00031 auto_ticks[i] = MALLOC( 4 * sizeof(char) ) ; 00032 if ( auto_ticks[i] == NULL ) 00033 { 00034 int j ; 00035 for ( j = 0 ; j < i ; j++ ) 00036 { 00037 FREE( auto_ticks[j] ) ; 00038 sciprint("Not enough memory to display ticks.\n") ; 00039 return -1 ; 00040 } 00041 } 00042 if ( pSUBWIN_FEATURE (pobj)->axes.auto_ticks[i] ) 00043 { 00044 strcpy( auto_ticks[i], "on" ) ; 00045 } 00046 else 00047 { 00048 strcpy( auto_ticks[i], "off" ) ; 00049 } 00050 } 00051 00052 status = sciReturnRowStringVector( auto_ticks, 3 ) ; 00053 00054 for ( i = 0 ; i < 3 ; i++ ) 00055 { 00056 FREE( auto_ticks[i] ) ; 00057 } 00058 00059 return status ; 00060 00061 }
Here is the call graph for this function:

| int get_axes_bounds_property | ( | sciPointObj * | pobj | ) |
Definition at line 15 of file get_axes_bounds_property.c.
References pSUBWIN_FEATURE, SCI_SUBWIN, sciGetEntityType(), sciprint(), and sciReturnRowVector().
00016 { 00017 00018 if ( sciGetEntityType(pobj) != SCI_SUBWIN ) 00019 { 00020 sciprint("axes_bounds property does not exist for this handle.\n") ; 00021 return -1 ; 00022 } 00023 00024 return sciReturnRowVector( pSUBWIN_FEATURE (pobj)->WRect, 4 ) ; 00025 }
Here is the call graph for this function:

| int get_axes_reverse_property | ( | sciPointObj * | pobj | ) |
Definition at line 16 of file get_axes_reverse_property.c.
References FREE, i, j, MALLOC, NULL, pSUBWIN_FEATURE, SCI_SUBWIN, sciGetEntityType(), sciprint(), and sciReturnRowStringVector().
00017 { 00018 00019 char * axes_reverse[3] = { NULL, NULL, NULL } ; 00020 int i ; 00021 int status = -1 ; 00022 00023 if ( sciGetEntityType (pobj) != SCI_SUBWIN ) 00024 { 00025 sciprint("axes_reverse property does not exist for this handle.\n") ; 00026 return -1 ; 00027 } 00028 00029 for ( i = 0 ; i < 3 ; i++ ) 00030 { 00031 axes_reverse[i] = MALLOC( 4 * sizeof(char) ) ; 00032 if ( axes_reverse[i] == NULL ) 00033 { 00034 int j ; 00035 for ( j = 0 ; j < i ; j++ ) 00036 { 00037 FREE( axes_reverse[j] ) ; 00038 sciprint("Not enough memory to display vector.\n") ; 00039 return -1 ; 00040 } 00041 } 00042 if ( pSUBWIN_FEATURE (pobj)->axes.reverse[i] ) 00043 { 00044 strcpy( axes_reverse[i], "on" ) ; 00045 } 00046 else 00047 { 00048 strcpy( axes_reverse[i], "off" ) ; 00049 } 00050 } 00051 00052 status = sciReturnRowStringVector( axes_reverse, 3 ) ; 00053 00054 for ( i = 0 ; i < 3 ; i++ ) 00055 { 00056 FREE( axes_reverse[i] ) ; 00057 } 00058 00059 return status ; 00060 }
Here is the call graph for this function:

| int get_axes_size_property | ( | sciPointObj * | pobj | ) |
Definition at line 17 of file get_axes_size_property.c.
References getFigureModel(), pFIGURE_FEATURE, SCI_FIGURE, sciGetEntityType(), sciGetHeight(), sciGetWidth(), sciprint(), and sciReturnRowVector().
00018 { 00019 double axesSize[2] ; 00020 00021 if ( sciGetEntityType (pobj) != SCI_FIGURE ) 00022 { 00023 sciprint( "axes_size property undefined for this object" ) ; 00024 return -1; 00025 } 00026 00027 if ((sciPointObj *) pobj != getFigureModel()) 00028 { 00029 axesSize[0] = sciGetWidth( pobj ) ; 00030 axesSize[1] = sciGetHeight( pobj ) ; 00031 } 00032 else 00033 { 00034 axesSize[0] = pFIGURE_FEATURE(pobj)->windowdimwidth; 00035 axesSize[1] = pFIGURE_FEATURE(pobj)->windowdimheight; 00036 } 00037 00038 return sciReturnRowVector( axesSize, 2 ) ; 00039 00040 }
Here is the call graph for this function:

| int get_axes_visible_property | ( | sciPointObj * | pobj | ) |
Definition at line 16 of file get_axes_visible_property.c.
References FREE, i, j, MALLOC, NULL, pSUBWIN_FEATURE, SCI_SUBWIN, sciGetEntityType(), sciprint(), and sciReturnRowStringVector().
00017 { 00018 00019 char * axes_visible[3] = { NULL, NULL, NULL } ; 00020 int i ; 00021 int status = -1 ; 00022 00023 if ( sciGetEntityType (pobj) != SCI_SUBWIN ) 00024 { 00025 sciprint("axes_visible property does not exist for this handle.\n") ; 00026 return -1 ; 00027 } 00028 00029 for ( i = 0 ; i < 3 ; i++ ) 00030 { 00031 axes_visible[i] = MALLOC( 4 * sizeof(char) ) ; 00032 if ( axes_visible[i] == NULL ) 00033 { 00034 int j ; 00035 for ( j = 0 ; j < i ; j++ ) 00036 { 00037 FREE( axes_visible[j] ) ; 00038 sciprint("Not enough memory to display vector.\n") ; 00039 return -1 ; 00040 } 00041 } 00042 if ( pSUBWIN_FEATURE (pobj)->axes.axes_visible[i] ) 00043 { 00044 strcpy( axes_visible[i], "on" ) ; 00045 } 00046 else 00047 { 00048 strcpy( axes_visible[i], "off" ) ; 00049 } 00050 } 00051 00052 status = sciReturnRowStringVector( axes_visible, 3 ) ; 00053 00054 for ( i = 0 ; i < 3 ; i++ ) 00055 { 00056 FREE( axes_visible[i] ) ; 00057 } 00058 00059 return status ; 00060 }
Here is the call graph for this function:

| int get_background_property | ( | sciPointObj * | pobj | ) |
Definition at line 14 of file get_background_property.c.
References sciGetBackgroundToDisplay(), and sciReturnDouble().
00015 { 00016 return sciReturnDouble( sciGetBackgroundToDisplay( pobj ) ) ; 00017 }
Here is the call graph for this function:

| int get_bar_layout_property | ( | sciPointObj * | pobj | ) |
Definition at line 15 of file get_bar_layout_property.c.
References pPOLYLINE_FEATURE, SCI_POLYLINE, sciGetEntityType(), sciprint(), and sciReturnString().
00016 { 00017 if ( sciGetEntityType (pobj) == SCI_POLYLINE ) 00018 { 00019 if( pPOLYLINE_FEATURE (pobj)->bar_layout == 0 ) 00020 { 00021 /* 0 grouped; 1 stacked */ 00022 return sciReturnString( "grouped" ) ; 00023 } 00024 else 00025 { 00026 return sciReturnString( "stacked" ) ; 00027 } 00028 } 00029 else 00030 { 00031 sciprint( "bar_layout property does not exist for this handle.\n" ) ; 00032 return -1 ; 00033 } 00034 }
Here is the call graph for this function:

| int get_bar_width_property | ( | sciPointObj * | pobj | ) |
Definition at line 15 of file get_bar_width_property.c.
References pPOLYLINE_FEATURE, SCI_POLYLINE, sciGetEntityType(), sciprint(), and sciReturnDouble().
00016 { 00017 if ( sciGetEntityType (pobj) == SCI_POLYLINE ) 00018 { 00019 return sciReturnDouble( pPOLYLINE_FEATURE (pobj)->bar_width ) ; 00020 } 00021 else 00022 { 00023 sciprint("bar_with property does not exist for this handle.\n"); 00024 return -1 ; 00025 } 00026 }
Here is the call graph for this function:

| int get_box_property | ( | sciPointObj * | pobj | ) |
Definition at line 15 of file get_box_property.c.
References BT_BACK_HALF, BT_HIDDEN_AXIS, BT_OFF, BT_ON, SCI_SUBWIN, sciGetBoxType(), sciGetEntityType(), sciGetIsBoxed(), and sciReturnString().
00016 { 00017 if ( sciGetEntityType ( pobj ) == SCI_SUBWIN ) 00018 { 00019 switch( sciGetBoxType( pobj ) ) 00020 { 00021 case BT_OFF: 00022 return sciReturnString( "off" ) ; 00023 break ; 00024 case BT_ON: 00025 return sciReturnString( "on" ) ; 00026 break ; 00027 case BT_HIDDEN_AXIS: 00028 return sciReturnString( "hidden_axis" ) ; 00029 break ; 00030 case BT_BACK_HALF: 00031 return sciReturnString( "back_half" ) ; 00032 break ; 00033 } 00034 } 00035 else 00036 { 00037 if ( sciGetIsBoxed(pobj) ) 00038 { 00039 return sciReturnString( "on" ) ; 00040 } 00041 else 00042 { 00043 return sciReturnString( "off" ) ; 00044 } 00045 } 00046 return -1 ; 00047 }
Here is the call graph for this function:

| int get_callback_property | ( | sciPointObj * | pobj | ) |
Definition at line 14 of file get_callback_property.c.
References sciGetCallback(), and sciReturnString().
00015 { 00016 return sciReturnString( sciGetCallback( pobj ) ) ; 00017 }
Here is the call graph for this function:

| int get_callback_type_property | ( | sciPointObj * | pobj | ) |
Definition at line 15 of file get_callback_type_property.c.
References pUIMENU_FEATURE, SCI_UIMENU, sciGetEntityType(), sciprint(), and sciReturnString().
00016 { 00017 if (sciGetEntityType (pobj) != SCI_UIMENU) 00018 { 00019 sciprint("callback_type property does not exist for this handle.\n"); 00020 return -1; 00021 } 00022 switch (pUIMENU_FEATURE(pobj)->CallbackType) 00023 { 00024 case -1: 00025 return sciReturnString( "disable" ) ; 00026 break; 00027 case 0: 00028 return sciReturnString( "string" ) ; 00029 break; 00030 case 1: 00031 return sciReturnString( "C" ) ; 00032 break; 00033 case 2: 00034 return sciReturnString( "internal" ) ; 00035 break; 00036 case 3: 00037 return sciReturnString( "addmenu" ) ; 00038 break; 00039 default: 00040 sciprint("unknow callbak type\n"); 00041 return -1; 00042 break; 00043 } 00044 00045 }
Here is the call graph for this function:

| int get_callbackmevent_property | ( | sciPointObj * | pobj | ) |
Definition at line 14 of file get_callbackmevent_property.c.
References sciGetCallbackMouseEvent(), and sciReturnInt().
00015 { 00016 return sciReturnInt( sciGetCallbackMouseEvent( pobj ) ) ; 00017 }
Here is the call graph for this function:

| int get_cdata_mapping_property | ( | sciPointObj * | pobj | ) |
Definition at line 15 of file get_cdata_mapping_property.c.
References pSURFACE_FEATURE, SCI_FAC3D, SCI_SURFACE, sciGetEntityType(), sciprint(), and sciReturnString().
00016 { 00017 if ( sciGetEntityType (pobj) != SCI_SURFACE ) 00018 { 00019 sciprint("cdata_mapping property does not exist for this handle.\n"); 00020 return -1; 00021 } 00022 if ( pSURFACE_FEATURE (pobj)->typeof3d != SCI_FAC3D ) 00023 { 00024 sciprint("cdata_mapping property only exists for Fac3d surfaces.\n"); 00025 return -1; 00026 } 00027 00028 if( pSURFACE_FEATURE(pobj)->cdatamapping == 0 ) 00029 { 00030 /* scaled mode */ 00031 return sciReturnString( "scaled" ) ; 00032 } 00033 else if( pSURFACE_FEATURE (pobj)->cdatamapping == 1 ) 00034 { 00035 /* direct mode */ 00036 return sciReturnString( "direct" ) ; 00037 } 00038 00039 return -1 ; 00040 00041 }
Here is the call graph for this function:

| int get_children_property | ( | sciPointObj * | pobj | ) |
Definition at line 16 of file get_children_property.c.
References FREE, MALLOC, NULL, tagSons::pointobj, sciGetFirstAccessibleSon(), sciGetHandle(), sciGetNbAccessibleChildren(), sciGetNextAccessibleSon(), sciprint(), sciReturnColHandleVector(), and sciReturnEmptyMatrix().
00017 { 00018 sciSons * curSon = NULL ; 00019 int nbChildren = sciGetNbAccessibleChildren( pobj ) ; 00020 00021 if ( nbChildren == 0 ) 00022 { 00023 return sciReturnEmptyMatrix() ; 00024 } 00025 else 00026 { 00027 int index_ = 0 ; 00028 int status = -1 ; 00029 long * children = NULL ; 00030 00031 children = MALLOC( nbChildren * sizeof(long) ) ; 00032 if ( children == NULL ) 00033 { 00034 sciprint("Error returning children vector, memory full.\n") ; 00035 return -1 ; 00036 } 00037 00038 curSon = sciGetFirstAccessibleSon( pobj ) ; 00039 while ( curSon != NULL && curSon->pointobj != NULL ) 00040 { 00041 children[index_] = sciGetHandle( curSon->pointobj ) ; 00042 index_++ ; 00043 curSon = sciGetNextAccessibleSon( curSon ) ; 00044 } 00045 status = sciReturnColHandleVector( children, nbChildren ) ; 00046 00047 FREE( children ) ; 00048 00049 return status ; 00050 } 00051 }
Here is the call graph for this function:

| int get_clip_box_property | ( | sciPointObj * | pobj | ) |
Definition at line 14 of file get_clip_box_property.c.
References sciGetClipping(), sciGetIsClipping(), sciReturnEmptyMatrix(), and sciReturnRowVector().
00015 { 00016 if ( sciGetIsClipping ( pobj ) > 0 ) 00017 { 00018 return sciReturnRowVector( sciGetClipping( pobj ), 4 ) ; 00019 } 00020 else 00021 { 00022 return sciReturnEmptyMatrix() ; 00023 } 00024 }
Here is the call graph for this function:

| int get_clip_state_property | ( | sciPointObj * | pobj | ) |
Definition at line 14 of file get_clip_state_property.c.
References sciGetIsClipping(), and sciReturnString().
00015 { 00016 if ( sciGetIsClipping (pobj) == 0 ) 00017 { 00018 return sciReturnString( "clipgrf" ) ; 00019 } 00020 else if ( sciGetIsClipping (pobj) > 0 ) 00021 { 00022 return sciReturnString( "on" ) ; 00023 } 00024 else 00025 { 00026 return sciReturnString( "off" ) ; 00027 } 00028 }
Here is the call graph for this function:

| int get_closed_property | ( | sciPointObj * | pobj | ) |
Definition at line 15 of file get_closed_property.c.
References pPOLYLINE_FEATURE, SCI_POLYLINE, sciGetEntityType(), sciprint(), and sciReturnString().
00016 { 00017 if(sciGetEntityType(pobj) != SCI_POLYLINE) 00018 { 00019 sciprint("closed property does not exist for this handle.\n") ; 00020 return -1 ; 00021 } 00022 00023 if ( pPOLYLINE_FEATURE(pobj)->closed == 1 ) 00024 { 00025 return sciReturnString( "on" ) ; 00026 } 00027 else 00028 { 00029 return sciReturnString( "off" ) ; 00030 } 00031 }
Here is the call graph for this function:

| int get_color_flag_property | ( | sciPointObj * | pobj | ) |
Definition at line 15 of file get_color_flag_property.c.
References pSURFACE_FEATURE, SCI_SURFACE, sciGetEntityType(), sciprint(), and sciReturnDouble().
00016 { 00017 if (sciGetEntityType (pobj) != SCI_SURFACE) 00018 { 00019 sciprint("color_flag property does not exist for this handle.\n") ; 00020 return -1 ; 00021 } 00022 00023 return sciReturnDouble( pSURFACE_FEATURE(pobj)->flagcolor ) ; 00024 }
Here is the call graph for this function:

| int get_color_map_property | ( | sciPointObj * | pobj | ) |
Definition at line 15 of file get_color_map_property.c.
References pFIGURE_FEATURE, SCI_FIGURE, sciGetEntityType(), sciGetNumColors(), sciprint(), and sciReturnMatrix().
00016 { 00017 if ( sciGetEntityType( pobj ) != SCI_FIGURE ) 00018 { 00019 sciprint("color_map property does not exist for this handle.\n"); 00020 return -1; 00021 } 00022 return sciReturnMatrix( pFIGURE_FEATURE(pobj)->pcolormap, sciGetNumColors( pobj ), 3 ) ; 00023 }
Here is the call graph for this function:

| int get_color_mode_property | ( | sciPointObj * | pobj | ) |
Definition at line 15 of file get_color_mode_property.c.
References pSURFACE_FEATURE, SCI_SURFACE, sciGetEntityType(), sciprint(), and sciReturnDouble().
00016 { 00017 if ( sciGetEntityType (pobj) != SCI_SURFACE ) 00018 { 00019 sciprint("color_mode property does not exist for this handle.\n") ; 00020 return -1; 00021 } 00022 return sciReturnDouble( pSURFACE_FEATURE (pobj)->flag[0] ) ; 00023 }
Here is the call graph for this function:

| int get_colored_property | ( | sciPointObj * | pobj | ) |
Definition at line 15 of file get_colored_property.c.
References pSEGS_FEATURE, SCI_SEGS, sciGetEntityType(), sciprint(), and sciReturnString().
00016 { 00017 if ( sciGetEntityType(pobj) != SCI_SEGS || pSEGS_FEATURE (pobj)->ptype == 0 ) 00018 { 00019 sciprint("colored property does not exist for this handle.\n") ; 00020 return -1 ; 00021 } 00022 00023 if ( pSEGS_FEATURE (pobj)->typeofchamp == 1 ) 00024 { 00025 return sciReturnString( "on" ) ; 00026 } 00027 else 00028 { 00029 return sciReturnString( "off" ) ; 00030 } 00031 00032 }
Here is the call graph for this function:

| int get_cube_scaling_property | ( | sciPointObj * | pobj | ) |
Definition at line 15 of file get_cube_scaling_property.c.
References pSUBWIN_FEATURE, SCI_SUBWIN, sciGetEntityType(), sciprint(), and sciReturnString().
00016 { 00017 if ( sciGetEntityType (pobj) != SCI_SUBWIN ) 00018 { 00019 sciprint("cube_scaling property does not exist for this handle.\n") ; 00020 return -1 ; 00021 } 00022 if ( pSUBWIN_FEATURE(pobj)->cube_scaling ) 00023 { 00024 return sciReturnString( "on" ) ; 00025 } 00026 else 00027 { 00028 return sciReturnString( "off" ) ; 00029 } 00030 }
Here is the call graph for this function:

| int get_current_axes_property | ( | sciPointObj * | pobj | ) |
Definition at line 15 of file get_current_axes_property.c.
References sciGetCurrentSubWin(), sciGetHandle(), and sciReturnHandle().
00016 { 00017 return sciReturnHandle( sciGetHandle( sciGetCurrentSubWin() ) ) ; 00018 }
Here is the call graph for this function:

| int get_current_entity_property | ( | sciPointObj * | pobj | ) |
Definition at line 15 of file get_current_entity_property.c.
References sciGetCurrentObj(), sciGetHandle(), and sciReturnHandle().
00016 { 00017 return sciReturnHandle( sciGetHandle(sciGetCurrentObj()) ) ; 00018 }
Here is the call graph for this function:

| int get_current_figure_property | ( | sciPointObj * | pobj | ) |
Definition at line 22 of file get_current_figure_property.c.
References C2F, get_cf_type(), GetTclCurrentFigure(), sciGetCurrentFigure(), sciGetHandle(), sciReturnDouble(), sciReturnEmptyMatrix(), sciReturnHandle(), and sciwin().
00023 { 00024 00025 if ( get_cf_type() == 1 ) 00026 { 00027 /* graphic window */ 00028 C2F(sciwin)() ; 00029 /* return handle on the current figure */ 00030 return sciReturnHandle( sciGetHandle( sciGetCurrentFigure() ) ) ; 00031 } 00032 else 00033 { 00034 00035 #ifdef WITH_TK 00036 return sciReturnDouble( (double)GetTclCurrentFigure() ) ; 00037 #else 00038 return sciReturnEmptyMatrix() ; 00039 #endif 00040 } 00041 00042 00043 }
Here is the call graph for this function:

| int get_data_bounds_property | ( | sciPointObj * | pobj | ) |
Definition at line 15 of file get_data_bounds_property.c.
References pSUBWIN_FEATURE, pSURFACE_FEATURE, SCI_SUBWIN, SCI_SURFACE, sciGetEntityType(), sciGetIs3d(), sciprint(), and sciReturnMatrix().
00016 { 00017 00018 if ( sciGetEntityType(pobj) == SCI_SUBWIN ) 00019 { 00021 if ( sciGetIs3d( pobj ) ) 00022 { 00023 return sciReturnMatrix( pSUBWIN_FEATURE (pobj)->SRect, 2, 3 ) ; 00024 } 00025 else 00026 { 00027 return sciReturnMatrix( pSUBWIN_FEATURE (pobj)->SRect, 2, 2 ) ; 00028 } 00029 } 00030 else if ( sciGetEntityType (pobj) == SCI_SURFACE ) 00031 { 00032 /* used for what ? F.Leray 20.04.05 */ 00033 return sciReturnMatrix( pSURFACE_FEATURE (pobj)->ebox, 3, 2 ) ; 00034 } 00035 else 00036 { 00037 sciprint("data_bounds property does not exist for this handle.\n"); 00038 return -1; 00039 } 00040 00041 }
Here is the call graph for this function:

| int get_data_mapping_property | ( | sciPointObj * | pobj | ) |
Definition at line 15 of file get_data_mapping_property.c.
References pGRAYPLOT_FEATURE, SCI_GRAYPLOT, sciGetEntityType(), sciprint(), and sciReturnString().
00016 { 00017 if (sciGetEntityType (pobj) != SCI_GRAYPLOT) 00018 { 00019 sciprint("data_mapping property does not exist for this handle.\n"); 00020 return -1; 00021 } 00022 00023 return sciReturnString( pGRAYPLOT_FEATURE(pobj)->datamapping ) ; 00024 00025 }
Here is the call graph for this function:

| int get_data_property | ( | sciPointObj * | pobj | ) |
Definition at line 141 of file get_data_property.c.
References data, FREE, get3ddata(), getchampdata(), getgrayplotdata(), pGRAYPLOT_FEATURE, pSEGS_FEATURE, SCI_GRAYPLOT, SCI_SEGS, SCI_SURFACE, sciGetEntityType(), sciGetPoint(), sciReturnMatrix(), and type.
00142 { 00143 00144 if ( sciGetEntityType( pobj ) == SCI_SURFACE ) 00145 { 00146 return get3ddata( pobj ) ; 00147 } 00148 else if ( (sciGetEntityType(pobj) == SCI_SEGS) && (pSEGS_FEATURE(pobj)->ptype == 1) ) 00149 { 00150 return getchampdata( pobj ) ; 00151 } 00152 else if ( (sciGetEntityType(pobj) == SCI_GRAYPLOT) && (pGRAYPLOT_FEATURE(pobj)->type == 0) ) /* case 0: real grayplot */ 00153 { 00154 return getgrayplotdata( pobj ) ; 00155 } 00156 else /* F.Leray 02.05.05 : "data" case for others (using sciGetPoint routine inside GetProperty.c) */ 00157 { 00158 int nbRow = 0 ; 00159 int nbCol = 0 ; 00160 int status = -1 ; 00161 /* Warning the following function allocate data */ 00162 double * data = sciGetPoint( pobj, &nbRow, &nbCol ) ; 00163 00164 status = sciReturnMatrix( data, nbRow, nbCol ) ; 00165 00166 FREE( data ) ; 00167 00168 return status ; 00169 } 00170 00171 }
Here is the call graph for this function:

| int get_default_axes_property | ( | sciPointObj * | pobj | ) |
Definition at line 16 of file get_default_axes_property.c.
References getAxesModel(), NULL, sciGetHandle(), sciprint(), and sciReturnHandle().
00017 { 00018 if ( getAxesModel() != NULL ) 00019 { 00020 return sciReturnHandle( sciGetHandle( getAxesModel() ) ) ; 00021 } 00022 else 00023 { 00024 sciprint("Default axes do not exist."); 00025 return -1; 00026 } 00027 }
Here is the call graph for this function:

| int get_default_figure_property | ( | sciPointObj * | pobj | ) |
Definition at line 16 of file get_default_figure_property.c.
References getFigureModel(), NULL, sciGetHandle(), sciprint(), and sciReturnHandle().
00017 { 00018 if ( getFigureModel() != NULL ) 00019 { 00020 return sciReturnHandle( sciGetHandle(getFigureModel()) ) ; 00021 } 00022 else 00023 { 00024 sciprint("Default figure does not exist.\n"); 00025 return -1; 00026 } 00027 }
Here is the call graph for this function:

| int get_figure_id_property | ( | sciPointObj * | pobj | ) |
Definition at line 15 of file get_figure_id_property.c.
References sciGetNum(), and sciReturnInt().
00016 { 00017 return sciReturnInt( sciGetNum( pobj ) ) ; 00018 }
Here is the call graph for this function:

| int get_figure_name_property | ( | sciPointObj * | pobj | ) |
Definition at line 15 of file get_figure_name_property.c.
References SCI_FIGURE, sciGetEntityType(), sciGetName(), sciprint(), and sciReturnString().
00016 { 00017 if ( sciGetEntityType(pobj) != SCI_FIGURE ) 00018 { 00019 sciprint("figure_name property undefined for this object") ; 00020 return -1; 00021 } 00022 return sciReturnString( sciGetName( pobj ) ) ; 00023 00024 }
Here is the call graph for this function:

| int get_figure_position_property | ( | sciPointObj * | pobj | ) |
Definition at line 17 of file get_figure_position_property.c.
References getFigureModel(), pFIGURE_FEATURE, SCI_FIGURE, sciGetEntityType(), sciGetScreenPosition(), sciprint(), and sciReturnRowVector().
00018 { 00019 double figurePos[2] ; 00020 00021 if ( sciGetEntityType (pobj) != SCI_FIGURE ) 00022 { 00023 sciprint("figure_position property undefined for this object" ) ; 00024 return -1; 00025 } 00026 00027 if ( pobj != getFigureModel()) 00028 { 00029 int posX ; 00030 int posY ; 00031 sciGetScreenPosition( pobj, &posX, &posY ) ; 00032 #ifdef _MSC_VER /* Correction pour figure_position (Windows) Allan CORNET Mai 2004 */ 00033 figurePos[0] = (double) posX ; 00034 figurePos[1] = (double) posY ; 00035 #else 00036 figurePos[0] = (double) posX - 4 ; 00037 figurePos[1] = (double) posY - 20 ; 00038 #endif 00039 } 00040 else 00041 { 00042 figurePos[0] = pFIGURE_FEATURE (pobj)->inrootposx; 00043 figurePos[1] = pFIGURE_FEATURE (pobj)->inrootposy; 00044 } 00045 00046 return sciReturnRowVector( figurePos, 2 ) ; 00047 00048 }
Here is the call graph for this function:

| int get_figure_size_property | ( | sciPointObj * | pobj | ) |
Definition at line 18 of file get_figure_size_property.c.
References C2F, cur, dr(), getFigureModel(), L, na, num, PD0, pFIGURE_FEATURE, PI0, SCI_FIGURE, sciGetEntityType(), sciprint(), sciReturnRowVector(), and x.
00019 { 00020 double figureSize[2] ; 00021 00022 if ( sciGetEntityType (pobj) != SCI_FIGURE ) 00023 { 00024 sciprint("figure_size property undefined for this object.\n") ; 00025 return -1; 00026 } 00027 00028 if ( pobj != getFigureModel() ) 00029 { 00030 int cur ; 00031 int num=pFIGURE_FEATURE(pobj)->number ; 00032 integer itmp = 0 ; 00033 integer na = 0 ; 00034 integer x[2] ; 00035 00036 C2F(dr)("xget","window",&itmp,&cur,&na,PI0,PI0,PI0,PD0,PD0,PD0,PD0,0L,0L); 00037 C2F(dr)("xset","window",&num,PI0,PI0,PI0,PI0,PI0,PD0,PD0,PD0,PD0,0L,0L); 00038 00039 C2F(dr)("xget","wpdim",&itmp,x,&na,PI0,PI0,PI0,PD0,PD0,PD0,PD0,0L,0L); 00040 C2F(dr)("xset","window",&cur,PI0,PI0,PI0,PI0,PI0,PD0,PD0,PD0,PD0,0L,0L); 00041 00042 pFIGURE_FEATURE(pobj)->figuredimwidth = x[0] ; 00043 pFIGURE_FEATURE(pobj)->figuredimheight = x[1] ; 00044 } 00045 figureSize[0] = pFIGURE_FEATURE(pobj)->figuredimwidth; 00046 figureSize[1] = pFIGURE_FEATURE(pobj)->figuredimheight; 00047 00048 return sciReturnRowVector( figureSize, 2 ) ; 00049 00050 }
Here is the call graph for this function:

| int get_figure_style_property | ( | sciPointObj * | pobj | ) |
Definition at line 16 of file get_figure_style_property.c.
References sciReturnString().
00017 { 00018 /* no more old style */ 00019 sciReturnString("new") ; 00020 return 0 ; 00021 }
Here is the call graph for this function:

| int get_figures_id_property | ( | sciPointObj * | pobj | ) |
Definition at line 15 of file get_figures_id_property.c.
References FREE, ids, MALLOC, NULL, sciGetFiguresId(), sciGetNbFigure(), sciprint(), and sciReturnRowIntVector().
00016 { 00017 int nbFig = 0 ; 00018 int * ids = NULL ; 00019 int status = -1 ; 00020 00021 00022 nbFig = sciGetNbFigure() ; /* get the number of opened windows */ 00023 00024 ids = MALLOC( nbFig * sizeof(int) ) ; 00025 if ( ids == NULL ) 00026 { 00027 sciprint("Error returning figures_id vector, memory full.\n") ; 00028 return -1 ; 00029 } 00030 00031 sciGetFiguresId( ids ) ; 00032 00033 status = sciReturnRowIntVector( ids, nbFig ) ; 00034 00035 FREE( ids ) ; 00036 00037 return status ; 00038 00039 }
Here is the call graph for this function:

| int get_fill_mode_property | ( | sciPointObj * | pobj | ) |
Definition at line 14 of file get_fill_mode_property.c.
References sciGetIsFilled(), and sciReturnString().
00015 { 00016 if ( sciGetIsFilled( pobj ) ) 00017 { 00018 return sciReturnString( "on" ) ; 00019 } 00020 else 00021 { 00022 return sciReturnString( "off" ) ; 00023 } 00024 }
Here is the call graph for this function:

| int get_font_angle_property | ( | sciPointObj * | pobj | ) |
Definition at line 14 of file get_font_angle_property.c.
References sciGetFontOrientation(), and sciReturnInt().
00015 { 00016 return sciReturnInt( sciGetFontOrientation(pobj) / 10 ) ; 00017 }
Here is the call graph for this function:

| int get_font_color_property | ( | sciPointObj * | pobj | ) |
Definition at line 15 of file get_font_color_property.c.
References pAXES_FEATURE, SCI_AXES, SCI_FIGURE, SCI_SUBWIN, sciGetEntityType(), sciGetFontForegroundToDisplay(), sciprint(), and sciReturnDouble().
00016 { 00017 if (sciGetEntityType (pobj) == SCI_AXES ) 00018 { 00019 return sciReturnDouble( pAXES_FEATURE (pobj)->textcolor ) ; 00020 } 00021 else if ( sciGetEntityType(pobj) == SCI_SUBWIN || sciGetEntityType(pobj) == SCI_FIGURE ) 00022 { 00023 return sciReturnDouble( sciGetFontForegroundToDisplay(pobj) ) ; 00024 } 00025 else 00026 { 00027 sciprint( "Font_color property does not exist for this handle.\n" ) ; 00028 return -1 ; 00029 } 00030 }
Here is the call graph for this function:

| int get_font_foreground_property | ( | sciPointObj * | pobj | ) |
Definition at line 14 of file get_font_foreground_property.c.
References sciGetFontForegroundToDisplay(), and sciReturnInt().
00015 { 00016 return sciReturnInt( sciGetFontForegroundToDisplay( pobj ) ) ; 00017 }
Here is the call graph for this function:

| int get_font_name_property | ( | sciPointObj * | pobj | ) |
Definition at line 14 of file get_font_name_property.c.
References sciGetFontName(), and sciReturnString().
00015 { 00016 return sciReturnString( sciGetFontName( pobj ) ) ; 00017 }
Here is the call graph for this function:

| int get_font_size_property | ( | sciPointObj * | pobj | ) |
Definition at line 14 of file get_font_size_property.c.
References sciGetFontDeciWidth(), and sciReturnInt().
00015 { 00016 return sciReturnInt( sciGetFontDeciWidth( pobj ) / 100 ) ; 00017 }
Here is the call graph for this function:

| int get_font_style_property | ( | sciPointObj * | pobj | ) |
Definition at line 15 of file get_font_style_property.c.
References sciGetFontStyle(), and sciReturnInt().
00016 { 00017 return sciReturnInt( sciGetFontStyle( pobj ) ) ; 00018 }
Here is the call graph for this function:

| int get_foreground_property | ( | sciPointObj * | pobj | ) |
Definition at line 14 of file get_foreground_property.c.
References sciGetForegroundToDisplay(), and sciReturnDouble().
00015 { 00016 return sciReturnDouble( sciGetForegroundToDisplay( pobj ) ) ; 00017 }
Here is the call graph for this function:

| int get_format_n_property | ( | sciPointObj * | pobj | ) |
Definition at line 15 of file get_format_n_property.c.
References pAXES_FEATURE, SCI_AXES, sciGetEntityType(), sciprint(), and sciReturnString().
00016 { 00017 if ( sciGetEntityType (pobj) != SCI_AXES ) 00018 { 00019 sciprint("format_n property does not exist for this handle.\n"); 00020 return -1; 00021 } 00022 return sciReturnString( pAXES_FEATURE (pobj)->format ) ; 00023 }
Here is the call graph for this function:

| int get_grid_property | ( | sciPointObj * | pobj | ) |
Definition at line 15 of file get_grid_property.c.
References pSUBWIN_FEATURE, SCI_SUBWIN, sciGetEntityType(), sciGetIs3d(), sciprint(), and sciReturnRowVector().
00016 { 00017 double grid[3] ; 00018 00019 if (sciGetEntityType (pobj) != SCI_SUBWIN) 00020 { 00021 sciprint("grid property does not exist for this handle.\n") ; 00022 return -1 ; 00023 } 00024 00025 /* need converstion for display in double */ 00026 grid[0] = pSUBWIN_FEATURE(pobj)->grid[0] ; 00027 grid[1] = pSUBWIN_FEATURE(pobj)->grid[1] ; 00028 grid[2] = pSUBWIN_FEATURE(pobj)->grid[2] ; 00029 00030 if ( sciGetIs3d( pobj ) ) 00031 { 00032 return sciReturnRowVector( grid, 3 ) ; 00033 } 00034 else 00035 { 00036 return sciReturnRowVector( grid, 2 ) ; 00037 } 00038 00039 }
Here is the call graph for this function:

| int get_handle_visible_property | ( | sciPointObj * | pobj | ) |
Definition at line 15 of file get_handle_visible_property.c.
References GetHandleVisibilityOnUimenu(), SCI_UIMENU, sciGetEntityType(), sciprint(), and sciReturnString().
00016 { 00017 if (sciGetEntityType (pobj) != SCI_UIMENU) 00018 { 00019 sciprint("handle_visible property does not exist for this handle.\n"); 00020 return -1; 00021 } 00022 if ( GetHandleVisibilityOnUimenu( pobj ) ) 00023 { 00024 return sciReturnString( "on" ) ; 00025 } 00026 else 00027 { 00028 return sciReturnString( "off" ) ; 00029 } 00030 00031 }
Here is the call graph for this function:

| int get_hidden_axis_color_property | ( | sciPointObj * | pobj | ) |
Definition at line 15 of file get_hidden_axis_color_property.c.
References pSUBWIN_FEATURE, SCI_SUBWIN, sciGetEntityType(), sciprint(), and sciReturnInt().
00016 { 00017 if ( sciGetEntityType (pobj) != SCI_SUBWIN ) 00018 { 00019 sciprint("hidden_axis_color property does not exist for this handle.\n"); 00020 return -1; 00021 } 00022 return sciReturnInt( pSUBWIN_FEATURE(pobj)->axes.hiddenAxisColor ) ; 00023 }
Here is the call graph for this function:

| int get_hidden_color_property | ( | sciPointObj * | pobj | ) |
Definition at line 15 of file get_hidden_color_property.c.
References sciGetHiddenColor(), and sciReturnDouble().
00016 { 00017 return sciReturnDouble( sciGetHiddenColor( pobj ) ) ; 00018 }
Here is the call graph for this function:

| int get_immediate_drawing_property | ( | sciPointObj * | pobj | ) |
Definition at line 15 of file get_immediate_drawing_property.c.
References pFIGURE_FEATURE, SCI_FIGURE, sciGetEntityType(), sciprint(), and sciReturnString().
00016 { 00017 if (sciGetEntityType (pobj) != SCI_FIGURE) 00018 { 00019 sciprint( "immediate_drawing property undefined for this object" ) ; 00020 return -1; 00021 } 00022 if ( pFIGURE_FEATURE(pobj)->auto_redraw ) 00023 { 00024 return sciReturnString( "on" ) ; 00025 } 00026 else 00027 { 00028 return sciReturnString( "off" ) ; 00029 } 00030 }
Here is the call graph for this function:

| int get_info_message_property | ( | sciPointObj * | pobj | ) |
Definition at line 15 of file get_info_message_property.c.
References SCI_FIGURE, sciGetEntityType(), sciGetInfoMessage(), sciprint(), and sciReturnString().
00016 { 00017 if ( sciGetEntityType(pobj) != SCI_FIGURE ) 00018 { 00019 sciprint("info_message property undefined for this object") ; 00020 return -1; 00021 } 00022 return sciReturnString( sciGetInfoMessage( pobj ) ) ; 00023 00024 }
Here is the call graph for this function:

| int get_interp_color_mode_property | ( | sciPointObj * | pobj | ) |
Definition at line 14 of file get_interp_color_mode.c.
References pPOLYLINE_FEATURE, and sciReturnString().
00015 { 00016 if( pPOLYLINE_FEATURE(pobj)->isinterpshaded ) 00017 { 00018 return sciReturnString( "on" ) ; 00019 } 00020 else 00021 { 00022 return sciReturnString( "off" ) ; 00023 } 00024 }
Here is the call graph for this function:

| int get_interp_color_vector_property | ( | sciPointObj * | pobj | ) |
Definition at line 15 of file get_interp_color_vector.c.
References NULL, pPOLYLINE_FEATURE, SCI_POLYLINE, sciGetEntityType(), sciGetInterpVector(), sciprint(), sciReturnEmptyMatrix(), and sciReturnRowVectorFromInt().
00016 { 00017 int * interpVector = NULL ; 00018 if( sciGetEntityType(pobj) != SCI_POLYLINE ) 00019 { 00020 sciprint("interp_color_vector property does not exist for this handle.\n") ; 00021 return -1 ; 00022 } 00023 interpVector = sciGetInterpVector( pobj ) ; 00024 if( interpVector != NULL ) 00025 { 00026 return sciReturnRowVectorFromInt( interpVector, pPOLYLINE_FEATURE(pobj)->dim_icv ) ; 00027 } 00028 else 00029 { 00030 return sciReturnEmptyMatrix() ; 00031 } 00032 }
Here is the call graph for this function:

| int get_isoview_property | ( | sciPointObj * | pobj | ) |
Definition at line 15 of file get_isoview_property.c.
References pSUBWIN_FEATURE, SCI_SUBWIN, sciGetEntityType(), sciprint(), and sciReturnString().
00016 { 00017 if ( sciGetEntityType(pobj) != SCI_SUBWIN ) 00018 { 00019 sciprint("isoview property does not exist for this handle.\n"); 00020 return -1; 00021 } 00022 if ( pSUBWIN_FEATURE(pobj)->isoview ) 00023 { 00024 return sciReturnString( "on" ) ; 00025 } 00026 else 00027 { 00028 return sciReturnString( "off" ) ; 00029 } 00030 }
Here is the call graph for this function:

| int get_labels_font_color_property | ( | sciPointObj * | pobj | ) |
Definition at line 15 of file get_labels_font_color_property.c.
References pAXES_FEATURE, SCI_AXES, SCI_FIGURE, SCI_SUBWIN, sciGetEntityType(), sciGetFontForegroundToDisplay(), sciprint(), and sciReturnDouble().
00016 { 00017 if (sciGetEntityType (pobj) == SCI_AXES) 00018 { 00019 return sciReturnDouble( pAXES_FEATURE (pobj)->textcolor ) ; 00020 } 00021 else if (sciGetEntityType (pobj) == SCI_SUBWIN || sciGetEntityType (pobj) == SCI_FIGURE) 00022 { 00023 return sciReturnDouble( sciGetFontForegroundToDisplay(pobj) ) ; /* F.Leray 08.04.04 */ 00024 } 00025 sciprint( "labels_font_color property does not exist for this handle\n." ) ; 00026 return -1 ; 00027 }
Here is the call graph for this function:

| int get_labels_font_size_property | ( | sciPointObj * | pobj | ) |
Definition at line 15 of file get_labels_font_size_property.c.
References pAXES_FEATURE, SCI_AXES, SCI_FIGURE, SCI_SUBWIN, sciGetEntityType(), sciGetFontDeciWidth(), sciprint(), and sciReturnDouble().
00016 { 00017 if ( sciGetEntityType (pobj) == SCI_AXES) 00018 { 00019 return sciReturnDouble( pAXES_FEATURE (pobj)->fontsize ) ; 00020 } 00021 else if (sciGetEntityType (pobj) == SCI_SUBWIN || sciGetEntityType (pobj) == SCI_FIGURE) 00022 { 00023 return sciReturnDouble( sciGetFontDeciWidth(pobj) / 100 ) ; /* F.Leray 08.04.04 */ 00024 } 00025 else 00026 { 00027 sciprint("labels_font_size property does not exist for this handle\n."); 00028 return -1; 00029 } 00030 00031 }
Here is the call graph for this function:

| int get_labels_font_style_property | ( | sciPointObj * | pobj | ) |
Definition at line 15 of file get_labels_font_style_property.c.
References SCI_FIGURE, SCI_SUBWIN, sciGetEntityType(), sciGetFontStyle(), sciprint(), and sciReturnDouble().
00016 { 00017 if ( sciGetEntityType( pobj ) != SCI_SUBWIN && sciGetEntityType( pobj ) != SCI_FIGURE ) 00018 { 00019 sciprint("labels_font_style property does not exist for this handle\n.") ; 00020 return -1 ; 00021 } 00022 00023 if ( sciGetEntityType (pobj) == SCI_SUBWIN || sciGetEntityType (pobj) == SCI_FIGURE ) 00024 { 00025 /* F.Leray 09.04.04: For the moment sciAxes have no font_style property*/ 00026 return sciReturnDouble( sciGetFontStyle( pobj ) ) ; 00027 } 00028 return -1 ; 00029 }
Here is the call graph for this function:

| int get_line_mode_property | ( | sciPointObj * | pobj | ) |
Definition at line 14 of file get_line_mode_property.c.
References sciGetIsLine(), and sciReturnString().
00015 { 00016 if ( sciGetIsLine(pobj) ) 00017 { 00018 return sciReturnString( "on" ) ; 00019 } 00020 else 00021 { 00022 return sciReturnString( "off" ) ; 00023 } 00024 }
Here is the call graph for this function:

| int get_line_style_property | ( | sciPointObj * | pobj | ) |
Definition at line 14 of file get_line_style_property.c.
References sciGetLineStyle(), and sciReturnDouble().
00015 { 00016 return sciReturnDouble( sciGetLineStyle( pobj ) ) ; 00017 }
Here is the call graph for this function:

| int get_log_flags_property | ( | sciPointObj * | pobj | ) |
Definition at line 15 of file get_log_flags_property.c.
References pSUBWIN_FEATURE, SCI_SUBWIN, sciGetEntityType(), sciprint(), and sciReturnString().
00016 { 00017 00018 if ( sciGetEntityType (pobj) != SCI_SUBWIN ) 00019 { 00020 sciprint( "log_flag property undefined for this object\n." ) ; 00021 return -1 ; 00022 } 00023 00024 return sciReturnString( pSUBWIN_FEATURE (pobj)->logflags ) ; 00025 }
Here is the call graph for this function:

| int get_margins_property | ( | sciPointObj * | pobj | ) |
Definition at line 15 of file get_margins_property.c.
References pSUBWIN_FEATURE, SCI_SUBWIN, sciGetEntityType(), sciprint(), and sciReturnRowVector().
00016 { 00017 00018 if ( sciGetEntityType (pobj) != SCI_SUBWIN ) 00019 { 00020 sciprint("margins property does not exist for this handle.\n") ; 00021 return -1 ; 00022 } 00023 00024 return sciReturnRowVector( pSUBWIN_FEATURE (pobj)->ARect, 4 ) ; 00025 00026 }
Here is the call graph for this function:

| int get_mark_background_property | ( | sciPointObj * | pobj | ) |
Definition at line 14 of file get_mark_background_property.c.
References sciGetMarkBackgroundToDisplay(), and sciReturnDouble().
00015 { 00016 return sciReturnDouble( sciGetMarkBackgroundToDisplay( pobj ) ) ; 00017 }
Here is the call graph for this function:

| int get_mark_foreground_property | ( | sciPointObj * | pobj | ) |
Definition at line 14 of file get_mark_foreground_property.c.
References sciGetMarkForegroundToDisplay(), and sciReturnDouble().
00015 { 00016 return sciReturnDouble( sciGetMarkForegroundToDisplay( pobj ) ) ; 00017 }
Here is the call graph for this function:

| int get_mark_mode_property | ( | sciPointObj * | pobj | ) |
Definition at line 14 of file get_mark_mode_property.c.
References sciGetIsMark(), and sciReturnString().
00015 { 00016 if ( sciGetIsMark( pobj ) ) 00017 { 00018 return sciReturnString( "on" ) ; 00019 } 00020 else 00021 { 00022 return sciReturnString( "off" ) ; 00023 } 00024 }
Here is the call graph for this function:

| int get_mark_size_property | ( | sciPointObj * | pobj | ) |
Definition at line 14 of file get_mark_size_property.c.
References sciGetMarkSize(), and sciReturnDouble().
00015 { 00016 return sciReturnDouble( sciGetMarkSize( pobj ) ) ; 00017 }
Here is the call graph for this function:

| int get_mark_size_unit_property | ( | sciPointObj * | pobj | ) |
Definition at line 14 of file get_mark_size_unit_property.c.
References sciGetMarkSizeUnit(), and sciReturnString().
00015 { 00016 if (sciGetMarkSizeUnit( pobj ) == 1) 00017 { 00018 return sciReturnString( "point" ) ; 00019 } 00020 else if( sciGetMarkSizeUnit(pobj) == 2 ) 00021 { 00022 return sciReturnString( "tabulated" ) ; 00023 } 00024 return -1 ; 00025 }
Here is the call graph for this function:

| int get_mark_style_property | ( | sciPointObj * | pobj | ) |
Definition at line 14 of file get_mark_style_property.c.
References sciGetMarkStyle(), and sciReturnDouble().
00015 { 00016 return sciReturnDouble( sciGetMarkStyle( pobj ) ) ; 00017 }
Here is the call graph for this function:

| int get_menu_enable_property | ( | sciPointObj * | pobj | ) |
Definition at line 15 of file get_menu_enable_property.c.
References pUIMENU_FEATURE, SCI_UIMENU, sciGetEntityType(), sciprint(), and sciReturnString().
00016 { 00017 if (sciGetEntityType (pobj) != SCI_UIMENU) 00018 { 00019 sciprint("menu_enable property does not exist for this handle.\n"); 00020 return -1; 00021 } 00022 if ( pUIMENU_FEATURE(pobj)->Enable ) 00023 { 00024 return sciReturnString( "on" ) ; 00025 } 00026 else 00027 { 00028 return sciReturnString( "off" ) ; 00029 } 00030 }
Here is the call graph for this function:

| int get_old_style_property | ( | sciPointObj * | pobj | ) |
Definition at line 15 of file get_old_style_property.c.
References sciReturnString().
00016 { 00017 /* no more old style */ 00018 return sciReturnString( "off" ) ; 00019 }
Here is the call graph for this function:

| int get_parent_property | ( | sciPointObj * | pobj | ) |
Definition at line 14 of file get_parent_property.c.
References sciGetHandle(), sciGetParent(), and sciReturnHandle().
00015 { 00016 return sciReturnHandle( sciGetHandle( sciGetParent( pobj ) ) ) ; 00017 }
Here is the call graph for this function:

| int get_pixel_drawing_mode_property | ( | sciPointObj * | pobj | ) |
Definition at line 17 of file get_pixel_drawing_mode_property.c.
References getPixelMode(), pFIGURE_FEATURE, SCI_FIGURE, sciGetEntityType(), and sciReturnString().
00018 { 00019 if ( sciGetEntityType (pobj) == SCI_FIGURE ) 00020 { 00021 return sciReturnString( getPixelMode( pFIGURE_FEATURE (pobj)->gmode.xormode ) ) ; 00022 } 00023 else 00024 { 00025 Scierror(999,"pixel_drawing_mode do not exist for this handle") ; 00026 return -1 ; 00027 } 00028 00029 }
Here is the call graph for this function:

| int get_pixmap_property | ( | sciPointObj * | pobj | ) |
Definition at line 15 of file get_pixmap_property.c.
References pFIGURE_FEATURE, SCI_FIGURE, sciGetEntityType(), sciprint(), and sciReturnString().
00016 { 00017 if ( sciGetEntityType(pobj) != SCI_FIGURE ) 00018 { 00019 sciprint( "pixmap property undefined for this object" ) ; 00020 return -1; 00021 } 00022 if ( pFIGURE_FEATURE(pobj)->pixmap == 1 ) 00023 { 00024 return sciReturnString( "on" ) ; 00025 } 00026 else 00027 { 00028 return sciReturnString( "off" ) ; 00029 } 00030 }
Here is the call graph for this function:

| int get_polyline_style_property | ( | sciPointObj * | pobj | ) |
Definition at line 15 of file get_polyline_style_property.c.
References plot(), pPOLYLINE_FEATURE, SCI_POLYLINE, sciGetEntityType(), sciprint(), and sciReturnDouble().
00016 { 00017 if ( sciGetEntityType (pobj) == SCI_POLYLINE ) 00018 { 00019 return sciReturnDouble( pPOLYLINE_FEATURE (pobj)->plot ) ; 00020 } 00021 else 00022 { 00023 sciprint( "polyline_style does not exist for this handle.\n" ) ; 00024 return -1 ; 00025 } 00026 }
Here is the call graph for this function:

| int get_position_property | ( | sciPointObj * | pobj | ) |
Definition at line 15 of file get_position_property.c.
References pUIMENU_FEATURE, SCI_LABEL, SCI_UIMENU, sciGetEntityType(), sciGetPosition(), sciprint(), sciReturnDouble(), and sciReturnRowVector().
00016 { 00017 00018 if (sciGetEntityType(pobj) == SCI_UIMENU ) 00019 { 00020 return sciReturnDouble( pUIMENU_FEATURE(pobj)->MenuPosition ) ; 00021 } 00022 else if ( sciGetEntityType(pobj) == SCI_LABEL ) 00023 { 00024 double position[2] ; 00025 sciGetPosition( pobj, &(position[0]), &(position[1]) ) ; 00026 return sciReturnRowVector( position, 2 ) ; 00027 } 00028 sciprint( "position does not exist for this handle.\n" ) ; 00029 return -1; 00030 }
Here is the call graph for this function:

| int get_rotation_angles_property | ( | sciPointObj * | pobj | ) |
Definition at line 15 of file get_rotation_angles_property.c.
References pSUBWIN_FEATURE, SCI_SUBWIN, sciGetEntityType(), sciprint(), and sciReturnRowVector().
00016 { 00017 /* DJ.A 2003 */ 00018 double angles[2] ; 00019 if ( sciGetEntityType (pobj) != SCI_SUBWIN ) 00020 { 00021 sciprint("rotation_angle property does not exist for this handle.\n") ; 00022 return -1 ; 00023 } 00024 00025 angles[0] = pSUBWIN_FEATURE(pobj)->alpha ; 00026 angles[1] = pSUBWIN_FEATURE(pobj)->theta ; 00027 00028 return sciReturnRowVector( angles, 2 ) ; 00029 00030 00031 }
Here is the call graph for this function:

| int get_rotation_style_property | ( | sciPointObj * | pobj | ) |
Definition at line 15 of file get_rotation_style_property.c.
References pFIGURE_FEATURE, SCI_FIGURE, sciGetEntityType(), sciprint(), and sciReturnString().
00016 { 00017 if ( sciGetEntityType (pobj) != SCI_FIGURE ) 00018 { 00019 sciprint( "rotation_style property undefined for this object" ) ; 00020 return -1; 00021 } 00022 if ( pFIGURE_FEATURE(pobj)->rotstyle == 0 ) 00023 { 00024 return sciReturnString( "unary" ) ; 00025 } 00026 else 00027 { 00028 return sciReturnString( "multiple" ) ; 00029 } 00030 }
Here is the call graph for this function:

| int get_segs_color_property | ( | sciPointObj * | pobj | ) |
Definition at line 16 of file get_segs_color_property.c.
References colors, FREE, i, MALLOC, NULL, pSEGS_FEATURE, SCI_SEGS, sciGetEntityType(), sciprint(), and sciReturnRowVector().
00017 { 00018 double * colors = NULL ; 00019 int nbSegs = 0 ; 00020 int i ; 00021 int status = -1 ; 00022 if ( sciGetEntityType( pobj ) != SCI_SEGS || pSEGS_FEATURE(pobj)->ptype != 0 ) 00023 { 00024 sciprint("segs_color property does not exist for this handle.\n") ; 00025 return -1 ; 00026 } 00027 00028 /* convert from int array to double one. */ 00029 nbSegs = pSEGS_FEATURE(pobj)->Nbr1 / 2 ; 00030 colors = MALLOC( nbSegs * sizeof(double) ) ; 00031 if ( colors == NULL ) 00032 { 00033 sciprint( "Error returing segs color, memory full.\n" ) ; 00034 return -1 ; 00035 } 00036 00037 for ( i = 0 ; i < nbSegs ; i++ ) 00038 { 00039 colors[i] = pSEGS_FEATURE (pobj)->pstyle[i] ; 00040 } 00041 00042 status = sciReturnRowVector( colors, pSEGS_FEATURE(pobj)->Nbr1 / 2 ) ; 00043 00044 FREE( colors ) ; 00045 00046 return status ; 00047 00048 }
Here is the call graph for this function:

| int get_sub_tics_property | ( | sciPointObj * | pobj | ) |
Definition at line 15 of file get_sub_tics_property.c.
References i, pAXES_FEATURE, pSUBWIN_FEATURE, SCI_AXES, SCI_SUBWIN, sciGetEntityType(), sciGetIs3d(), sciprint(), sciReturnDouble(), and sciReturnRowVector().
00016 { 00017 00018 /*Dj.A 17/12/2003*/ 00019 /* modified jb Silvy 01/2006 */ 00020 00021 if ( sciGetEntityType (pobj) == SCI_AXES ) 00022 { 00023 return sciReturnDouble( pAXES_FEATURE(pobj)->subint ) ; 00024 } 00025 else if ( sciGetEntityType (pobj) == SCI_SUBWIN ) 00026 { 00027 double sub_ticks[3] ; 00028 int i ; 00029 for ( i = 0 ; i < 3 ; i++ ) 00030 { 00031 sub_ticks[i] = pSUBWIN_FEATURE (pobj)->axes.nbsubtics[i] - 1 ; 00032 } 00033 if ( sciGetIs3d( pobj ) ) 00034 { 00035 return sciReturnRowVector( sub_ticks, 3 ) ; 00036 } 00037 else 00038 { 00039 return sciReturnRowVector( sub_ticks, 2 ) ; 00040 } 00041 } 00042 else 00043 { 00044 sciprint("sub_ticks property does not exist for this handle.\n") ; 00045 return -1 ; 00046 } 00047 }
Here is the call graph for this function:

| int get_surface_color_property | ( | sciPointObj * | pobj | ) |
Definition at line 15 of file get_surface_color_property.c.
References sciSurface::dimzx, sciSurface::dimzy, sciSurface::flagcolor, NULL, pSURFACE_FEATURE, SCI_FAC3D, SCI_PARAM3D1, SCI_SURFACE, sciGetEntityType(), sciprint(), sciReturnEmptyMatrix(), sciReturnMatrix(), sciReturnRowVector(), sciSurface::typeof3d, and sciSurface::zcol.
00016 { 00017 sciSurface * ppSurface = NULL ; 00018 if ( sciGetEntityType (pobj) != SCI_SURFACE ) 00019 { 00020 sciprint("surface_color property does not exist for this handle.\n") ; 00021 return -1 ; 00022 } 00023 00024 ppSurface = pSURFACE_FEATURE (pobj) ; 00025 00026 if ( ppSurface->typeof3d == SCI_PARAM3D1 ) 00027 { 00028 return sciReturnRowVector( ppSurface->zcol, ppSurface->dimzy ) ; 00029 } 00030 else if ( ppSurface->typeof3d == SCI_FAC3D) 00031 { 00032 if ( ppSurface->flagcolor == 2 || ppSurface->flagcolor == 4 ) 00033 { 00034 return sciReturnRowVector( ppSurface->zcol, ppSurface->dimzy ) ; 00035 } 00036 else if ( ppSurface->flagcolor == 3 ) 00037 { 00038 return sciReturnMatrix( ppSurface->zcol, ppSurface->dimzx, ppSurface->dimzy ) ; 00039 } 00040 else 00041 { 00042 return sciReturnEmptyMatrix() ; 00043 } 00044 00045 } 00046 00047 return -1 ; 00048 00049 }
Here is the call graph for this function:

| int get_surface_mode_property | ( | sciPointObj * | pobj | ) |
Definition at line 15 of file get_surface_mode_property.c.
References SCI_FAC3D, SCI_PLOT3D, SCI_SURFACE, sciGetEntityType(), sciGetIsLine(), sciprint(), and sciReturnString().
00016 { 00017 if ( (sciGetEntityType(pobj) == SCI_PLOT3D ) || 00018 (sciGetEntityType(pobj) == SCI_FAC3D ) || 00019 (sciGetEntityType(pobj) == SCI_SURFACE) ) 00020 { 00021 if ( sciGetIsLine( pobj ) ) 00022 { 00023 return sciReturnString( "on" ) ; 00024 } 00025 else 00026 { 00027 return sciReturnString( "off" ) ; 00028 } 00029 } 00030 else 00031 { 00032 sciprint( "Surface_mode value can not be accessed with this object, use line_mode.\n" ) ; 00033 return -1; 00034 } 00035 }
Here is the call graph for this function:

| int get_text_box_mode_property | ( | sciPointObj * | pobj | ) |
Definition at line 15 of file get_text_box_mode_property.c.
References SCI_TEXT, sciGetAutoSize(), sciGetCenterPos(), sciGetEntityType(), sciprint(), and sciReturnString().
00016 { 00017 if ( sciGetEntityType(pobj) == SCI_TEXT ) 00018 { 00019 if ( sciGetAutoSize( pobj ) ) 00020 { 00021 if ( sciGetCenterPos( pobj ) ) 00022 { 00023 return sciReturnString( "centered" ) ; 00024 } 00025 else 00026 { 00027 return sciReturnString( "off" ) ; 00028 } 00029 } 00030 else 00031 { 00032 return sciReturnString( "filled" ) ; 00033 } 00034 } 00035 sciprint("text_box_mode property does not exist for this handle.\n"); 00036 return -1; 00037 }
Here is the call graph for this function:

| int get_text_box_property | ( | sciPointObj * | pobj | ) |
Definition at line 15 of file get_text_box_property.c.
References SCI_TEXT, sciGetEntityType(), sciGetUserSize(), sciprint(), sciReturnRowVector(), and size.
00016 { 00017 if ( sciGetEntityType (pobj) == SCI_TEXT ) 00018 { 00019 double size[2] ; 00020 sciGetUserSize( pobj, &(size[0]), &(size[1]) ) ; 00021 return sciReturnRowVector( size, 2 ) ; 00022 } 00023 sciprint("text_box property does not exist for this handle.\n") ; 00024 return -1; 00025 }
Here is the call graph for this function:

| int get_text_property | ( | sciPointObj * | pobj | ) |
Definition at line 15 of file get_text_property.c.
References getStrMatData(), sciGetText(), sciGetTextSize(), and sciReturnStringMatrix().
00016 { 00017 int nbRow = 0 ; 00018 int nbCol = 0 ; 00019 /* get the size of the text matrix */ 00020 sciGetTextSize( pobj , &nbRow, &nbCol ) ; 00021 return sciReturnStringMatrix( getStrMatData( sciGetText( pobj ) ), nbRow, nbCol ) ; 00022 }
Here is the call graph for this function:

| int get_thickness_property | ( | sciPointObj * | pobj | ) |
Definition at line 14 of file get_thickness_property.c.
References sciGetLineWidth(), and sciReturnDouble().
00015 { 00016 return sciReturnDouble( sciGetLineWidth( pobj ) ) ; 00017 }
Here is the call graph for this function:

| int get_tics_color_property | ( | sciPointObj * | pobj | ) |
Definition at line 15 of file get_tics_color_property.c.
References pAXES_FEATURE, pSUBWIN_FEATURE, SCI_AXES, SCI_SUBWIN, sciGetEntityType(), sciprint(), and sciReturnDouble().
00016 { 00017 if (sciGetEntityType (pobj) == SCI_AXES) 00018 { 00019 return sciReturnDouble( pAXES_FEATURE(pobj)->ticscolor ) ; 00020 } 00021 else if (sciGetEntityType (pobj) == SCI_SUBWIN) 00022 { 00023 sciprint("Warning: tics_color use is deprecated and no more taken into account, use foreground property to edit Axes color.\n"); 00024 return sciReturnDouble( pSUBWIN_FEATURE(pobj)->axes.ticscolor ) ; 00025 } 00026 else 00027 { 00028 sciprint("tics_color property does not exist for this handle.\n"); 00029 return -1; 00030 } 00031 00032 }
Here is the call graph for this function:

| int get_tics_direction_property | ( | sciPointObj * | pobj | ) |
Definition at line 15 of file get_tics_direction_property.c.
References dir, pAXES_FEATURE, SCI_AXES, sciGetEntityType(), sciprint(), and sciReturnString().
00016 { 00017 if ( sciGetEntityType( pobj ) != SCI_AXES ) 00018 { 00019 sciprint( "tics_direction property undefined for this handle\n." ) ; 00020 return -1 ; 00021 } 00022 00023 switch ( pAXES_FEATURE (pobj)->dir ) 00024 { 00025 case 'u': 00026 return sciReturnString( "top" ) ; 00027 break; 00028 case 'd': 00029 return sciReturnString( "bottom" ) ; 00030 break; 00031 case 'r': 00032 return sciReturnString( "right" ) ; 00033 break; 00034 case 'l': 00035 return sciReturnString( "left" ) ; 00036 break; 00037 default : 00038 sciprint( "tics_direction is not correctly defined\n." ) ; 00039 break; 00040 } 00041 return -1; 00042 00043 }
Here is the call graph for this function:

| int get_tics_labels_property | ( | sciPointObj * | pobj | ) |
Definition at line 16 of file get_tics_label_property.c.
References computeDefaultTicsLabels(), deleteMatrix(), getStrMatData(), NULL, pAXES_FEATURE, SCI_AXES, sciGetEntityType(), sciprint(), sciReturnRowStringVector(), and str.
00017 { 00018 00019 00020 00021 if ( sciGetEntityType (pobj) != SCI_AXES ) 00022 { 00023 sciprint("tics_labels property does not exist for this handle.\n") ; 00024 return -1 ; 00025 } 00026 00027 if ( pAXES_FEATURE(pobj)->str == NULL ) 00028 { 00029 int status = -1 ; 00030 StringMatrix * tics_labels = NULL ; /* actually it is vector */ 00031 00032 /* tics_labels is allocatred here */ 00033 tics_labels = computeDefaultTicsLabels( pobj ) ; 00034 00035 if ( tics_labels == NULL ) 00036 { 00037 sciprint("An error occured when allocating temporary tics.\n") ; 00038 return -1 ; 00039 } 00040 00041 status = sciReturnRowStringVector( getStrMatData( tics_labels ), pAXES_FEATURE (pobj)->nb_tics_labels ) ; 00042 00043 deleteMatrix( tics_labels ) ; 00044 00045 return status ; 00046 } 00047 else 00048 { 00049 /* str has been previously set once */ 00050 return sciReturnRowStringVector( pAXES_FEATURE(pobj)->str, pAXES_FEATURE (pobj)->nb_tics_labels ) ; 00051 } 00052 }
Here is the call graph for this function:

| int get_tics_segment_property | ( | sciPointObj * | pobj | ) |
Definition at line 15 of file get_tics_segment_property.c.
References pAXES_FEATURE, SCI_AXES, sciGetEntityType(), sciprint(), and sciReturnString().
00016 { 00017 00018 if ( sciGetEntityType( pobj ) != SCI_AXES ) 00019 { 00020 sciprint( "tics_segment property does not exist for this handle\n." ) ; 00021 return -1 ; 00022 } 00023 00024 if ( pAXES_FEATURE(pobj)->seg == 1 ) 00025 { 00026 return sciReturnString( "on" ) ; 00027 } 00028 else 00029 { 00030 return sciReturnString( "off" ) ; 00031 } 00032 00033 }
Here is the call graph for this function:

| int get_tics_style_property | ( | sciPointObj * | pobj | ) |
Definition at line 15 of file get_tics_style_property.c.
References pAXES_FEATURE, and sciReturnChar().
00016 { 00017 00018 return sciReturnChar( pAXES_FEATURE (pobj)->tics ) ; 00019 00020 }
Here is the call graph for this function:

| int get_tight_limits_property | ( | sciPointObj * | pobj | ) |
Definition at line 15 of file get_tight_limits_property.c.
References pSUBWIN_FEATURE, SCI_SUBWIN, sciGetEntityType(), sciprint(), and sciReturnString().
00016 { 00017 if (sciGetEntityType (pobj) != SCI_SUBWIN) 00018 { 00019 sciprint( "tight_limits property does not exist for this handle.\n" ) ; 00020 return -1 ; 00021 } 00022 00023 if ( pSUBWIN_FEATURE (pobj)->tight_limits ) 00024 { 00025 return sciReturnString( "on" ) ; 00026 } 00027 else 00028 { 00029 return sciReturnString( "off" ) ; 00030 } 00031 00032 }
Here is the call graph for this function:

| int get_title_property | ( | sciPointObj * | pobj | ) |
Definition at line 15 of file get_title_property.c.
References pSUBWIN_FEATURE, SCI_SUBWIN, sciGetEntityType(), sciGetHandle(), sciprint(), and sciReturnHandle().
00016 { 00017 if ( sciGetEntityType(pobj) != SCI_SUBWIN ) 00018 { 00019 sciprint("title property undefined for this object\n.") ; 00020 return -1 ; 00021 } 00022 return sciReturnHandle( sciGetHandle( pSUBWIN_FEATURE(pobj)->mon_title ) ) ; 00023 }
Here is the call graph for this function:

| int get_triangles_property | ( | sciPointObj * | pobj | ) |
Definition at line 15 of file get_triangles_property.c.
References pFEC_FEATURE, SCI_FEC, sciGetEntityType(), sciprint(), and sciReturnMatrix().
00016 { 00017 if ( sciGetEntityType (pobj) != SCI_FEC ) 00018 { 00019 sciprint("triangles property does not exist for this handle.\n") ; 00020 return -1; 00021 } 00022 00023 return sciReturnMatrix( pFEC_FEATURE (pobj)->pnoeud, pFEC_FEATURE (pobj)->Ntr, 5 ) ; 00024 00025 }
Here is the call graph for this function:

| int get_type_property | ( | sciPointObj * | pobj | ) |
Definition at line 14 of file get_type_property.c.
References sciGetCharEntityType(), and sciReturnString().
00015 { 00016 return sciReturnString( sciGetCharEntityType( pobj ) ) ; 00017 }
Here is the call graph for this function:

| int get_user_data_property | ( | sciPointObj * | pobj | ) |
Definition at line 15 of file get_user_data_property.c.
References NULL, sciGetPointerToUserData(), sciReturnEmptyMatrix(), and sciReturnUserData().
00016 { 00017 /* user_data */ 00018 int *size_ptr, data_size; 00019 int **user_data_ptr,*data_ptr; 00020 sciGetPointerToUserData (pobj,&user_data_ptr, &size_ptr); 00021 00022 data_ptr=*user_data_ptr; 00023 data_size=0; 00024 if ( *user_data_ptr == NULL || *size_ptr == 0 ) 00025 { 00026 return sciReturnEmptyMatrix() ; 00027 } 00028 else 00029 { 00030 return sciReturnUserData( *user_data_ptr, *size_ptr ) ; 00031 } 00032 00033 }
Here is the call graph for this function:

| int get_view_property | ( | sciPointObj * | pobj | ) |
Definition at line 15 of file get_view_property.c.
References SCI_SUBWIN, sciGetEntityType(), sciGetIs3d(), sciprint(), and sciReturnString().
00016 { 00017 00018 if ( sciGetEntityType(pobj) != SCI_SUBWIN ) 00019 { 00020 sciprint( "view property does not exist for this handle.\n") ; 00021 return -1; 00022 } 00023 00024 if ( sciGetIs3d( pobj ) ) 00025 { 00026 return sciReturnString( "3d" ) ; 00027 } 00028 else 00029 { 00030 return sciReturnString( "2d" ) ; 00031 } 00032 }
Here is the call graph for this function:

| int get_viewport_property | ( | sciPointObj * | pobj | ) |
Definition at line 15 of file get_viewport_property.c.
References SCI_FIGURE, sciGetEntityType(), sciGetViewport(), sciprint(), and sciReturnRowIntVector().
00016 { 00017 int viewport[2] ; 00018 00019 if( sciGetEntityType(pobj) != SCI_FIGURE ) 00020 { 00021 sciprint("viewport does not exist for this handle.\n") ; 00022 return -1 ; 00023 } 00024 00025 sciGetViewport( pobj, &viewport[0], &viewport[1] ) ; 00026 00027 return sciReturnRowIntVector( viewport, 2 ) ; 00028 00029 }
Here is the call graph for this function:

| int get_visible_property | ( | sciPointObj * | pobj | ) |
Definition at line 17 of file get_visible_property.c.
References sciGetVisibility(), and sciReturnString().
00018 { 00019 00020 if ( sciGetVisibility( pobj ) ) 00021 { 00022 return sciReturnString( "on" ) ; 00023 } 00024 else 00025 { 00026 return sciReturnString( "off" ) ; 00027 } 00028 }
Here is the call graph for this function:

| int get_x_label_property | ( | sciPointObj * | pobj | ) |
Definition at line 15 of file get_x_label_property.c.
References pSUBWIN_FEATURE, SCI_SUBWIN, sciGetEntityType(), sciGetHandle(), sciprint(), and sciReturnHandle().
00016 { 00017 if ( sciGetEntityType(pobj) != SCI_SUBWIN ) 00018 { 00019 sciprint("x_label property undefined for this object\n.") ; 00020 return -1 ; 00021 } 00022 return sciReturnHandle( sciGetHandle( pSUBWIN_FEATURE(pobj)->mon_x_label ) ) ; 00023 }
Here is the call graph for this function:

| int get_x_location_property | ( | sciPointObj * | pobj | ) |
Definition at line 15 of file get_x_location_property.c.
References pSUBWIN_FEATURE, SCI_SUBWIN, sciGetEntityType(), sciprint(), and sciReturnString().
00016 { 00017 if (sciGetEntityType (pobj) != SCI_SUBWIN) 00018 { 00019 sciprint( "x_location property undefined for this handle\n." ) ; 00020 return -1 ; 00021 } 00022 00023 switch ( pSUBWIN_FEATURE (pobj)->axes.xdir ) 00024 { 00025 case 'u': 00026 return sciReturnString( "top" ) ; 00027 break; 00028 case 'd': 00029 return sciReturnString( "bottom" ) ; 00030 break; 00031 case 'c': 00032 return sciReturnString( "middle" ) ; 00033 break; 00034 default : 00035 sciprint( "x_location is not correctly defined\n." ) ; 00036 break; 00037 } 00038 return -1 ; 00039 }
Here is the call graph for this function:

| int get_x_shift_property | ( | sciPointObj * | pobj | ) |
Definition at line 15 of file get_x_shift_property.c.
References sciPolyline::n1, NULL, pPOLYLINE_FEATURE, SCI_POLYLINE, sciGetEntityType(), sciprint(), sciReturnEmptyMatrix(), sciReturnRowVector(), and sciPolyline::x_shift.
00016 { 00017 if (sciGetEntityType (pobj) == SCI_POLYLINE ) 00018 { 00019 sciPolyline * ppolyline = pPOLYLINE_FEATURE (pobj); 00020 00021 if( ppolyline->x_shift == NULL ) 00022 { 00023 return sciReturnEmptyMatrix() ; 00024 } 00025 else 00026 { 00027 return sciReturnRowVector( ppolyline->x_shift, ppolyline->n1 ) ; 00028 } 00029 } 00030 else 00031 { 00032 sciprint( "x_shift property does not exist for this handle.\n") ; 00033 return -1 ; 00034 } 00035 }
Here is the call graph for this function:

| int get_x_ticks_property | ( | sciPointObj * | pobj | ) |
Definition at line 18 of file get_x_ticks_property.c.
References AXES::auto_ticks, sciSubWindow::axes, buildTListForTicks(), ChooseGoodFormat(), copyFormatedArray(), destroyStringArray(), FREE, sciSubWindow::logflags, NULL, AXES::nxgrads, pSUBWIN_FEATURE, ReBuildTicksLog2Lin(), SCI_SUBWIN, sciGetEntityType(), sciprint(), AXES::u_nxgrads, AXES::u_xgrads, AXES::u_xlabels, and AXES::xgrads.
00019 { 00020 sciSubWindow * ppSubWin = NULL ; 00021 char c_format[5]; 00022 if ( sciGetEntityType( pobj ) != SCI_SUBWIN ) 00023 { 00024 sciprint("x_ticks property does not exists for this label.\n") ; 00025 return -1 ; 00026 } 00027 00028 ppSubWin = pSUBWIN_FEATURE( pobj ) ; 00029 00030 /* compute the c_format used for convert double to char (for labels) */ 00031 ChooseGoodFormat( c_format, ppSubWin->logflags[0], ppSubWin->axes.xgrads, ppSubWin->axes.nxgrads ) ; 00032 00033 if( ppSubWin->axes.auto_ticks[0] ) 00034 { 00035 int nbtics = ppSubWin->axes.nxgrads ; 00036 char ** tickslabel = NULL ; 00037 double * ticksPosition = NULL ; 00038 00039 ticksPosition = ReBuildTicksLog2Lin( ppSubWin->logflags[0], nbtics, ppSubWin->axes.xgrads ) ; 00040 00041 /* convert double to strings */ 00042 tickslabel = copyFormatedArray( ticksPosition, nbtics, c_format, 100 ) ; 00043 00044 /* construction de la tlist */ 00045 buildTListForTicks( ticksPosition, tickslabel, nbtics ) ; 00046 00047 /* free tickslabel */ 00048 destroyStringArray( tickslabel, nbtics ) ; 00049 FREE( ticksPosition ) ; 00050 return 0 ; 00051 } 00052 else /* we display the x tics specified by the user*/ 00053 { 00054 int nbtics = ppSubWin->axes.u_nxgrads ; 00055 double * ticksPosition = ReBuildTicksLog2Lin(ppSubWin->logflags[0],nbtics,ppSubWin->axes.u_xgrads) ; 00056 00057 buildTListForTicks( ticksPosition, ppSubWin->axes.u_xlabels, nbtics ) ; 00058 00059 FREE( ticksPosition ) ; 00060 return 0 ; 00061 } 00062 00063 }
Here is the call graph for this function:

| int get_xtics_coord_property | ( | sciPointObj * | pobj | ) |
Definition at line 15 of file get_xtics_coord_property.c.
References pAXES_FEATURE, SCI_AXES, sciGetEntityType(), sciprint(), and sciReturnRowVector().
00016 { 00017 if ( sciGetEntityType(pobj) != SCI_AXES ) 00018 { 00019 sciprint("xtics_coord property does not exist for this handle.\n") ; 00020 return -1 ; 00021 } 00022 return sciReturnRowVector( pAXES_FEATURE(pobj)->vx, pAXES_FEATURE(pobj)->nx ) ; 00023 }
Here is the call graph for this function:

| int get_y_label_property | ( | sciPointObj * | pobj | ) |
Definition at line 15 of file get_y_label_property.c.
References pSUBWIN_FEATURE, SCI_SUBWIN, sciGetEntityType(), sciGetHandle(), sciprint(), and sciReturnHandle().
00016 { 00017 if ( sciGetEntityType(pobj) != SCI_SUBWIN ) 00018 { 00019 sciprint("y_label property undefined for this object\n.") ; 00020 return -1 ; 00021 } 00022 return sciReturnHandle( sciGetHandle( pSUBWIN_FEATURE(pobj)->mon_y_label ) ) ; 00023 }
Here is the call graph for this function:

| int get_y_location_property | ( | sciPointObj * | pobj | ) |
Definition at line 15 of file get_y_location_property.c.
References pSUBWIN_FEATURE, SCI_SUBWIN, sciGetEntityType(), sciprint(), and sciReturnString().
00016 { 00017 if (sciGetEntityType (pobj) != SCI_SUBWIN) 00018 { 00019 sciprint( "y_location property undefined for this handle\n." ) ; 00020 return -1 ; 00021 } 00022 00023 switch ( pSUBWIN_FEATURE (pobj)->axes.ydir ) 00024 { 00025 case 'l': 00026 return sciReturnString( "left" ) ; 00027 break; 00028 case 'r': 00029 return sciReturnString( "right" ) ; 00030 break; 00031 case 'c': 00032 return sciReturnString( "middle" ) ; 00033 break; 00034 default : 00035 sciprint( "y_location is not correctly defined\n." ) ; 00036 break; 00037 } 00038 return -1 ; 00039 }
Here is the call graph for this function:

| int get_y_shift_property | ( | sciPointObj * | pobj | ) |
Definition at line 15 of file get_y_shift_property.c.
References sciPolyline::n1, NULL, pPOLYLINE_FEATURE, SCI_POLYLINE, sciGetEntityType(), sciprint(), sciReturnEmptyMatrix(), sciReturnRowVector(), and sciPolyline::y_shift.
00016 { 00017 if (sciGetEntityType (pobj) == SCI_POLYLINE ) 00018 { 00019 sciPolyline * ppolyline = pPOLYLINE_FEATURE (pobj); 00020 00021 if( ppolyline->y_shift == NULL ) 00022 { 00023 return sciReturnEmptyMatrix() ; 00024 } 00025 else 00026 { 00027 return sciReturnRowVector( ppolyline->y_shift, ppolyline->n1 ) ; 00028 } 00029 } 00030 else 00031 { 00032 sciprint( "y_shift property does not exist for this handle.\n") ; 00033 return -1 ; 00034 } 00035 }
Here is the call graph for this function:

| int get_y_ticks_property | ( | sciPointObj * | pobj | ) |
Definition at line 18 of file get_y_ticks_property.c.
References AXES::auto_ticks, sciSubWindow::axes, buildTListForTicks(), ChooseGoodFormat(), copyFormatedArray(), destroyStringArray(), FREE, sciSubWindow::logflags, NULL, AXES::nygrads, pSUBWIN_FEATURE, ReBuildTicksLog2Lin(), SCI_SUBWIN, sciGetEntityType(), sciprint(), AXES::u_nygrads, AXES::u_ygrads, AXES::u_ylabels, and AXES::ygrads.
00019 { 00020 sciSubWindow * ppSubWin = NULL ; 00021 char c_format[5]; 00022 if ( sciGetEntityType( pobj ) != SCI_SUBWIN ) 00023 { 00024 sciprint("y_ticks property does not exists for this label.\n") ; 00025 return -1 ; 00026 } 00027 00028 ppSubWin = pSUBWIN_FEATURE( pobj ) ; 00029 00030 /* compute the c_format used for convert double to char (for labels) */ 00031 ChooseGoodFormat( c_format, ppSubWin->logflags[1], ppSubWin->axes.ygrads, ppSubWin->axes.nygrads ) ; 00032 00033 if( ppSubWin->axes.auto_ticks[1] ) 00034 { 00035 int nbtics = ppSubWin->axes.nygrads ; 00036 char ** ticklabel = NULL ; 00037 double * ticksPosition = NULL ; 00038 00039 ticksPosition = ReBuildTicksLog2Lin( ppSubWin->logflags[1], nbtics, ppSubWin->axes.ygrads ) ; 00040 00041 /* convert double to strings */ 00042 ticklabel = copyFormatedArray( ticksPosition, nbtics, c_format, 100 ) ; 00043 00044 /* construction de la tlist */ 00045 buildTListForTicks( ticksPosition, ticklabel, nbtics ) ; 00046 00047 /* free ticklabel */ 00048 destroyStringArray( ticklabel, nbtics ) ; 00049 FREE( ticksPosition ) ; 00050 return 0 ; 00051 } 00052 else /* we display the x tics specified by the user*/ 00053 { 00054 int nbtics = ppSubWin->axes.u_nygrads ; 00055 double * ticksPosition = ReBuildTicksLog2Lin( ppSubWin->logflags[1], nbtics, ppSubWin->axes.u_ygrads ) ; 00056 00057 buildTListForTicks( ticksPosition, ppSubWin->axes.u_ylabels, nbtics ) ; 00058 00059 FREE( ticksPosition ) ; 00060 return 0 ; 00061 } 00062 00063 }
Here is the call graph for this function:

| int get_ytics_coord_property | ( | sciPointObj * | pobj | ) |
Definition at line 15 of file get_ytics_coord_property.c.
References pAXES_FEATURE, SCI_AXES, sciGetEntityType(), sciprint(), and sciReturnRowVector().
00016 { 00017 if ( sciGetEntityType(pobj) != SCI_AXES ) 00018 { 00019 sciprint("ytics_coord property does not exist for this handle.\n") ; 00020 return -1 ; 00021 } 00022 return sciReturnRowVector( pAXES_FEATURE(pobj)->vy, pAXES_FEATURE(pobj)->ny ) ; 00023 }
Here is the call graph for this function:

| int get_z_bounds_property | ( | sciPointObj * | pobj | ) |
Definition at line 15 of file get_z_bounds_property.c.
References pFEC_FEATURE, SCI_FEC, sciGetEntityType(), sciprint(), and sciReturnRowVector().
00016 { 00017 if (sciGetEntityType (pobj) != SCI_FEC) 00018 { 00019 sciprint("z_bounds property does not exist for this handle.\n") ; 00020 return -1 ; 00021 } 00022 00023 return sciReturnRowVector( pFEC_FEATURE(pobj)->zminmax, 2 ) ; 00024 00025 }
Here is the call graph for this function:

| int get_z_label_property | ( | sciPointObj * | pobj | ) |
Definition at line 15 of file get_z_label_property.c.
References pSUBWIN_FEATURE, SCI_SUBWIN, sciGetEntityType(), sciGetHandle(), sciprint(), and sciReturnHandle().
00016 { 00017 if ( sciGetEntityType(pobj) != SCI_SUBWIN ) 00018 { 00019 sciprint("z_label property undefined for this object\n.") ; 00020 return -1 ; 00021 } 00022 return sciReturnHandle( sciGetHandle( pSUBWIN_FEATURE(pobj)->mon_z_label ) ) ; 00023 }
Here is the call graph for this function:

| int get_z_shift_property | ( | sciPointObj * | pobj | ) |
Definition at line 15 of file get_z_shift_property.c.
References sciPolyline::n1, NULL, pPOLYLINE_FEATURE, SCI_POLYLINE, sciGetEntityType(), sciprint(), sciReturnEmptyMatrix(), sciReturnRowVector(), and sciPolyline::z_shift.
00016 { 00017 if (sciGetEntityType (pobj) == SCI_POLYLINE ) 00018 { 00019 sciPolyline * ppolyline = pPOLYLINE_FEATURE (pobj); 00020 00021 if( ppolyline->z_shift == NULL ) 00022 { 00023 return sciReturnEmptyMatrix() ; 00024 } 00025 else 00026 { 00027 return sciReturnRowVector( ppolyline->z_shift, ppolyline->n1 ) ; 00028 } 00029 } 00030 else 00031 { 00032 sciprint( "z_shift property does not exist for this handle.\n") ; 00033 return -1 ; 00034 } 00035 }
Here is the call graph for this function:

| int get_z_ticks_property | ( | sciPointObj * | pobj | ) |
Definition at line 18 of file get_z_ticks_property.c.
References AXES::auto_ticks, sciSubWindow::axes, buildTListForTicks(), ChooseGoodFormat(), copyFormatedArray(), destroyStringArray(), FREE, sciSubWindow::logflags, NULL, AXES::nzgrads, pSUBWIN_FEATURE, ReBuildTicksLog2Lin(), SCI_SUBWIN, sciGetEntityType(), sciprint(), AXES::u_nzgrads, AXES::u_zgrads, AXES::u_zlabels, and AXES::zgrads.
00019 { 00020 sciSubWindow * ppSubWin = NULL ; 00021 char c_format[5]; 00022 if ( sciGetEntityType( pobj ) != SCI_SUBWIN ) 00023 { 00024 sciprint("z_ticks property does not exists for this label.\n") ; 00025 return -1 ; 00026 } 00027 00028 ppSubWin = pSUBWIN_FEATURE( pobj ) ; 00029 00030 /* compute the c_format used for convert double to char (for labels) */ 00031 ChooseGoodFormat( c_format, ppSubWin->logflags[2], ppSubWin->axes.zgrads, ppSubWin->axes.nzgrads ) ; 00032 00033 if( ppSubWin->axes.auto_ticks[2] ) 00034 { 00035 int nbtics = ppSubWin->axes.nzgrads ; 00036 char ** ticklabel = NULL ; 00037 double * ticksPosition = NULL ; 00038 00039 ticksPosition = ReBuildTicksLog2Lin( ppSubWin->logflags[2], nbtics, ppSubWin->axes.zgrads ) ; 00040 00041 /* convert double to strings */ 00042 ticklabel = copyFormatedArray( ticksPosition, nbtics, c_format, 100 ) ; 00043 00044 /* construction de la tlist */ 00045 buildTListForTicks( ticksPosition, ticklabel, nbtics ) ; 00046 00047 /* free ticklabel */ 00048 destroyStringArray( ticklabel, nbtics ) ; 00049 FREE( ticksPosition ) ; 00050 return 0 ; 00051 } 00052 else /* we display the x tics specified by the user*/ 00053 { 00054 int nbtics = ppSubWin->axes.u_nzgrads ; 00055 double * ticksPosition = ReBuildTicksLog2Lin( ppSubWin->logflags[2], nbtics, ppSubWin->axes.u_zgrads ) ; 00056 00057 buildTListForTicks( ticksPosition, ppSubWin->axes.u_zlabels, nbtics ) ; 00058 00059 FREE( ticksPosition ) ; 00060 return 0 ; 00061 } 00062 00063 }
Here is the call graph for this function:

| int get_zoom_box_property | ( | sciPointObj * | pobj | ) |
Definition at line 15 of file get_zoom_box_property.c.
References pSUBWIN_FEATURE, SCI_SUBWIN, sciGetEntityType(), sciGetZooming(), sciprint(), sciReturnEmptyMatrix(), and sciReturnRowVector().
00016 { 00017 if ( sciGetEntityType(pobj) != SCI_SUBWIN ) 00018 { 00019 sciprint( "zoom_box property does not exist for this handle.\n" ) ; 00020 return -1 ; 00021 } 00022 00023 if ( sciGetZooming( pobj ) ) 00024 { 00025 return sciReturnRowVector( pSUBWIN_FEATURE(pobj)->ZRect, 4 ) ; 00026 } 00027 else 00028 { 00029 return sciReturnEmptyMatrix() ; 00030 } 00031 }
Here is the call graph for this function:

| int get_zoom_state_property | ( | sciPointObj * | pobj | ) |
Definition at line 15 of file get_zoom_state_property.c.
References SCI_SUBWIN, sciGetEntityType(), sciGetZooming(), sciprint(), and sciReturnString().
00016 { 00017 if ( sciGetEntityType(pobj) != SCI_SUBWIN ) 00018 { 00019 sciprint( "zoom_state property does not exist for this handle.\n" ) ; 00020 return -1 ; 00021 } 00022 00023 if ( sciGetZooming( pobj ) ) 00024 { 00025 return sciReturnString( "on" ) ; 00026 } 00027 else { 00028 return sciReturnString( "off" ) ; 00029 } 00030 }
Here is the call graph for this function:

1.5.1