HomeSort by relevance Sort by last modified time
    Searched refs:subset (Results 1 - 25 of 341) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/fonttools/Doc/source/
subset.rst 2 subset
5 .. automodule:: fontTools.subset
  /external/skia/src/android/
SkBitmapRegionDecoderPriv.h 20 * Corrects image subset offsets and dimensions in order to perform a valid decode.
21 * Also indicates if the image subset should be placed at an offset within the
27 * @param subset As input, the subset that the client requested.
28 * As output, the image subset that we will decode.
29 * @param outX The left offset of the image subset within the output bitmap.
30 * @param outY The top offset of the image subset within the output bitmap.
32 * @return An indication of how the subset is contained in the image.
35 inline SubsetType adjust_subset_rect(const SkISize& imageDims, SkIRect* subset, int* outX,
38 int left = SkTMax(0, subset->fLeft)
    [all...]
  /external/skqp/src/android/
SkBitmapRegionDecoderPriv.h 20 * Corrects image subset offsets and dimensions in order to perform a valid decode.
21 * Also indicates if the image subset should be placed at an offset within the
27 * @param subset As input, the subset that the client requested.
28 * As output, the image subset that we will decode.
29 * @param outX The left offset of the image subset within the output bitmap.
30 * @param outY The top offset of the image subset within the output bitmap.
32 * @return An indication of how the subset is contained in the image.
35 inline SubsetType adjust_subset_rect(const SkISize& imageDims, SkIRect* subset, int* outX,
38 int left = SkTMax(0, subset->fLeft)
    [all...]
  /external/harfbuzz_ng/test/api/
test-subset.c 28 #include "hb-subset-test.h"
30 /* Unit tests for hb-subset-glyf.h */
39 hb_face_t *subset; local
45 subset = hb_subset (face, input);
46 g_assert (subset);
47 g_assert (subset != hb_face_get_empty ());
50 hb_face_destroy (subset);
57 hb_face_t *face = hb_test_open_font_file ("../fuzzing/fonts/clusterfuzz-testcase-minimized-hb-subset-fuzzer-5521982557782016");
61 hb_face_t *subset; local
67 subset = hb_subset (face, input)
83 hb_face_t *subset; local
    [all...]
test-subset-hdmx.c 28 #include "hb-subset-test.h"
79 hb_face_t *subset; local
85 subset = hb_subset (face, input);
86 g_assert (subset);
87 g_assert (subset == hb_face_get_empty ());
90 hb_face_destroy (subset);
97 hb_face_t *face = hb_test_open_font_file ("../fuzzing/fonts/clusterfuzz-testcase-minimized-hb-subset-fuzzer-5609911946838016");
101 hb_face_t *subset; local
107 subset = hb_subset (face, input);
108 g_assert (subset);
    [all...]
hb-subset-test.h 33 #include "hb-subset.h"
63 hb_face_t *subset = hb_subset (source, input); local
64 g_assert (subset);
67 return subset;
  /external/skqp/src/pdf/
SkPDFSubsetFont.cpp 17 std::vector<unsigned> subset; local
19 subset.push_back(0); // Always include glyph 0.
21 glyphUsage.getSetValues([&subset](unsigned v) { subset.push_back(v); });
30 subset.data(),
31 subset.size(),
38 subset.data(),
39 subset.size(),
SkPDFMakeToUnicodeCmap.h 15 const SkPDFGlyphUse* subset,
22 const SkPDFGlyphUse* subset,
SkPDFMakeCIDGlyphWidthsArray.h 19 const SkPDFGlyphUse* subset,
SkKeyedImage.cpp 33 SkKeyedImage SkKeyedImage::subset(SkIRect subset) const { function in class:SkKeyedImage
35 if (fImage && subset.intersect(fImage->bounds())) {
36 img.fImage = fImage->makeSubset(subset);
38 img.fKey = {subset.makeOffset(fKey.fSubset.x(), fKey.fSubset.y()), fKey.fID};
  /external/skia/src/pdf/
SkPDFMakeToUnicodeCmap.h 15 const SkPDFGlyphUse* subset,
22 const SkPDFGlyphUse* subset,
SkPDFMakeCIDGlyphWidthsArray.h 19 const SkPDFGlyphUse* subset,
SkKeyedImage.cpp 33 SkKeyedImage SkKeyedImage::subset(SkIRect subset) const { function in class:SkKeyedImage
35 if (fImage && subset.intersect(fImage->bounds())) {
36 img.fImage = fImage->makeSubset(subset);
38 img.fKey = {subset.makeOffset(fKey.fSubset.x(), fKey.fSubset.y()), fKey.fID};
  /external/skia/gm/
extractbitmap.cpp 52 // Do some subset drawing. This will test that an SkGPipe properly
55 SkBitmap subset; variable
56 bitmap.extractSubset(&subset, SkIRect::MakeXYWH(x, y, x, y));
57 canvas->drawBitmap(subset, 0, 0);
59 bitmap.extractSubset(&subset, SkIRect::MakeWH(x, y));
60 canvas->drawBitmap(subset, SkIntToScalar(x), SkIntToScalar(y));
61 // Draw a subset which has the same height and pixelref offset but a
63 bitmap.extractSubset(&subset, SkIRect::MakeWH(x, bitmap.height()));
66 canvas->drawBitmap(subset, 0, 0);
69 bitmap.extractSubset(&subset, SkIRect::MakeWH(bitmap.height(), y))
    [all...]
  /external/skqp/gm/
extractbitmap.cpp 52 // Do some subset drawing. This will test that an SkGPipe properly
55 SkBitmap subset; variable
56 bitmap.extractSubset(&subset, SkIRect::MakeXYWH(x, y, x, y));
57 canvas->drawBitmap(subset, 0, 0);
59 bitmap.extractSubset(&subset, SkIRect::MakeWH(x, y));
60 canvas->drawBitmap(subset, SkIntToScalar(x), SkIntToScalar(y));
61 // Draw a subset which has the same height and pixelref offset but a
63 bitmap.extractSubset(&subset, SkIRect::MakeWH(x, bitmap.height()));
66 canvas->drawBitmap(subset, 0, 0);
69 bitmap.extractSubset(&subset, SkIRect::MakeWH(bitmap.height(), y))
    [all...]
  /external/noto-fonts/other/
subset_noto_serif.py 18 """Create a curated subset of Noto Serif for Android."""
22 from nototools import subset
43 """Subset a Noto Serif font.
51 subset.subset_font(
  /external/skia/src/core/
SkSpecialImage.h 42 * Note: the contents of the backing storage outside of the subset rect are undefined.
53 const SkIRect& subset() const { return fSubset; } function in class:SkSpecialImage
73 const SkIRect& subset,
76 static sk_sp<SkSpecialImage> MakeFromRaster(const SkIRect& subset,
79 static sk_sp<SkSpecialImage> CopyFromRaster(const SkIRect& subset,
84 const SkIRect& subset,
109 * Extract a subset of this special image and return it as a special image.
112 sk_sp<SkSpecialImage> makeSubset(const SkIRect& subset) const;
115 * Create an SkImage from the contents of this special image optionally extracting a subset.
117 * Note: when no 'subset' parameter is specified the the entire SkSpecialImage will b
    [all...]
SkSpecialImage.cpp 39 SkSpecialImage_Base(const SkIRect& subset, uint32_t uniqueID, const SkSurfaceProps* props)
40 : INHERITED(subset, uniqueID, props) {
56 virtual sk_sp<SkSpecialImage> onMakeSubset(const SkIRect& subset) const = 0;
62 virtual sk_sp<SkImage> onAsImage(const SkIRect* subset) const = 0;
76 SkSpecialImage::SkSpecialImage(const SkIRect& subset,
80 , fSubset(subset)
116 // GrMakeCachedBitmapProxy has uploaded only the specified subset of 'bmp' so we need not
167 sk_sp<SkSpecialImage> SkSpecialImage::makeSubset(const SkIRect& subset) const {
168 return as_SIB(this)->onMakeSubset(subset);
171 sk_sp<SkImage> SkSpecialImage::asImage(const SkIRect* subset) const
    [all...]
SkSpecialSurface.cpp 16 SkSpecialSurface_Base(const SkIRect& subset, const SkSurfaceProps* props)
17 : INHERITED(subset, props)
43 SkSpecialSurface::SkSpecialSurface(const SkIRect& subset,
46 , fSubset(subset) {
68 const SkIRect& subset,
70 : INHERITED(subset, props) {
76 fCanvas->clipRect(SkRect::Make(subset));
85 return SkSpecialImage::MakeFromRaster(this->subset(), fBitmap, &this->props());
94 sk_sp<SkSpecialSurface> SkSpecialSurface::MakeFromBitmap(const SkIRect& subset, SkBitmap& bm,
96 if (subset.isEmpty() || !SkSurfaceValidateRasterInfo(bm.info(), bm.rowBytes()))
113 const SkIRect subset = SkIRect::MakeWH(info.width(), info.height()); local
189 const SkIRect subset = SkIRect::MakeWH(width, height); local
    [all...]
SkSpecialSurface.h 74 static sk_sp<SkSpecialSurface> MakeFromBitmap(const SkIRect& subset, SkBitmap& bm,
88 SkSpecialSurface(const SkIRect& subset, const SkSurfaceProps*);
92 const SkIRect& subset() const { return fSubset; } function in class:SkSpecialSurface
  /external/skqp/src/core/
SkSpecialImage.h 42 * Note: the contents of the backing storage outside of the subset rect are undefined.
53 const SkIRect& subset() const { return fSubset; } function in class:SkSpecialImage
73 const SkIRect& subset,
76 static sk_sp<SkSpecialImage> MakeFromRaster(const SkIRect& subset,
79 static sk_sp<SkSpecialImage> CopyFromRaster(const SkIRect& subset,
84 const SkIRect& subset,
109 * Extract a subset of this special image and return it as a special image.
112 sk_sp<SkSpecialImage> makeSubset(const SkIRect& subset) const;
115 * Create an SkImage from the contents of this special image optionally extracting a subset.
117 * Note: when no 'subset' parameter is specified the the entire SkSpecialImage will b
    [all...]
SkSpecialImage.cpp 37 SkSpecialImage_Base(const SkIRect& subset, uint32_t uniqueID, const SkSurfaceProps* props)
38 : INHERITED(subset, uniqueID, props) {
54 virtual sk_sp<SkSpecialImage> onMakeSubset(const SkIRect& subset) const = 0;
60 virtual sk_sp<SkImage> onAsImage(const SkIRect* subset) const = 0;
74 SkSpecialImage::SkSpecialImage(const SkIRect& subset,
78 , fSubset(subset)
114 // GrMakeCachedBitmapProxy has uploaded only the specified subset of 'bmp' so we need not
165 sk_sp<SkSpecialImage> SkSpecialImage::makeSubset(const SkIRect& subset) const {
166 return as_SIB(this)->onMakeSubset(subset);
169 sk_sp<SkImage> SkSpecialImage::asImage(const SkIRect* subset) const
    [all...]
SkSpecialSurface.cpp 16 SkSpecialSurface_Base(const SkIRect& subset, const SkSurfaceProps* props)
17 : INHERITED(subset, props)
43 SkSpecialSurface::SkSpecialSurface(const SkIRect& subset,
46 , fSubset(subset) {
68 const SkIRect& subset,
70 : INHERITED(subset, props) {
76 fCanvas->clipRect(SkRect::Make(subset));
85 return SkSpecialImage::MakeFromRaster(this->subset(), fBitmap, &this->props());
94 sk_sp<SkSpecialSurface> SkSpecialSurface::MakeFromBitmap(const SkIRect& subset, SkBitmap& bm,
96 if (subset.isEmpty() || !SkSurfaceValidateRasterInfo(bm.info(), bm.rowBytes()))
113 const SkIRect subset = SkIRect::MakeWH(info.width(), info.height()); local
185 const SkIRect subset = SkIRect::MakeWH(width, height); local
    [all...]
SkSpecialSurface.h 74 static sk_sp<SkSpecialSurface> MakeFromBitmap(const SkIRect& subset, SkBitmap& bm,
88 SkSpecialSurface(const SkIRect& subset, const SkSurfaceProps*);
92 const SkIRect& subset() const { return fSubset; } function in class:SkSpecialSurface
  /external/fonttools/Lib/fontTools/subset/
__main__.py 4 from fontTools.subset import main

Completed in 930 milliseconds

1 2 3 4 5 6 7 8 91011>>