with GNATCOM.IInterface;

with GNATCOM.Errors;

package body MSHTML.ISVGRadialGradientElement_Interface is

   procedure Initialize (This : in out ISVGRadialGradientElement_Type) is
   begin
      Set_IID (This, IID_ISVGRadialGradientElement);
   end Initialize;

   function Pointer (This : ISVGRadialGradientElement_Type)
     return Pointer_To_ISVGRadialGradientElement
   is
   begin
      return To_Pointer_To_ISVGRadialGradientElement (Address (This));
   end Pointer;

   procedure Attach (This    : in out ISVGRadialGradientElement_Type;
                     Pointer : in     Pointer_To_ISVGRadialGradientElement)
   is
   begin
      Attach (This, GNATCOM.IInterface.To_Pointer_To_IUnknown
              (Pointer.all'Address));
   end Attach;

   procedure PutRef_cx
     (This : ISVGRadialGradientElement_Type;
      p    : Pointer_To_ISVGAnimatedLength)
   is
   begin
      GNATCOM.Errors.Error_Check
        (Pointer (This).Vtbl.PutRef_cx
         (Pointer (This),
          p));

   end PutRef_cx;

   function Get_cx
     (This : ISVGRadialGradientElement_Type)
     return Pointer_To_ISVGAnimatedLength
   is
       RetVal : aliased Pointer_To_ISVGAnimatedLength;
   begin
      GNATCOM.Errors.Error_Check
        (Pointer (This).Vtbl.Get_cx
         (Pointer (This),
          RetVal'Unchecked_Access));

      return RetVal;
   end Get_cx;

   procedure PutRef_cy
     (This : ISVGRadialGradientElement_Type;
      p    : Pointer_To_ISVGAnimatedLength)
   is
   begin
      GNATCOM.Errors.Error_Check
        (Pointer (This).Vtbl.PutRef_cy
         (Pointer (This),
          p));

   end PutRef_cy;

   function Get_cy
     (This : ISVGRadialGradientElement_Type)
     return Pointer_To_ISVGAnimatedLength
   is
       RetVal : aliased Pointer_To_ISVGAnimatedLength;
   begin
      GNATCOM.Errors.Error_Check
        (Pointer (This).Vtbl.Get_cy
         (Pointer (This),
          RetVal'Unchecked_Access));

      return RetVal;
   end Get_cy;

   procedure PutRef_r
     (This : ISVGRadialGradientElement_Type;
      p    : Pointer_To_ISVGAnimatedLength)
   is
   begin
      GNATCOM.Errors.Error_Check
        (Pointer (This).Vtbl.PutRef_r
         (Pointer (This),
          p));

   end PutRef_r;

   function Get_r
     (This : ISVGRadialGradientElement_Type)
     return Pointer_To_ISVGAnimatedLength
   is
       RetVal : aliased Pointer_To_ISVGAnimatedLength;
   begin
      GNATCOM.Errors.Error_Check
        (Pointer (This).Vtbl.Get_r
         (Pointer (This),
          RetVal'Unchecked_Access));

      return RetVal;
   end Get_r;

   procedure PutRef_fx
     (This : ISVGRadialGradientElement_Type;
      p    : Pointer_To_ISVGAnimatedLength)
   is
   begin
      GNATCOM.Errors.Error_Check
        (Pointer (This).Vtbl.PutRef_fx
         (Pointer (This),
          p));

   end PutRef_fx;

   function Get_fx
     (This : ISVGRadialGradientElement_Type)
     return Pointer_To_ISVGAnimatedLength
   is
       RetVal : aliased Pointer_To_ISVGAnimatedLength;
   begin
      GNATCOM.Errors.Error_Check
        (Pointer (This).Vtbl.Get_fx
         (Pointer (This),
          RetVal'Unchecked_Access));

      return RetVal;
   end Get_fx;

   procedure PutRef_fy
     (This : ISVGRadialGradientElement_Type;
      p    : Pointer_To_ISVGAnimatedLength)
   is
   begin
      GNATCOM.Errors.Error_Check
        (Pointer (This).Vtbl.PutRef_fy
         (Pointer (This),
          p));

   end PutRef_fy;

   function Get_fy
     (This : ISVGRadialGradientElement_Type)
     return Pointer_To_ISVGAnimatedLength
   is
       RetVal : aliased Pointer_To_ISVGAnimatedLength;
   begin
      GNATCOM.Errors.Error_Check
        (Pointer (This).Vtbl.Get_fy
         (Pointer (This),
          RetVal'Unchecked_Access));

      return RetVal;
   end Get_fy;

end MSHTML.ISVGRadialGradientElement_Interface;

