#ifdef __cplusplus extern "C" { #endif #pragma once #include "HROOT-grafType.h" #include "HROOTGrafTEllipse.h" #include "HROOTCoreTObject.h" #include "HROOTCoreTAttLine.h" #include "HROOTCoreTAttFill.h" #include "STDDeletable.h" #define TARC_DECL_VIRT(Type) \ #define TARC_DECL_NONVIRT(Type) \ Type##_p Type##_newTArc ( double x1, double y1, double radius, double phimin, double phimax ); #define TARC_DECL_ACCESSOR(Type) \ #define TARC_DEF_VIRT(Type) \ #define TARC_DEF_NONVIRT(Type) \ Type##_p Type##_newTArc ( double x1, double y1, double radius, double phimin, double phimax ) {\ Type* newp=new Type(x1, y1, radius, phimin, phimax);return from_nonconst_to_nonconst(newp);\ } #define TARC_DEF_ACCESSOR(Type) \ TELLIPSE_DECL_VIRT(TArc) TOBJECT_DECL_VIRT(TArc) TATTLINE_DECL_VIRT(TArc) TATTFILL_DECL_VIRT(TArc) DELETABLE_DECL_VIRT(TArc) TARC_DECL_VIRT(TArc) TARC_DECL_NONVIRT(TArc) TARC_DECL_ACCESSOR(TArc) #ifdef __cplusplus } #endif