with GNATCOM.IInterface;

with GNATCOM.Errors;

package body MSHTML.ISVGTextPositioningElement_Interface is

   procedure Initialize (This : in out ISVGTextPositioningElement_Type) is
   begin
      Set_IID (This, IID_ISVGTextPositioningElement);
   end Initialize;

   function Pointer (This : ISVGTextPositioningElement_Type)
     return Pointer_To_ISVGTextPositioningElement
   is
   begin
      return To_Pointer_To_ISVGTextPositioningElement (Address (This));
   end Pointer;

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

   procedure PutRef_x
     (This : ISVGTextPositioningElement_Type;
      p    : Pointer_To_ISVGAnimatedLengthList)
   is
   begin
      GNATCOM.Errors.Error_Check
        (Pointer (This).Vtbl.PutRef_x
         (Pointer (This),
          p));

   end PutRef_x;

   function Get_x
     (This : ISVGTextPositioningElement_Type)
     return Pointer_To_ISVGAnimatedLengthList
   is
       RetVal : aliased Pointer_To_ISVGAnimatedLengthList;
   begin
      GNATCOM.Errors.Error_Check
        (Pointer (This).Vtbl.Get_x
         (Pointer (This),
          RetVal'Unchecked_Access));

      return RetVal;
   end Get_x;

   procedure PutRef_y
     (This : ISVGTextPositioningElement_Type;
      p    : Pointer_To_ISVGAnimatedLengthList)
   is
   begin
      GNATCOM.Errors.Error_Check
        (Pointer (This).Vtbl.PutRef_y
         (Pointer (This),
          p));

   end PutRef_y;

   function Get_y
     (This : ISVGTextPositioningElement_Type)
     return Pointer_To_ISVGAnimatedLengthList
   is
       RetVal : aliased Pointer_To_ISVGAnimatedLengthList;
   begin
      GNATCOM.Errors.Error_Check
        (Pointer (This).Vtbl.Get_y
         (Pointer (This),
          RetVal'Unchecked_Access));

      return RetVal;
   end Get_y;

   procedure PutRef_dx
     (This : ISVGTextPositioningElement_Type;
      p    : Pointer_To_ISVGAnimatedLengthList)
   is
   begin
      GNATCOM.Errors.Error_Check
        (Pointer (This).Vtbl.PutRef_dx
         (Pointer (This),
          p));

   end PutRef_dx;

   function Get_dx
     (This : ISVGTextPositioningElement_Type)
     return Pointer_To_ISVGAnimatedLengthList
   is
       RetVal : aliased Pointer_To_ISVGAnimatedLengthList;
   begin
      GNATCOM.Errors.Error_Check
        (Pointer (This).Vtbl.Get_dx
         (Pointer (This),
          RetVal'Unchecked_Access));

      return RetVal;
   end Get_dx;

   procedure PutRef_dy
     (This : ISVGTextPositioningElement_Type;
      p    : Pointer_To_ISVGAnimatedLengthList)
   is
   begin
      GNATCOM.Errors.Error_Check
        (Pointer (This).Vtbl.PutRef_dy
         (Pointer (This),
          p));

   end PutRef_dy;

   function Get_dy
     (This : ISVGTextPositioningElement_Type)
     return Pointer_To_ISVGAnimatedLengthList
   is
       RetVal : aliased Pointer_To_ISVGAnimatedLengthList;
   begin
      GNATCOM.Errors.Error_Check
        (Pointer (This).Vtbl.Get_dy
         (Pointer (This),
          RetVal'Unchecked_Access));

      return RetVal;
   end Get_dy;

   procedure PutRef_rotate
     (This : ISVGTextPositioningElement_Type;
      p    : Pointer_To_ISVGAnimatedNumberList)
   is
   begin
      GNATCOM.Errors.Error_Check
        (Pointer (This).Vtbl.PutRef_rotate
         (Pointer (This),
          p));

   end PutRef_rotate;

   function Get_rotate
     (This : ISVGTextPositioningElement_Type)
     return Pointer_To_ISVGAnimatedNumberList
   is
       RetVal : aliased Pointer_To_ISVGAnimatedNumberList;
   begin
      GNATCOM.Errors.Error_Check
        (Pointer (This).Vtbl.Get_rotate
         (Pointer (This),
          RetVal'Unchecked_Access));

      return RetVal;
   end Get_rotate;

end MSHTML.ISVGTextPositioningElement_Interface;

