/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* vim: set ts=8 sts=2 et sw=2 tw=80: */ /* 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 effect type that passes through its input unchanged but sets the effect's // output rect to a specified rect. Unlike the built-in Crop effect, the // ExtendInput effect can extend the input rect, and not just make it smaller. // The added margins are filled with transparent black. // Some effects have different output depending on their input effect's output // rect, for example the Border effect (which repeats the edges of its input // effect's output rect) or the component transfer and color matrix effects // (which can transform transparent pixels into non-transparent ones, but only // inside their input effect's output rect). class ExtendInputEffectD2D1 final : public ID2D1EffectImpl, public ID2D1DrawTransform { public: // ID2D1EffectImpl
IFACEMETHODIMP Initialize(ID2D1EffectContext* pContextInternal,
ID2D1TransformGraph* pTransformGraph);
IFACEMETHODIMP PrepareForRender(D2D1_CHANGE_TYPE changeType);
IFACEMETHODIMP SetGraph(ID2D1TransformGraph* pGraph);
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.