Home
last modified time | relevance | path

Searched refs:SK_API (Results 1 – 25 of 174) sorted by relevance

1234567

/external/skia/include/c/
Dsk_paint.h31 SK_API sk_paint_t* sk_paint_new();
36 SK_API void sk_paint_delete(sk_paint_t*);
41 SK_API bool sk_paint_is_antialias(const sk_paint_t*);
46 SK_API void sk_paint_set_antialias(sk_paint_t*, bool);
51 SK_API sk_color_t sk_paint_get_color(const sk_paint_t*);
55 SK_API void sk_paint_set_color(sk_paint_t*, sk_color_t);
63 SK_API bool sk_paint_is_stroke(const sk_paint_t*);
68 SK_API void sk_paint_set_stroke(sk_paint_t*, bool);
73 SK_API float sk_paint_get_stroke_width(const sk_paint_t*);
78 SK_API void sk_paint_set_stroke_width(sk_paint_t*, float width);
[all …]
Dsk_canvas.h23 SK_API void sk_canvas_save(sk_canvas_t*);
40 SK_API void sk_canvas_save_layer(sk_canvas_t*, const sk_rect_t*, const sk_paint_t*);
48 SK_API void sk_canvas_restore(sk_canvas_t*);
54 SK_API void sk_canvas_translate(sk_canvas_t*, float dx, float dy);
59 SK_API void sk_canvas_scale(sk_canvas_t*, float sx, float sy);
64 SK_API void sk_canvas_rotate_degrees(sk_canvas_t*, float degrees);
69 SK_API void sk_canvas_rotate_radians(sk_canvas_t*, float radians);
74 SK_API void sk_canvas_skew(sk_canvas_t*, float sx, float sy);
79 SK_API void sk_canvas_concat(sk_canvas_t*, const sk_matrix_t*);
86 SK_API void sk_canvas_clip_rect(sk_canvas_t*, const sk_rect_t*);
[all …]
Dsk_path.h24 SK_API sk_path_t* sk_path_new();
26 SK_API void sk_path_delete(sk_path_t*);
29 SK_API void sk_path_move_to(sk_path_t*, float x, float y);
35 SK_API void sk_path_line_to(sk_path_t*, float x, float y);
42 SK_API void sk_path_quad_to(sk_path_t*, float x0, float y0, float x1, float y1);
49 SK_API void sk_path_conic_to(sk_path_t*, float x0, float y0, float x1, float y1, float w);
56 SK_API void sk_path_cubic_to(sk_path_t*,
64 SK_API void sk_path_close(sk_path_t*);
69 SK_API void sk_path_add_rect(sk_path_t*, const sk_rect_t*, sk_path_direction_t);
73 SK_API void sk_path_add_oval(sk_path_t*, const sk_rect_t*, sk_path_direction_t);
[all …]
Dsk_image.h22 SK_API sk_image_t* sk_image_new_raster_copy(const sk_imageinfo_t*, const void* pixels, size_t rowBy…
31 SK_API sk_image_t* sk_image_new_from_encoded(const sk_data_t* encoded, const sk_irect_t* subset);
40 SK_API sk_data_t* sk_image_encode(const sk_image_t*);
46 SK_API void sk_image_ref(const sk_image_t*);
53 SK_API void sk_image_unref(const sk_image_t*);
58 SK_API int sk_image_get_width(const sk_image_t*);
62 SK_API int sk_image_get_height(const sk_image_t*);
67 SK_API uint32_t sk_image_get_unique_id(const sk_image_t*);
Dsk_data.h22 SK_API sk_data_t* sk_data_new_empty();
27 SK_API sk_data_t* sk_data_new_with_copy(const void* src, size_t length);
38 SK_API sk_data_t* sk_data_new_from_malloc(const void* memory, size_t length);
44 SK_API sk_data_t* sk_data_new_subset(const sk_data_t* src, size_t offset, size_t length);
50 SK_API void sk_data_ref(const sk_data_t*);
57 SK_API void sk_data_unref(const sk_data_t*);
62 SK_API size_t sk_data_get_size(const sk_data_t*);
66 SK_API const void* sk_data_get_data(const sk_data_t*);
Dsk_surface.h29 SK_API sk_surface_t* sk_surface_new_raster(const sk_imageinfo_t*, const sk_surfaceprops_t*);
48 SK_API sk_surface_t* sk_surface_new_raster_direct(const sk_imageinfo_t*,
58 SK_API void sk_surface_unref(sk_surface_t*);
64 SK_API sk_canvas_t* sk_surface_get_canvas(sk_surface_t*);
69 SK_API sk_image_t* sk_surface_new_image_snapshot(sk_surface_t*);
Dsk_types.h26 #ifndef SK_API
27 #define SK_API macro
72 SK_API sk_colortype_t sk_colortype_get_default_8888();
/external/skia/include/ports/
DSkTypeface_win.h20 SK_API SkTypeface* SkCreateTypefaceFromLOGFONT(const LOGFONT&);
28 SK_API void SkLOGFONTFromTypeface(const SkTypeface* typeface, LOGFONT* lf);
36 SK_API void SkTypeface_SetEnsureLOGFONTAccessibleProc(void (*)(const LOGFONT&));
45 SK_API SkFontMgr* SkFontMgr_New_GDI();
46 SK_API SkFontMgr* SkFontMgr_New_DirectWrite(IDWriteFactory* factory = NULL,
55 SK_API SkFontMgr* SkFontMgr_New_DirectWriteRenderer(SkRemotableFontMgr*);
63 SK_API SkRemotableFontMgr* SkRemotableFontMgr_New_DirectWrite();
DSkRemotableFontMgr.h19 struct SK_API SkFontIdentity {
36 class SK_API SkRemotableFontIdentitySet : public SkRefCnt {
56 class SK_API SkRemotableFontMgr : public SkRefCnt {
DSkTypeface_mac.h34 SK_API extern SkTypeface* SkCreateTypefaceFromCTFont(CTFontRef, CFTypeRef = NULL);
46 SK_API extern CTFontRef SkTypeface_GetCTFontRef(const SkTypeface* face);
DSkFontMgr_android.h19 SK_API void SkUseTestFontConfigFile(const char* mainconf, const char* fallbackconf,
50 SK_API SkFontMgr* SkFontMgr_New_Android(const SkFontMgr_Android_CustomFonts* custom);
/external/skia/include/core/
DSkTypes.h65 SK_API extern void sk_out_of_memory(void);
70 SK_API extern void sk_abort_no_print(void);
81 SK_API extern void* sk_malloc_flags(size_t size, unsigned flags);
84 SK_API extern void* sk_malloc_throw(size_t size);
88 SK_API extern void* sk_realloc_throw(void* buffer, size_t size);
91 SK_API extern void sk_free(void*);
95 SK_API extern void* sk_calloc(size_t size);
99 SK_API extern void* sk_calloc_throw(size_t size);
128 SK_API void SkDebugf(const char format[], ...);
260 SK_API int8_t SkToS8(intmax_t);
[all …]
DSkStream.h39 class SK_API SkStream : public SkNoncopyable {
146 class SK_API SkStreamRewindable : public SkStream {
153 class SK_API SkStreamSeekable : public SkStreamRewindable {
165 class SK_API SkStreamAsset : public SkStreamSeekable {
175 class SK_API SkStreamMemory : public SkStreamAsset {
183 class SK_API SkWStream : SkNoncopyable {
229 class SK_API SkFILEStream : public SkStreamAsset {
282 class SK_API SkMemoryStream : public SkStreamMemory {
352 class SK_API SkFILEWStream : public SkWStream {
386 class SK_API SkDynamicMemoryWStream : public SkWStream {
[all …]
DSkAnnotation.h92 SK_API void SkAnnotateRectWithURL(SkCanvas*, const SkRect&, SkData*);
104 SK_API void SkAnnotateNamedDestination(SkCanvas*, const SkPoint&, SkData*);
117 SK_API void SkAnnotateLinkToDestination(SkCanvas*, const SkRect&, SkData*);
DSkColor.h104 SK_API void SkRGBToHSV(U8CPU red, U8CPU green, U8CPU blue, SkScalar hsv[3]);
126 SK_API SkColor SkHSVToColor(U8CPU alpha, const SkScalar hsv[3]);
150 SK_API SkPMColor SkPreMultiplyARGB(U8CPU a, U8CPU r, U8CPU g, U8CPU b);
155 SK_API SkPMColor SkPreMultiplyColor(SkColor c);
DSkPreConfig.h209 #define SK_API __declspec(dllexport) macro
211 #define SK_API __declspec(dllimport) macro
214 #define SK_API __attribute__((visibility("default"))) macro
217 #define SK_API macro
DSkFlattenableSerialization.h15 SK_API SkData* SkValidatingSerializeFlattenable(SkFlattenable*);
16 SK_API SkFlattenable* SkValidatingDeserializeFlattenable(const void* data, size_t size,
DSkBBHFactory.h15 class SK_API SkBBHFactory {
24 class SK_API SkRTreeFactory : public SkBBHFactory {
/external/skia/include/pathops/
DSkPathOps.h46 bool SK_API Op(const SkPath& one, const SkPath& two, SkPathOp op, SkPath* result);
60 bool SK_API Simplify(const SkPath& path, SkPath* result);
68 bool SK_API TightBounds(const SkPath& path, SkRect* result);
72 class SK_API SkOpBuilder {
/external/skia/src/core/
DSkConvolver.h34 SK_API SkConvolutionFilter1D();
35 SK_API ~SkConvolutionFilter1D();
104 SK_API const ConvolutionFixed* GetSingleFilter(int* specifiedFilterLength,
197 SK_API bool BGRAConvolve2D(const unsigned char* sourceData,
/external/skia/include/utils/mac/
DSkCGUtils.h35 SK_API bool SkCreateBitmapFromCGImage(SkBitmap* dst, CGImageRef src, SkISize* scaleToFit = NULL);
41 SK_API bool SkCopyPixelsFromCGImage(const SkImageInfo& info, size_t rowBytes, void* dstPixels,
48 SK_API CGImageRef SkCreateCGImageRefWithColorspace(const SkBitmap& bm,
/external/skia/include/private/
DSkFloatBits.h47 SK_API int32_t SkFloatBits_toIntFloor(int32_t floatBits);
52 SK_API int32_t SkFloatBits_toIntRound(int32_t floatBits);
57 SK_API int32_t SkFloatBits_toIntCeil(int32_t floatBits);
/external/skia/include/effects/
DSkLayerDrawLooper.h16 class SK_API SkLayerDrawLooper : public SkDrawLooper {
58 struct SK_API LayerInfo {
116 class SK_API Builder {
DSk2DPathEffect.h15 class SK_API Sk2DPathEffect : public SkPathEffect {
56 class SK_API SkLine2DPathEffect : public Sk2DPathEffect {
81 class SK_API SkPath2DPathEffect : public Sk2DPathEffect {
DSkMorphologyImageFilter.h16 class SK_API SkMorphologyImageFilter : public SkImageFilter {
53 class SK_API SkDilateImageFilter : public SkMorphologyImageFilter {
81 class SK_API SkErodeImageFilter : public SkMorphologyImageFilter {

1234567