with GNATCOM.IInterface;

with GNATCOM.Errors;

package body MSHTML.ISVGPathSegArcRel_Interface is

   procedure Initialize (This : in out ISVGPathSegArcRel_Type) is
   begin
      Set_IID (This, IID_ISVGPathSegArcRel);
   end Initialize;

   function Pointer (This : ISVGPathSegArcRel_Type)
     return Pointer_To_ISVGPathSegArcRel
   is
   begin
      return To_Pointer_To_ISVGPathSegArcRel (Address (This));
   end Pointer;

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

   procedure Put_x
     (This : ISVGPathSegArcRel_Type;
      p    : Interfaces.C.C_float)
   is
   begin
      GNATCOM.Errors.Error_Check
        (Pointer (This).Vtbl.Put_x
         (Pointer (This),
          p));

   end Put_x;

   function Get_x
     (This : ISVGPathSegArcRel_Type)
     return Interfaces.C.C_float
   is
       RetVal : aliased Interfaces.C.C_float;
   begin
      GNATCOM.Errors.Error_Check
        (Pointer (This).Vtbl.Get_x
         (Pointer (This),
          RetVal'Unchecked_Access));

      return RetVal;
   end Get_x;

   procedure Put_y
     (This : ISVGPathSegArcRel_Type;
      p    : Interfaces.C.C_float)
   is
   begin
      GNATCOM.Errors.Error_Check
        (Pointer (This).Vtbl.Put_y
         (Pointer (This),
          p));

   end Put_y;

   function Get_y
     (This : ISVGPathSegArcRel_Type)
     return Interfaces.C.C_float
   is
       RetVal : aliased Interfaces.C.C_float;
   begin
      GNATCOM.Errors.Error_Check
        (Pointer (This).Vtbl.Get_y
         (Pointer (This),
          RetVal'Unchecked_Access));

      return RetVal;
   end Get_y;

   procedure Put_r1
     (This : ISVGPathSegArcRel_Type;
      p    : Interfaces.C.C_float)
   is
   begin
      GNATCOM.Errors.Error_Check
        (Pointer (This).Vtbl.Put_r1
         (Pointer (This),
          p));

   end Put_r1;

   function Get_r1
     (This : ISVGPathSegArcRel_Type)
     return Interfaces.C.C_float
   is
       RetVal : aliased Interfaces.C.C_float;
   begin
      GNATCOM.Errors.Error_Check
        (Pointer (This).Vtbl.Get_r1
         (Pointer (This),
          RetVal'Unchecked_Access));

      return RetVal;
   end Get_r1;

   procedure Put_r2
     (This : ISVGPathSegArcRel_Type;
      p    : Interfaces.C.C_float)
   is
   begin
      GNATCOM.Errors.Error_Check
        (Pointer (This).Vtbl.Put_r2
         (Pointer (This),
          p));

   end Put_r2;

   function Get_r2
     (This : ISVGPathSegArcRel_Type)
     return Interfaces.C.C_float
   is
       RetVal : aliased Interfaces.C.C_float;
   begin
      GNATCOM.Errors.Error_Check
        (Pointer (This).Vtbl.Get_r2
         (Pointer (This),
          RetVal'Unchecked_Access));

      return RetVal;
   end Get_r2;

   procedure Put_angle
     (This : ISVGPathSegArcRel_Type;
      p    : Interfaces.C.C_float)
   is
   begin
      GNATCOM.Errors.Error_Check
        (Pointer (This).Vtbl.Put_angle
         (Pointer (This),
          p));

   end Put_angle;

   function Get_angle
     (This : ISVGPathSegArcRel_Type)
     return Interfaces.C.C_float
   is
       RetVal : aliased Interfaces.C.C_float;
   begin
      GNATCOM.Errors.Error_Check
        (Pointer (This).Vtbl.Get_angle
         (Pointer (This),
          RetVal'Unchecked_Access));

      return RetVal;
   end Get_angle;

   procedure Put_largeArcFlag
     (This : ISVGPathSegArcRel_Type;
      p    : GNATCOM.Types.VARIANT_BOOL)
   is
   begin
      GNATCOM.Errors.Error_Check
        (Pointer (This).Vtbl.Put_largeArcFlag
         (Pointer (This),
          p));

   end Put_largeArcFlag;

   function Get_largeArcFlag
     (This : ISVGPathSegArcRel_Type)
     return GNATCOM.Types.VARIANT_BOOL
   is
       RetVal : aliased GNATCOM.Types.VARIANT_BOOL;
   begin
      GNATCOM.Errors.Error_Check
        (Pointer (This).Vtbl.Get_largeArcFlag
         (Pointer (This),
          RetVal'Unchecked_Access));

      return RetVal;
   end Get_largeArcFlag;

   procedure Put_sweepFlag
     (This : ISVGPathSegArcRel_Type;
      p    : GNATCOM.Types.VARIANT_BOOL)
   is
   begin
      GNATCOM.Errors.Error_Check
        (Pointer (This).Vtbl.Put_sweepFlag
         (Pointer (This),
          p));

   end Put_sweepFlag;

   function Get_sweepFlag
     (This : ISVGPathSegArcRel_Type)
     return GNATCOM.Types.VARIANT_BOOL
   is
       RetVal : aliased GNATCOM.Types.VARIANT_BOOL;
   begin
      GNATCOM.Errors.Error_Check
        (Pointer (This).Vtbl.Get_sweepFlag
         (Pointer (This),
          RetVal'Unchecked_Access));

      return RetVal;
   end Get_sweepFlag;

end MSHTML.ISVGPathSegArcRel_Interface;

