LCOV - code coverage report
Current view: top level - rendering - Texture.hpp (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 0 10 0.0 %
Date: 2013-07-09 Functions: 0 3 0.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : #ifndef INCLUDED_COM_SUN_STAR_RENDERING_TEXTURE_HPP
       2             : #define INCLUDED_COM_SUN_STAR_RENDERING_TEXTURE_HPP
       3             : 
       4             : #include "sal/config.h"
       5             : 
       6             : #include "com/sun/star/rendering/Texture.hdl"
       7             : 
       8             : #include "com/sun/star/geometry/AffineMatrix2D.hpp"
       9             : #include "com/sun/star/rendering/StrokeAttributes.hpp"
      10             : #include "com/sun/star/rendering/XBitmap.hpp"
      11             : #include "com/sun/star/rendering/XParametricPolyPolygon2D.hpp"
      12             : #include "com/sun/star/uno/Reference.hxx"
      13             : #include "com/sun/star/uno/Type.hxx"
      14             : #include "cppu/unotype.hxx"
      15             : #include "sal/types.h"
      16             : #include "typelib/typeclass.h"
      17             : #include "typelib/typedescription.h"
      18             : 
      19             : namespace com { namespace sun { namespace star { namespace rendering {
      20             : 
      21           0 : inline Texture::Texture() SAL_THROW(())
      22             :     : AffineTransform()
      23             :     , Alpha(0)
      24             :     , NumberOfHatchPolygons(0)
      25             :     , Bitmap()
      26             :     , Gradient()
      27             :     , Hatching()
      28             :     , HatchAttributes()
      29             :     , RepeatModeX(0)
      30           0 :     , RepeatModeY(0)
      31             : {
      32           0 : }
      33             : 
      34           0 : inline Texture::Texture(const css::geometry::AffineMatrix2D& AffineTransform_, const double& Alpha_, const ::sal_Int32& NumberOfHatchPolygons_, const ::com::sun::star::uno::Reference< css::rendering::XBitmap >& Bitmap_, const ::com::sun::star::uno::Reference< css::rendering::XParametricPolyPolygon2D >& Gradient_, const ::com::sun::star::uno::Reference< css::rendering::XParametricPolyPolygon2D >& Hatching_, const css::rendering::StrokeAttributes& HatchAttributes_, const ::sal_Int8& RepeatModeX_, const ::sal_Int8& RepeatModeY_) SAL_THROW(())
      35             :     : AffineTransform(AffineTransform_)
      36             :     , Alpha(Alpha_)
      37             :     , NumberOfHatchPolygons(NumberOfHatchPolygons_)
      38             :     , Bitmap(Bitmap_)
      39             :     , Gradient(Gradient_)
      40             :     , Hatching(Hatching_)
      41             :     , HatchAttributes(HatchAttributes_)
      42             :     , RepeatModeX(RepeatModeX_)
      43           0 :     , RepeatModeY(RepeatModeY_)
      44             : {
      45           0 : }
      46             : 
      47             : } } } }
      48             : 
      49             : namespace com { namespace sun { namespace star { namespace rendering {
      50             : 
      51           0 : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER css::rendering::Texture const *) {
      52             :     //TODO: On certain platforms with weak memory models, the following code can result in some threads observing that the_type points to garbage
      53             :     static ::typelib_TypeDescriptionReference * the_type = 0;
      54           0 :     if (the_type == 0) {
      55           0 :         ::typelib_static_type_init(&the_type, typelib_TypeClass_STRUCT, "com.sun.star.rendering.Texture");
      56             :     }
      57           0 :     return *reinterpret_cast< ::com::sun::star::uno::Type * >(&the_type);
      58             : }
      59             : 
      60             : } } } }
      61             : 
      62             : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(SAL_UNUSED_PARAMETER css::rendering::Texture const *) SAL_THROW(()) {
      63             :     return ::cppu::UnoType< css::rendering::Texture >::get();
      64             : }
      65             : 
      66             : #endif // INCLUDED_COM_SUN_STAR_RENDERING_TEXTURE_HPP

Generated by: LCOV version 1.10