Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(763)

Issue 5319064: Support underline and strikethrough painting in |drawPosText()| API.

Can't Edit
Can't Publish Mail
Start Review
Created:
12 years, 11 months ago by Alexei Svitkine
Modified:
12 years, 11 months ago
CC:
skia-review_googlegroups.com, bungeman
Base URL:
http://skia.googlecode.com/svn/trunk/
Visibility:
Public.

Description

Support underline and strikethrough painting in |drawPosText()| API. Moves the drawing of the decorators from SkCanvas.cpp to SkDraw.cpp

Patch Set 1 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats ( 96 lines, -83 lines) Patch
M include/core/SkCanvas.h View 2 chunks 1 line, -6 lines 0 comments Download
M include/core/SkDraw.h View 1 chunk 10 lines, -0 lines 0 comments Download
M src/core/SkCanvas.cpp View 3 chunks 1 line, -75 lines 0 comments Download
M src/core/SkDraw.cpp View 9 chunks 84 lines, -2 lines 0 comments Download

Messages

Total messages: 11
Alexei Svitkine
12 years, 11 months ago (2011-10-31 15:32:16 UTC) #1
Alexei Svitkine
12 years, 11 months ago (2011-10-31 15:35:46 UTC) #2
Steve VanDeBogart
You would also need to call drawTextDecorations from the appropriate methods in SkPDFDevice.cpp
12 years, 11 months ago (2011-10-31 17:03:32 UTC) #3
reed1
agreed, I don't think we can take the patch as is, since it will break ...
12 years, 11 months ago (2011-10-31 17:06:02 UTC) #4
reed1
brian to track gpu-device
12 years, 11 months ago (2011-10-31 17:06:37 UTC) #5
Alexei Svitkine
Do they all call the same SkDraw1Glyph::Proc functions, or is that also specific to SkDraw? ...
12 years, 11 months ago (2011-10-31 17:09:23 UTC) #6
Steve VanDeBogart
No, if you take a look, SkPDFDevice doesn't use the draw infrastructure aside from extracting ...
12 years, 11 months ago (2011-10-31 17:11:07 UTC) #7
bsalomon
We should have a GM test that exercises the underline and strikethrough decorations.
12 years, 11 months ago (2011-10-31 17:52:39 UTC) #8
Alexei Svitkine
Thinking about this some more: The reason I moved the decoration code to SkDraw.cpp was ...
12 years, 11 months ago (2011-11-01 14:40:31 UTC) #9
reed1
I would like to remove underline/strikethru from the skia featureset. We already have lots of ...
12 years, 11 months ago (2011-11-01 15:33:06 UTC) #10
reed1
12 years, 11 months ago (2011-11-01 15:33:22 UTC) #11

Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b