Import Geant4 0.0.0 source tree
This commit is contained in:
@@ -0,0 +1,44 @@
|
||||
// This code implementation is the intellectual property of
|
||||
// the RD44 GEANT4 collaboration.
|
||||
//
|
||||
// By copying, distributing or modifying the Program (or any work
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4Text.icc,v 2.0 1998/07/02 17:30:13 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-00 $
|
||||
//
|
||||
//
|
||||
// John Allison 17/11/96.
|
||||
|
||||
inline G4String G4Text::GetText () const {
|
||||
return fText;
|
||||
}
|
||||
|
||||
inline G4Text::Layout G4Text::GetLayout () const {
|
||||
return fLayout;
|
||||
}
|
||||
|
||||
inline void G4Text::SetText (const G4String& text) {
|
||||
fText = text;
|
||||
}
|
||||
|
||||
inline void G4Text::SetLayout (G4Text::Layout layout) {
|
||||
fLayout = layout;
|
||||
}
|
||||
|
||||
inline G4double G4Text::GetXOffset () const
|
||||
{
|
||||
return fXOffset ;
|
||||
}
|
||||
|
||||
inline G4double G4Text::GetYOffset () const
|
||||
{
|
||||
return fYOffset ;
|
||||
}
|
||||
|
||||
inline void G4Text::SetOffset ( double x_offset, double y_offset )
|
||||
{
|
||||
fXOffset = x_offset ;
|
||||
fYOffset = y_offset ;
|
||||
}
|
||||
Reference in New Issue
Block a user