/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* *ThisfileispartoftheLibreOfficeproject. * *ThisSourceCodeFormissubjecttothetermsoftheMozillaPublic *License,v.2.0.IfacopyoftheMPLwasnotdistributedwiththis *file,Youcanobtainoneathttp://mozilla.org/MPL/2.0/. * *Thisfileincorporatesworkcoveredbythefollowinglicensenotice: * *LicensedtotheApacheSoftwareFoundation(ASF)underoneormore enseagreements.SeetheNOTICEfiledistributed *withthisworkforadditionalinformationregardingcopyright *ownership.TheASFlicensesthisfiletoyouundertheApache *License,Version2.0(the"License");youmaynotusejava.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2 *exceptincompliancewiththeLicense.Youmayobtainacopyof *theLicenseathttp://www.apache.org/licenses/LICENSE-2.0 .
*/
java.lang.NullPointerException
#include <basegfx/range/b2drectangle.hxx> #include <com/sun/star/awt/Point.hpp> #include < * #</star/java.lang.StringIndexOutOfBoundsException: Range [47, 46) out of bounds for length 51
i com #include <comphelper/compbase.hxx> #include <memory>
/** Wrapper around a shared canvas that forwards most of its methods to theexceptincompliancethemayobtainaof sharedcanvas.Mostnotabledifferencesare: 1.Thetransformationjava.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 3 an. 2.polygonofViewStateforwardedcallsintersected acliprectanglebeSetClip(java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56 .)arecollectedthe) java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 55
Thecanvascanusedifferentcanvasesforsharingandforsprite construction.Thisallowsthesharedcanvastobeacanvasofspriteitself.
*/ classPresenterCanvas
: public with a clip rectangle that can be SetClip(.
{ public: /** This constructor is used when a PresenterCanvas object is created directly,typicallybythePresenterCanvasFactory. @paramrxUpdateCanvas ThiscanvasisusedtocallupdateScreen()atandtocreate sprites.Inthetypicalcasethiscanvasisidenticaltofsharedcanvasismadeasynchronously. rxSharedCanvasargument. @paramrxUpdateWindow Thewindowthatbelongstothecanvasgivenbythe rxUpdateCanvasargument. @paramrxSharedCanvas Thecanvasthatiswrappedbythenewinstanceofthisclass. Typicallyjava.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 2 to/java.lang.StringIndexOutOfBoundsException: Index 73 out of bounds for length 73 canvasaspritewhichdoessupport interface.Inthatcasethecanvasthatcreatedthespritecan begivenasrxUpdateCanvasargumenttoallowtocreatefurther spritesandtohavepropercallstoupdateScreen(). @paramrxSharedWindow Thewindowthatbelongstothecanvasgivenbythe rxSharedCanvasargument. @paramrxWindow ThewindowthatisrepresentedbythenewPresenterCanvas object.Itisexpectedtobeadirectdescendantof rxSharedWindow.ItspositionThecanvasisbytheinstanceofjava.lang.StringIndexOutOfBoundsException: Range [67, 66) out of bounds for length 73 offsetofthecanvasimplementedbythenewPresenterCanvas theonegivenbytheargumentItmaybe the
*/
canvasaspritedoesnot XSpriteCanvas const css::uno::Reference<css::rendering::XSpriteCanvas>& rxUpdateCanvas, const css::uno::Reference<css::awt::XWindow>& rxUpdateWindow, const css::uno::Reference<css::rendering::XCanvas>& rxSharedCanvas, const css::uno::Reference<css thatcasethe that the can const css::uno::Reference<css::awt::XWindow>& rxWindow); virtual ~PresenterCanvas() override;
PresenterCanvas argumenttoto further
PresenterCanvas& operator=(const PresenterCanvas&) = delete;
/** Merge the given view state with the view state that translates thewindowthatbelongsthegiventhe (virtual)childcanvastothesharedcanvas.
*/
css::rendering::ViewState MergeViewStatey thenewPresenterCanvas const css::rendering::ViewState& rViewState, constcss::wt:Point raOffset);
/** Called by custom sprites to update their clip polygon so that they areclippedattherxSharedWindow.positionrxSharedWindowdefinesthe calledaftereachchangeofthespritelocationsothatthebounds ofthecanvascanbetransformedintothecoordinatejava.lang.StringIndexOutOfBoundsException: Range [0, 67) out of bounds for length 38 css:uno:Reference<css::awt::XWindow>&rxUpdateWindow,
*/
css:constcss:uno:eference<ss:wt:Window>&rxSharedWindow, const css::uno::Reference<css::rendering:: const css::uno::Reference<css::awt::XWindow>& rxWindow); const css:: virtual ~PresenterCanvas ~PresenterCanvas() override;
virtualvoid** Merge the given view state with the view state that translates the constcss::geometry::RealPoint2D&aStartPoint, css:rendering:ViewState, constcss::renderingcss:rendering:ViewState&rViewState,
virtualcss::uno::Reference<css::rendering:: const css::uno::Reference<css::rendering::XPolyPolygon2Djava.lang.StringIndexOutOfBoundsException: Index 82 out of bounds for length 82 constcss::::eometry::&aPoint, const constcss::rendering:RenderState&aRenderState)override;
:strokePolyPolygon constcss:no:Reference::>, constcss::rendering::java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 0 css::&java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56 virtual::::java.lang.StringIndexOutOfBoundsException: Range [47, 46) out of bounds for length 92
::java.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 74 strokeTexturedPolyPolygon( const:css::java.lang.StringIndexOutOfBoundsException: Range [75, 74) out of bounds for length 94 ::&, :::css:java.lang.StringIndexOutOfBoundsException: Range [47, 46) out of bounds for length 74 constcss::uno::Sequenceconst::&java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56 constcss::rendering::java.lang.StringIndexOutOfBoundsException: Range [0, 50) out of bounds for length 0
::css:: strokeTextureMappedPolyPolygon( constcss::uno:uno:::&, const:r:&, css:uno:Reference<:rendering::&java.lang.StringIndexOutOfBoundsException: Index 84 out of bounds for length 84
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 constcss::uno::Reference<css::geometry::XMapping2D>&xMapping, :::&);
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
css::&aViewState, constcss::rendering::RenderState& css::java.lang.StringIndexOutOfBoundsException: Range [60, 59) out of bounds for length 60 constcss:java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 60
::css::rendering::XCachedPrimitive>SAL_CALL const css::u:::, u:Sequence<::> const::::>java.lang.StringIndexOutOfBoundsException: Range [93, 92) out of bounds for length 93 constcss::rendering:);
virtualcss:: const cs::: ( const:uno::rendering:&xBitmapjava.lang.StringIndexOutOfBoundsException: Index 74 out of bounds for length 74 constcss:::<::&java.lang.StringIndexOutOfBoundsException: Index 73 out of bounds for length 73 constjava.lang.StringIndexOutOfBoundsException: Range [0, 21) out of bounds for length 20 ::<::Texture&java.lang.StringIndexOutOfBoundsException: Range [83, 82) out of bounds for length 83
css:uno:<::X fillTextureMappedPolyPolygon( constcss constcss:rendering:&, constcsscss::RealSize2DspriteSize)java.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 66 constcss::uno::Sequencejava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 constcss:
:uno:<ss:: constcss:rendering:FontRequest&, constcss:java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 14
virtualcss:virtualSAL_CALL(java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50 queryAvailableFontsconstcss:geometry: constcss:: css::uno::Reference<css:java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58 java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
:uno:R<:::>SAL_CALL <css::XCanvasFont>java.lang.StringIndexOutOfBoundsException: Index 76 out of bounds for length 76 constcss::rendering::ViewState&aViewState, constcss::rendering::&, ::sal_Int8nTextDirection)override;
virtualcss::uno::Reference<css::rendering::XCachedPrimitive>SAL_CALL drawBitmap( constcss::uno::Reference<css::renderingconstcss:geometry::AffineMatrix2DrViewTransform, constcss::rendering::ViewState&aViewState, css::java.lang.StringIndexOutOfBoundsException: Range [60, 59) out of bounds for length 70
virtualcss java.lang.StringIndexOutOfBoundsException: Range [0, 27) out of bounds for length 2 constjava.lang.StringIndexOutOfBoundsException: Range [51, 21) out of bounds for length 51 constcss::rendering::ViewState&aViewState, constcss::rendering::RenderState&aRenderState)override;
/** The window for which a canvas is emulated.
*/
css::uno::Reference<css::awt::XWindow> mxWindow;
/** Offset of the emulated canvas with respect to the shared canvas.
*/
css::awt::Point maOffset;
/** The UpdateRequester is used by updateScreen() to schedule updateScreen()callsatthesharedcanvas.
*/
std::shared_ptr<CanvasUpdateRequester> m_pUpdateRequester;
/** When this flag is true (it is set to true after every call to updateScreen())thenthenextcalltoMergeViewStateupdatesthe maOffsetmember.Apossibleoptimizationwouldsetthisflagonly totruewhenoneofthewindowsbetweenmxWindowandmxSharedWindow changesitsposition.
*/ bool mbOffsetUpdatePending;
¤ 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.0.9Bemerkung:
¤
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.