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

Unified Diff: tools/path_utils.h

Issue 324273002: Delete unused path_utils.* component. (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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/filtermain.cpp ('k') | tools/path_utils.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/path_utils.h
diff --git a/tools/path_utils.h b/tools/path_utils.h
deleted file mode 100644
index d05ad16c9a9f0079668ff9271286a2b41177a2a4..0000000000000000000000000000000000000000
--- a/tools/path_utils.h
+++ /dev/null
@@ -1,47 +0,0 @@
-/*
- * Copyright 2012 Google Inc.
- *
- * Use of this source code is governed by a BSD-style license that can be
- * found in the LICENSE file.
- */
-
-#ifndef path_utils_DEFINED
-#define path_utils_DEFINED
-
-class SkFILEWStream;
-class SkPath;
-
-namespace sk_tools {
- // These utilities help write paths to a .cpp file in a compileable form.
- // To use call them in the order:
- // dump_path_prefix - once per program invocation
- // dump_path - once for each path of interest
- // dump_path_suffix - once per program invocation
- //
- // The output system relies on a global current path ID and assumes that
- // only one set of aggregation arrays will be written per program
- // invocation. These utilities are not thread safe.
-
- // Write of the headers needed to compile the resulting .cpp file
- void dump_path_prefix(SkFILEWStream* pathStream);
-
- // Write out a single path in the form:
- // static const int numPts# = ...;
- // SkPoint pts#[] = { ... };
- // static const int numVerbs# = ...;
- // uint8_t verbs#[] = { ... };
- // Where # is a globally unique identifier
- void dump_path(SkFILEWStream* pathStream, const SkPath& path);
-
- // Write out structures to aggregate info about the written paths:
- // int numPaths = ...;
- // int sizes[] = {
- // numPts#, numVerbs#,
- // ...
- // };
- // const SkPoint* points[] = { pts#, ... };
- // const uint8_t* verbs[] = { verbs#, ... };
- void dump_path_suffix(SkFILEWStream* pathStream);
-}
-
-#endif
« no previous file with comments | « tools/filtermain.cpp ('k') | tools/path_utils.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698