model_server/gra/src/graSymbol.h.cxx
//------------------------------------------
// set_scale
//
// Sets the scaling factor for the symbol - always call this after set_position
//------------------------------------------
set_scale
Sets the scaling factor for the symbol - always call this after set_position
set_scale Sets the scaling factor for the symbol - always call this after set_position
void graParametricSymbol::set_scale( float sx, float sy )
{
    Initialize (graParametricSymbol::set_scale);
    iv3(Transformer)* t = new iv3(Transformer)(sx, 0.0, 0.0, sy, 0.0, 0.0);
    iv3(Transformer)* local = GetTransformer();
    if(local)
    {
	float a1, a2, a3, a4, a5, a6;
	local->GetEntries(a1, a2, a3, a4, a5, a6);
	t->Translate(a5, a6);
    }
    SetTransformer(t);
    Unref(t);
}
void graParametricSymbol :: set_scale ( float sx , float sy ) { Initialize ( graParametricSymbol :: set_scale ) ; iv3 ( Transformer ) * t = new iv3 ( Transformer ) ( sx , 0.0 , 0.0 , sy , 0.0 , 0.0 ) ; iv3 ( Transformer ) * local = GetTransformer ( ) ; if ( local ) { float a1 , a2 , a3 , a4 , a5 , a6 ; local -> GetEntries ( a1 , a2 , a3 , a4 , a5 , a6 ) ; t -> Translate ( a5 , a6 ) ; } SetTransformer ( t ) ; Unref ( t ) ; }
set_scale
Sets the scaling factor for the symbol - always call this after set_position
set_scale Sets the scaling factor for the symbol - always call this after set_position