with GNATCOM.IInterface;

with GNATCOM.Errors;

package body MSHTML.ISVGPathSegLinetoHorizontalAbs_Interface is

   procedure Initialize (This : in out ISVGPathSegLinetoHorizontalAbs_Type) is
   begin
      Set_IID (This, IID_ISVGPathSegLinetoHorizontalAbs);
   end Initialize;

   function Pointer (This : ISVGPathSegLinetoHorizontalAbs_Type)
     return Pointer_To_ISVGPathSegLinetoHorizontalAbs
   is
   begin
      return To_Pointer_To_ISVGPathSegLinetoHorizontalAbs (Address (This));
   end Pointer;

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

   procedure Put_x
     (This : ISVGPathSegLinetoHorizontalAbs_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 : ISVGPathSegLinetoHorizontalAbs_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;

end MSHTML.ISVGPathSegLinetoHorizontalAbs_Interface;

