with GNATCOM.IInterface;

with GNATCOM.Errors;

package body MSHTML.ISVGPathSegCurvetoQuadraticSmoothRel_Interface is

   procedure Initialize (This : in out ISVGPathSegCurvetoQuadraticSmoothRel_Type) is
   begin
      Set_IID (This, IID_ISVGPathSegCurvetoQuadraticSmoothRel);
   end Initialize;

   function Pointer (This : ISVGPathSegCurvetoQuadraticSmoothRel_Type)
     return Pointer_To_ISVGPathSegCurvetoQuadraticSmoothRel
   is
   begin
      return To_Pointer_To_ISVGPathSegCurvetoQuadraticSmoothRel (Address (This));
   end Pointer;

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

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

end MSHTML.ISVGPathSegCurvetoQuadraticSmoothRel_Interface;

