author Sylvestre Ledru <>
Thu, 12 Oct 2017 15:22:59 +0200
changeset 385816 d14dd0e5c41a54d4c5a82d7c82245c03854e5b5e
parent 359088 bbf16eb4f821b2d535826141f9f33f3eb49a54c6
child 388790 905239391e05483e8fb221378dd2092c5a0df8b7
permissions -rw-r--r--
Bug 1406668 - Make build/moz.configure/*.configure compliant to the pep8 format + add to the list of directories to check r=glandium MozReview-Commit-ID: 89NxxGUVjHV

/* -*- 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 */


#include "nsRect.h"

class nsIFrame;
class gfxContext;

class nsSVGFilterPaintCallback {
  typedef mozilla::image::imgDrawingParams imgDrawingParams;

   * Paint the frame contents.
   * SVG frames will have had matrix propagation set to false already.
   * Non-SVG frames have to do their own thing.
   * The caller will do a Save()/Restore() as necessary so feel free
   * to mess with context state.
   * The context will be configured to use the "user space" coordinate
   * system.
   * @param aDirtyRect the dirty rect *in user space pixels*
   * @param aTransformRoot the outermost frame whose transform should be taken
   *                       into account when painting an SVG glyph
  virtual void Paint(gfxContext& aContext, nsIFrame *aTarget,
                    const gfxMatrix& aTransform, const nsIntRect *aDirtyRect,
                    imgDrawingParams& aImgParams) = 0;