Sanitizing source files in Housekeeper-Nightly
git-svn-id: http://skia.googlecode.com/svn/trunk@10402 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
parent
791386c77d
commit
27e21fe577
@ -434,7 +434,7 @@ static void pack4xHToLCD16(const SkBitmap& src, const SkMask& dst,
|
||||
// This means using every 4th FIR output value of each FIR and discarding the rest.
|
||||
// The FIRs are aligned, and the coefficients reach 5 samples to each side of their 'center'.
|
||||
// (For r and b this is technically incorrect, but the coeffs outside round to zero anyway.)
|
||||
|
||||
|
||||
// These are in some fixed point repesentation.
|
||||
// Adding up to more than one simulates ink spread.
|
||||
// For implementation reasons, these should never add up to more than two.
|
||||
|
@ -607,7 +607,7 @@ SkScalerContext_Windows::SkScalerContext_Windows(SkTypeface* rawTypeface,
|
||||
}
|
||||
SetGraphicsMode(fDDC, GM_ADVANCED);
|
||||
SetBkMode(fDDC, TRANSPARENT);
|
||||
|
||||
|
||||
SkPoint h = SkPoint::Make(SK_Scalar1, 0);
|
||||
// A is the total matrix.
|
||||
SkMatrix A;
|
||||
@ -1355,7 +1355,7 @@ void SkScalerContext_Windows::generateImage(const SkGlyph& glyph) {
|
||||
|
||||
class GDIGlyphbufferPointIter {
|
||||
public:
|
||||
GDIGlyphbufferPointIter(const uint8_t* glyphbuf, DWORD total_size)
|
||||
GDIGlyphbufferPointIter(const uint8_t* glyphbuf, DWORD total_size)
|
||||
: fHeaderIter(glyphbuf, total_size), fCurveIter(), fPointIter()
|
||||
{ }
|
||||
|
||||
@ -1394,7 +1394,7 @@ private:
|
||||
/** Iterates over all of the polygon headers in a glyphbuf. */
|
||||
class GDIPolygonHeaderIter {
|
||||
public:
|
||||
GDIPolygonHeaderIter(const uint8_t* glyphbuf, DWORD total_size)
|
||||
GDIPolygonHeaderIter(const uint8_t* glyphbuf, DWORD total_size)
|
||||
: fCurPolygon(reinterpret_cast<const TTPOLYGONHEADER*>(glyphbuf))
|
||||
, fEndPolygon(SkTAddOffset<const TTPOLYGONHEADER>(glyphbuf, total_size))
|
||||
{ }
|
||||
|
Loading…
Reference in New Issue
Block a user