with GNATCOM.IInterface;

with GNATCOM.Errors;

package body MSHTML.ISVGTransformable_Interface is

   procedure Initialize (This : in out ISVGTransformable_Type) is
   begin
      Set_IID (This, IID_ISVGTransformable);
   end Initialize;

   function Pointer (This : ISVGTransformable_Type)
     return Pointer_To_ISVGTransformable
   is
   begin
      return To_Pointer_To_ISVGTransformable (Address (This));
   end Pointer;

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

   function Get_transform
     (This : ISVGTransformable_Type)
     return Pointer_To_ISVGAnimatedTransformList
   is
       RetVal : aliased Pointer_To_ISVGAnimatedTransformList;
   begin
      GNATCOM.Errors.Error_Check
        (Pointer (This).Vtbl.Get_transform
         (Pointer (This),
          RetVal'Unchecked_Access));

      return RetVal;
   end Get_transform;

end MSHTML.ISVGTransformable_Interface;

