Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(218)

Side by Side Diff: include/core/SkFlate.h

Issue 339183002: move some headers out of public (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « gyp/pdfviewer_lib.gyp ('k') | include/core/SkGeometry.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1
2 /*
3 * Copyright 2010 The Android Open Source Project
4 *
5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file.
7 */
8
9
10 #ifndef SkFlate_DEFINED
11 #define SkFlate_DEFINED
12
13 #include "SkTypes.h"
14
15 class SkData;
16 class SkWStream;
17 class SkStream;
18
19 /** \class SkFlate
20 A class to provide access to the flate compression algorithm.
21 */
22 class SkFlate {
23 public:
24 /** Indicates if the flate algorithm is available.
25 */
26 static bool HaveFlate();
27
28 /**
29 * Use the flate compression algorithm to compress the data in src,
30 * putting the result into dst. Returns false if an error occurs.
31 */
32 static bool Deflate(SkStream* src, SkWStream* dst);
33
34 /**
35 * Use the flate compression algorithm to compress the data in src,
36 * putting the result into dst. Returns false if an error occurs.
37 */
38 static bool Deflate(const void* src, size_t len, SkWStream* dst);
39
40 /**
41 * Use the flate compression algorithm to compress the data,
42 * putting the result into dst. Returns false if an error occurs.
43 */
44 static bool Deflate(const SkData*, SkWStream* dst);
45
46 /** Use the flate compression algorithm to decompress the data in src,
47 putting the result into dst. Returns false if an error occurs.
48 */
49 static bool Inflate(SkStream* src, SkWStream* dst);
50 };
51
52 #endif
OLDNEW
« no previous file with comments | « gyp/pdfviewer_lib.gyp ('k') | include/core/SkGeometry.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698