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

Issue 6434049: Split SkGlyph into its own header. (Closed)

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

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+157 lines, -139 lines) Patch
M gyp/core.gyp View 1 chunk +1 line, -0 lines 0 comments Download
M include/core/SkAutoKern.h View 1 chunk +1 line, -1 line 0 comments Download
A include/core/SkGlyph.h View 1 chunk +150 lines, -0 lines 1 comment Download
M include/core/SkScalerContext.h View 2 chunks +2 lines, -138 lines 0 comments Download
M src/core/SkGlyphCache.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/ports/SkFontHost_FreeType.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M src/ports/SkFontHost_mac_coretext.cpp View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 3
bungeman
The reason for this is so that SkAutoKern can include just SkGlyph without pulling in ...
11 years, 11 months ago (2012-07-24 19:23:13 UTC) #1
reed1
lgtm can we make SkGlyph private eventually? https://codereview.appspot.com/6434049/diff/1/include/core/SkGlyph.h File include/core/SkGlyph.h (right): https://codereview.appspot.com/6434049/diff/1/include/core/SkGlyph.h#newcode16 include/core/SkGlyph.h:16: TODO in ...
11 years, 11 months ago (2012-07-24 19:25:20 UTC) #2
bungeman
11 years, 11 months ago (2012-07-24 20:36:51 UTC) #3
Committed revision 4741.

It would be nice to make SkGlyph.h private, I think the only thing we would need
to do is put the implementation of SkAutoKern::adjust into a .cpp. Then SkGlyph
can just be forward declared in SkAutoKern.h.

There aren't many users of the constants, it would be nice to put them in a
better place.
Sign in to reply to this message.

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