Home
last modified time | relevance | path

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

12345678910>>...17

/external/skia/include/c/
Dsk_paint.h31 SK_API sk_paint_t* sk_paint_new(void);
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.h26 SK_API sk_pathbuilder_t* sk_pathbuilder_new(void);
29 SK_API void sk_pathbuilder_delete(sk_pathbuilder_t*);
32 SK_API void sk_pathbuilder_move_to(sk_pathbuilder_t*, float x, float y);
38 SK_API void sk_pathbuilder_line_to(sk_pathbuilder_t*, float x, float y);
45 SK_API void sk_pathbuilder_quad_to(sk_pathbuilder_t*, float x0, float y0, float x1, float y1);
52 SK_API void sk_pathbuilder_conic_to(sk_pathbuilder_t*, float x0, float y0, float x1, float y1, floa…
59 SK_API void sk_pathbuilder_cubic_to(sk_pathbuilder_t*,
67 SK_API void sk_pathbuilder_close(sk_pathbuilder_t*);
72 SK_API void sk_pathbuilder_add_rect(sk_pathbuilder_t*, const sk_rect_t*, sk_path_direction_t);
76 SK_API void sk_pathbuilder_add_oval(sk_pathbuilder_t*, const sk_rect_t*, sk_path_direction_t);
[all …]
Dsk_picture.h22 SK_API sk_picture_recorder_t* sk_picture_recorder_new(void);
27 SK_API void sk_picture_recorder_delete(sk_picture_recorder_t*);
36 SK_API sk_canvas_t* sk_picture_recorder_begin_recording(sk_picture_recorder_t*, const sk_rect_t*);
43 SK_API sk_picture_t* sk_picture_recorder_end_recording(sk_picture_recorder_t*);
49 SK_API void sk_picture_ref(sk_picture_t*);
56 SK_API void sk_picture_unref(sk_picture_t*);
61 SK_API uint32_t sk_picture_get_unique_id(sk_picture_t*);
66 SK_API sk_rect_t sk_picture_get_bounds(sk_picture_t*);
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);
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_with_copy(const void* src, size_t length);
33 SK_API sk_data_t* sk_data_new_from_malloc(const void* memory, size_t length);
39 SK_API sk_data_t* sk_data_new_subset(const sk_data_t* src, size_t offset, size_t length);
45 SK_API void sk_data_ref(const sk_data_t*);
52 SK_API void sk_data_unref(const sk_data_t*);
57 SK_API size_t sk_data_get_size(const sk_data_t*);
61 SK_API const void* sk_data_get_data(const sk_data_t*);
Dsk_imageinfo.h38 SK_API sk_imageinfo_t* sk_imageinfo_new(int width, int height, sk_colortype_t ct, sk_alphatype_t at,
45 SK_API void sk_imageinfo_delete(sk_imageinfo_t*);
47 SK_API int32_t sk_imageinfo_get_width(const sk_imageinfo_t*);
48 SK_API int32_t sk_imageinfo_get_height(const sk_imageinfo_t*);
49 SK_API sk_colortype_t sk_imageinfo_get_colortype(const sk_imageinfo_t*);
50 SK_API sk_alphatype_t sk_imageinfo_get_alphatype(const sk_imageinfo_t*);
58 SK_API sk_colorspace_t* sk_imageinfo_get_colorspace(const sk_imageinfo_t*);
Dsk_shader.h18 SK_API void sk_shader_ref(sk_shader_t*);
19 SK_API void sk_shader_unref(sk_shader_t*);
45 SK_API sk_shader_t* sk_shader_new_linear_gradient(const sk_point_t points[2],
74 SK_API sk_shader_t* sk_shader_new_radial_gradient(const sk_point_t* center,
99 SK_API sk_shader_t* sk_shader_new_sweep_gradient(const sk_point_t* center,
130 SK_API sk_shader_t* sk_shader_new_two_point_conical_gradient(
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*);
/external/skqp/include/c/
Dsk_paint.h31 SK_API sk_paint_t* sk_paint_new(void);
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(void);
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(void);
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*);
/external/skqp/include/ports/
DSkTypeface_win.h21 SK_API SkTypeface* SkCreateTypefaceFromLOGFONT(const LOGFONT&);
29 SK_API void SkLOGFONTFromTypeface(const SkTypeface* typeface, LOGFONT* lf);
37 SK_API void SkTypeface_SetEnsureLOGFONTAccessibleProc(void (*)(const LOGFONT&));
47 SK_API sk_sp<SkFontMgr> SkFontMgr_New_GDI();
48 SK_API sk_sp<SkFontMgr> SkFontMgr_New_DirectWrite(IDWriteFactory* factory = NULL,
50 SK_API sk_sp<SkFontMgr> SkFontMgr_New_DirectWrite(IDWriteFactory* factory,
60 SK_API sk_sp<SkFontMgr> SkFontMgr_New_DirectWriteRenderer(sk_sp<SkRemotableFontMgr>);
68 SK_API sk_sp<SkRemotableFontMgr> SkRemotableFontMgr_New_DirectWrite();
/external/skia/include/ports/
DSkTypeface_win.h29 SK_API SkTypeface* SkCreateTypefaceFromLOGFONT(const LOGFONT&);
37 SK_API void SkLOGFONTFromTypeface(const SkTypeface* typeface, LOGFONT* lf);
45 SK_API void SkTypeface_SetEnsureLOGFONTAccessibleProc(void (*)(const LOGFONT&));
55 SK_API sk_sp<SkFontMgr> SkFontMgr_New_GDI();
56 SK_API sk_sp<SkFontMgr> SkFontMgr_New_DirectWrite(IDWriteFactory* factory = NULL,
58 SK_API sk_sp<SkFontMgr> SkFontMgr_New_DirectWrite(IDWriteFactory* factory,
68 SK_API sk_sp<SkFontMgr> SkFontMgr_New_DirectWriteRenderer(sk_sp<SkRemotableFontMgr>);
76 SK_API sk_sp<SkRemotableFontMgr> SkRemotableFontMgr_New_DirectWrite();
/external/skqp/include/private/
DSkMalloc.h22 SK_API extern void sk_free(void*);
28 SK_API extern void sk_out_of_memory(void);
51 SK_API extern void* sk_malloc_flags(size_t size, unsigned flags);
56 SK_API extern void* sk_realloc_throw(void* buffer, size_t size);
78 SK_API extern void* sk_calloc_throw(size_t count, size_t elemSize);
79 SK_API extern void* sk_malloc_throw(size_t count, size_t elemSize);
80 SK_API extern void* sk_realloc_throw(void* buffer, size_t count, size_t elemSize);
95 SK_API extern void* sk_malloc_canfail(size_t count, size_t elemSize);
/external/skia/include/private/
DSkMalloc.h22 SK_API extern void sk_free(void*);
28 SK_API extern void sk_out_of_memory(void);
51 SK_API extern void* sk_malloc_flags(size_t size, unsigned flags);
56 SK_API extern void* sk_realloc_throw(void* buffer, size_t size);
77 SK_API extern void* sk_calloc_throw(size_t count, size_t elemSize);
78 SK_API extern void* sk_malloc_throw(size_t count, size_t elemSize);
79 SK_API extern void* sk_realloc_throw(void* buffer, size_t count, size_t elemSize);
93 SK_API extern void* sk_malloc_canfail(size_t count, size_t elemSize);
/external/skia/include/gpu/gl/
DGrGLAssembleInterface.h16 SK_API sk_sp<const GrGLInterface> GrGLMakeAssembledInterface(void *ctx, GrGLGetProc get);
22 SK_API sk_sp<const GrGLInterface> GrGLMakeAssembledGLInterface(void *ctx, GrGLGetProc get);
29 SK_API sk_sp<const GrGLInterface> GrGLMakeAssembledGLESInterface(void *ctx, GrGLGetProc get);
36 SK_API sk_sp<const GrGLInterface> GrGLMakeAssembledWebGLInterface(void *ctx, GrGLGetProc get);
39 SK_API const GrGLInterface* GrGLAssembleInterface(void *ctx, GrGLGetProc get);
/external/skqp/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);
82 bool SK_API AsWinding(const SkPath& path, SkPath* result);
86 class SK_API SkOpBuilder {
/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);
82 bool SK_API AsWinding(const SkPath& path, SkPath* result);
86 class SK_API SkOpBuilder {
/external/skia/include/utils/mac/
DSkCGUtils.h31 SK_API CGContextRef SkCreateCGContext(const SkPixmap&);
40 SK_API bool SkCreateBitmapFromCGImage(SkBitmap* dst, CGImageRef src);
42 SK_API sk_sp<SkImage> SkMakeImageFromCGImage(CGImageRef);
48 SK_API bool SkCopyPixelsFromCGImage(const SkImageInfo& info, size_t rowBytes, void* dstPixels,
58 SK_API CGImageRef SkCreateCGImageRefWithColorspace(const SkBitmap& bm,
/external/skqp/include/utils/mac/
DSkCGUtils.h31 SK_API CGContextRef SkCreateCGContext(const SkPixmap&);
40 SK_API bool SkCreateBitmapFromCGImage(SkBitmap* dst, CGImageRef src);
42 SK_API sk_sp<SkImage> SkMakeImageFromCGImage(CGImageRef);
48 SK_API bool SkCopyPixelsFromCGImage(const SkImageInfo& info, size_t rowBytes, void* dstPixels,
58 SK_API CGImageRef SkCreateCGImageRefWithColorspace(const SkBitmap& bm,
/external/skqp/include/gpu/gl/
DGrGLAssembleInterface.h16 SK_API sk_sp<const GrGLInterface> GrGLMakeAssembledInterface(void *ctx, GrGLGetProc get);
22 SK_API sk_sp<const GrGLInterface> GrGLMakeAssembledGLInterface(void *ctx, GrGLGetProc get);
29 SK_API sk_sp<const GrGLInterface> GrGLMakeAssembledGLESInterface(void *ctx, GrGLGetProc get);
32 SK_API const GrGLInterface* GrGLAssembleInterface(void *ctx, GrGLGetProc get);

12345678910>>...17