Project: skia Issues People Development process History Sign in
New issue
Advanced search Search tips
Issue 238 SkPDF backend does not support SkColorFilter.
Starred by 8 users Project Member Reported by vandebo@chromium.org, May 13 2011 Back to list
Status: Accepted
Owner:
Area: PDF
Priority: Low
Type: Feature

Blocking:
issue chromium:497732



Sign in to add a comment
The PDF backend does not support SkColorFilter.  As is, the color filter interface seems to require a raster implementation.
 
Comment 1 by epoger@google.com, May 17 2011
Owner: vandebo@chromium.org
Project Member Comment 2 by edisonn@google.com, Oct 24 2013
Labels: Area-PDF
Project Member Comment 3 by fmalita@chromium.org, Jun 30 2015
Blocking: chromium:497732
Project Member Comment 4 by caryclark@google.com, Sep 2 2015
Owner: halcanary@google.com
Moving all PDF issues assigned to vandebo to halcanary
Project Member Comment 5 by halcanary@google.com, Sep 3 2015
Project Member Comment 6 by halcanary@google.com, Apr 19 2016
Cc: halcanary@google.com
 Issue 4378  has been merged into this issue.
Project Member Comment 7 by halcanary@google.com, Apr 19 2016
Blocking: -chromium:497732 chromium:497732
Cc: -halcanary@google.com
Summary: SkPDF backend does not support SkColorFilter. (was: [PDF] The PDF backend does not support SkColorFilter.)
https://fiddle.skia.org/c/b330e48b2497ff27260c79927504559d

    #include "gm.h"
    #include "SkColorMatrixFilter.h"
    DEF_SIMPLE_GM(colorfilter, canvas, 32, 32) {
        SkColorMatrix cm;
        cm.setSaturation(0.0f);
        SkPaint p;
        p.setColorFilter(
                SkColorFilter::MakeMatrixFilterRowMajor255(cm.fMat));
        p.setColor(SK_ColorRED);
        canvas->drawPaint(p);
    }


Project Member Comment 8 by hcm@google.com, Nov 22
Labels: Type-Feature
Sign in to add a comment