{ 1 , SK_ColorGREEN },
{ 0.5f, SK_ColorBLUE },
};
-
+
for (size_t i = 0; i < SK_ARRAY_COUNT(gRec); ++i) {
paint.setColor(gRec[i].fColor);
draw_conic(canvas, gRec[i].fWeight, paint);
# we currently build skia's version of libjpeg-turbo without
# SIMD optimizations for simplicity
'../third_party/externals/libjpeg/jsimd_none.c',
-
+
'../third_party/externals/libjpeg/jcapimin.c',
'../third_party/externals/libjpeg/jcapistd.c',
'../third_party/externals/libjpeg/jccoefct.c',
'cflags': ['-fexceptions'],
'cflags_cc': ['-fexceptions'],
'cflags!': [ '-fno-exceptions' ],
- 'cflags_cc!': [ '-fno-exceptions' ],
+ 'cflags_cc!': [ '-fno-exceptions' ],
'sources': [
'../experimental/PdfViewer/pdf_viewer_main.cpp',
],
'link_settings': {
'libraries': [
],
- },
+ },
'defines': [
'BUILDING_PODOFO',
],
],
},
],
- ],
+ ],
}
# Local Variables:
* takes ownership of that allocation, and will handling calling sk_free.
*/
static SkData* NewFromMalloc(const void* data, size_t length);
-
+
/**
* Create a new dataref the file with the specified path.
* If the file cannot be opened, this returns NULL.
*/
static SkData* NewFromFileName(const char path[]);
-
+
/**
* Create a new dataref from a SkFILE.
* This does not take ownership of the SkFILE, nor close it.