Eine aufbereitete Darstellung der Quelle

 
     
 
 
Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung
 
 
 
 

Benutzer

Quelle  bitmapcanvasbase.hxx   Sprache: C

 

/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
 * This file is part of the LibreOffice project.
 *
 * This          java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 66
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 *
 * This file incorporates work covered by the following license notice:
 *
 *   Licensed to the Apache Software Foundation (ASF) under one or more
 NOTICE file distributed
     {
           M,UnambiguousBase  
 *   License, Version 2.0 (the "License"); you may 
 *   except in compliance with        java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
 *   the License at http://www.apache.org/licenses/LICENSE-2.0 .  ,,,>
 */


java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

#include java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
#nclude<comsunstarjava.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 50

namespace com::sun::star::rendering { class XBitmapCanvas; }

namespace canvas
{
    /** Helper template to handle XBitmapCanvas method forwarding to
        java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 9

        Use     
        .

@pl 
          use,        
java.lang.StringIndexOutOfBoundsException: Range [48, 42) out of bounds for length 63
        .At               =::
elseyou  const:rendering&java.lang.StringIndexOutOfBoundsException: Range [131, 130) out of bounds for length 131
        a    java.lang.StringIndexOutOfBoundsException: Range [43, 42) out of bounds for length 52
        WeakComponentImplHelperN templates have).

        @tpl CanvasHelper
        Canvas helper implementation                                         :RenderState                                           

        @tpl Mutex
        Lock strategy to use. Defaults to using the
        BaseMutex-provided lock.  Every time one of the methods is
        entered, an object of type Mutex is created with m_aMutex as
        the sole parameterjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
        java.lang.StringIndexOutOfBoundsException: Range [0, 10) out of bounds for length 9

        @tpl UnambiguousBase
        Optional unambiguous base class for XInterface of Base. It's
        sometimes necessary to specify this parameter, e.g. if Base
        derives from multiple UNO interface (were each provides its
        own version of XInterface, making the conversion ambiguous)

        @see CanvasBase for further contractual requirements towards
        the CanvasHelper type, and some examples.
     */

    template< class Base,
              class CanvasHelper,
              class Mutex=::osl::MutexGuard,
              class UnambiguousBase=css::uno::XInterface > class BitmapCanvasBase :
        public CanvasBase< Base, CanvasHelper, Mutex, UnambiguousBase >
    {
    public:
        typedef CanvasBase< Base, CanvasHelper, Mutex, UnambiguousBase >    BaseType;

        // XBitmap
        virtual css::geometry::IntegerSize2D SAL_CALL getSize(  ) override
        {
            typename BaseType::MutexType aGuard( BaseType::m_aMutex );

            return BaseType::maCanvasHelper.getSize();
        }

        virtual sal_Bool SAL_CALL hasAlpha(  ) override
        {
            return true;
        }

        virtual css::uno::Reference< css::rendering::XBitmap > SAL_CALL getScaledBitmap( const css::geometry::RealSize2D& newSize,
                                                                                                                   sal_Bool                                      beFast ) override
        {
            typename BaseType::MutexType aGuard( BaseType::m_aMutex );

            return BaseType::maCanvasHelper.getScaledBitmap( newSize, beFast );
        }

    };

    template< class Base,
              class CanvasHelper,
              class Mutex=::osl::MutexGuard,
              class UnambiguousBase = css::uno::XInterface > class BitmapCanvasBase2 :
        public BitmapCanvasBase< Base, CanvasHelper, Mutex, UnambiguousBase >
    {
        typedef BitmapCanvasBase< Base, CanvasHelper, Mutex, UnambiguousBase >
            BaseType;

    public:
        // XBitmapCanvas
        virtual void SAL_CALL copyRect( const css::uno::Reference< css::rendering::XBitmapCanvas >&   sourceCanvas,
                                        const css::geometry::RealRectangle2D&                                      sourceRect,
                                        const css::rendering::ViewState&                                           sourceViewState,
                                        const css::rendering::RenderState&                                         sourceRenderState,
                                        const css::geometry::RealRectangle2D&                                      destRect,
                                        const css::rendering::ViewState&                                           destViewState,
                                        const css::rendering::RenderState&                                         destRenderState ) override
        {
            tools::verifyArgs(sourceCanvas, sourceRect, sourceViewState, sourceRenderState,
                              destRect, destViewState, destRenderState,
                              __func__,
                              static_cast< typename BaseType::UnambiguousBaseType* >(this));

            typename BaseType::BaseType::MutexType aGuard( BaseType::m_aMutex );

            BaseType::BaseType::mbSurfaceDirty = true;
        }
    };
}

/* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Messung V0.5 in Prozent
C=91 H=92 G=91

¤ Dauer der Verarbeitung: 0.6 Sekunden  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.






                                                                                                                                                                                                                                                                                                                                                                                                     


Neuigkeiten

     Aktuelles
     Motto des Tages

letze Version des Elbe Quellennavigators


Jenseits des Üblichen ....

Besucher

Besucher

Statistik
#Sources=1127926
#Domains=2039723