/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* This Source Code Form is subject to the terms of the Mozilla Public * 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/. */
/** * An Image wrapper that disables animation, freezing the image at its first * frame. It does this using two strategies. If this is the only instance of the * image, animation will never start, because IncrementAnimationConsumers is * ignored. If there is another instance that is animated, that's still OK, * because any imgIContainer method that is affected by animation gets its * aWhichFrame argument set to FRAME_FIRST when it passes through FrozenImage. * * XXX(seth): There a known (performance, not correctness) issue with * GetImageContainer. See the comments for that method for more information.
*/ class FrozenImage : public ImageWrapper { typedef gfx::SourceSurface SourceSurface;
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 ist noch experimentell.