Public API
Skia.sk_data_t Type
sourceSkia.sk_font_t Type
sourceSkia.sk_path_t Type
sourceSkia.sk_canvas_clip_path_with_operation Method
julia
sourcesk_canvas_clip_path_with_operation(t, crect, op::sk_clip_op_t, doAA::Bool)
Skia.sk_canvas_clip_rect_with_operation Method
julia
sourcesk_canvas_clip_rect_with_operation(t, crect, op::sk_clip_op_t, doAA::Bool)
Skia.sk_canvas_draw_arc Method
julia
sourcesk_canvas_draw_arc(canvas, oval, startAngle::Cfloat, sweepAngle::Cfloat, useCenter::Bool, paint)
Skia.sk_canvas_draw_circle Method
julia
sourcesk_canvas_draw_circle(canvas, cx::Cfloat, cy::Cfloat, rad::Cfloat, cpaint)
Skia.sk_canvas_draw_color Method
julia
sourcesk_canvas_draw_color(canvas, color::sk_color_t, mode::sk_blend_mode_t)
Skia.sk_canvas_draw_image_nine Method
julia
sourcesk_canvas_draw_image_nine(t, image, center, dst, filter::sk_filter_mode_t, paint)
Skia.sk_canvas_draw_image_rect Method
julia
sourcesk_canvas_draw_image_rect(canvas, cimage, csrcR, cdstR, samplingOptions, cpaint, constraint::sk_src_rect_constraint_t)
Skia.sk_canvas_draw_line Method
julia
sourcesk_canvas_draw_line(canvas, x0::Cfloat, y0::Cfloat, x1::Cfloat, y1::Cfloat, cpaint)
Skia.sk_canvas_draw_point Method
julia
sourcesk_canvas_draw_point(canvas, x::Cfloat, y::Cfloat, cpaint)
Skia.sk_canvas_draw_points Method
julia
sourcesk_canvas_draw_points(canvas, pointMode::sk_point_mode_t, count::Csize_t, points, cpaint)
Skia.sk_canvas_draw_round_rect Method
julia
sourcesk_canvas_draw_round_rect(canvas, crect, rx::Cfloat, ry::Cfloat, cpaint)
Skia.sk_canvas_draw_simple_text Method
julia
sourcesk_canvas_draw_simple_text(canvas, text, byte_length::Csize_t, encoding::sk_text_encoding_t, x::Cfloat, y::Cfloat, cfont, cpaint)
Skia.sk_canvas_draw_string Method
julia
sourcesk_canvas_draw_string(canvas, text, x::Cfloat, y::Cfloat, cfont, cpaint)
Skia.sk_canvas_draw_text_blob Method
julia
sourcesk_canvas_draw_text_blob(canvas, text, x::Cfloat, y::Cfloat, paint)
Skia.sk_canvas_get_local_clip_bounds Method
julia
sourcesk_canvas_get_local_clip_bounds(canvas, cbounds)
Skia.sk_canvas_restore_to_count Method
julia
sourcesk_canvas_restore_to_count(canvas, saveCount::Cint)
Skia.sk_canvas_save_layer_alpha Method
julia
sourcesk_canvas_save_layer_alpha(canvas, crect, alpha::UInt8)
Skia.sk_colorfilter_new_lighting Method
julia
sourcesk_colorfilter_new_lighting(mul::sk_color_t, add::sk_color_t)
Skia.sk_colorfilter_new_mode Method
julia
sourcesk_colorfilter_new_mode(c::sk_color_t, mode::sk_blend_mode_t)
Skia.sk_document_begin_page Method
julia
sourcesk_document_begin_page(doc, width::Cfloat, height::Cfloat)
Skia.sk_dynamic_memory_wstream_as_wstream Method
julia
sourcesk_dynamic_memory_wstream_as_wstream(stream)
Skia.sk_dynamic_memory_wstream_bytes_written Method
julia
sourcesk_dynamic_memory_wstream_bytes_written(stream)
Skia.sk_dynamic_memory_wstream_read Method
julia
sourcesk_dynamic_memory_wstream_read(stream, buffer, offset::Csize_t, size::Csize_t)
Skia.sk_dynamic_memory_wstream_write Method
julia
sourcesk_dynamic_memory_wstream_write(stream, buffer, size::Csize_t)
Skia.sk_font_get_xpos Method
julia
sourcesk_font_get_xpos(font, glyphs, count::Cint, xpos, origin::Cfloat)
Skia.sk_font_measure_text Method
julia
sourcesk_font_measure_text(font, text, byteLength::Csize_t, encoding::sk_text_encoding_t, bounds, paint)
Skia.sk_font_new_with_values Method
julia
sourcesk_font_new_with_values(typeface, size::Cfloat, scaleX::Cfloat, skewX::Cfloat)
Skia.sk_font_set_edging Method
julia
sk_font_set_edging(font, value::sk_font_edging_t)
_doc_external(:sk_font_set_edging)
sourceSkia.sk_font_set_force_auto_hinting Method
julia
sourcesk_font_set_force_auto_hinting(font, value::Bool)
Skia.sk_font_text_to_glyphs Method
julia
sourcesk_font_text_to_glyphs(font, text, byteLength::Csize_t, encoding::sk_text_encoding_t, glyphs, maxGlyphCount::Cint)
Skia.sk_font_unichars_to_glyphs Method
julia
sourcesk_font_unichars_to_glyphs(font, unichars, count::Cint, glyphs)
Skia.sk_fontmgr_create_from_data Method
julia
sourcesk_fontmgr_create_from_data(fontmgr, data, index::Cint)
Skia.sk_fontmgr_get_family_name Method
julia
sourcesk_fontmgr_get_family_name(fontmgr, index::Cint, familyName)
Skia.sk_fontmgr_match_family_style Method
julia
sourcesk_fontmgr_match_family_style(fontmgr, familyName, style)
Skia.sk_fontmgr_match_family_style_character Method
julia
sourcesk_fontmgr_match_family_style_character(fontmgr, familyName, style, bcp47, bcp47Count::Cint, character::Int32)
Skia.sk_fontstyle_new Method
julia
sourcesk_fontstyle_new(weight::Cint, width::Cint, slant::sk_font_style_slant_t)
Skia.sk_fontstyleset_create_typeface Method
julia
sourcesk_fontstyleset_create_typeface(fss, index::Cint)
Skia.sk_fontstyleset_get_style Method
julia
sourcesk_fontstyleset_get_style(fss, index::Cint, fs, style)
Skia.sk_image_make_shader Method
julia
sourcesk_image_make_shader(image, tileX::sk_tile_mode_t, tileY::sk_tile_mode_t, samplingOptions, cmatrix)
Skia.sk_image_new_raster_data Method
julia
sourcesk_image_new_raster_data(cinfo, pixels, rowBytes::Csize_t)
Skia.sk_image_read_pixels Method
julia
sourcesk_image_read_pixels(image, dstInfo, dstPixels, dstRowBytes::Csize_t, srcX::Cint, srcY::Cint, cachingHint::sk_image_caching_hint_t)
Skia.sk_image_texture_from_image Method
julia
sourcesk_image_texture_from_image(ctx, image, mipmapped::Bool, budgeted::Bool)
Skia.sk_imagefilter_new_arithmetic Method
julia
sourcesk_imagefilter_new_arithmetic(k1::Cfloat, k2::Cfloat, k3::Cfloat, k4::Cfloat, enforcePMColor::Bool, background, foreground, cropRect)
Skia.sk_imagefilter_new_blur Method
julia
sourcesk_imagefilter_new_blur(sigmaX::Cfloat, sigmaY::Cfloat, tileMode::sk_tile_mode_t, input, cropRect)
Skia.sk_imagefilter_new_color_filter Method
julia
sourcesk_imagefilter_new_color_filter(cf, input, cropRect)
Skia.sk_imagefilter_new_dilate Method
julia
sourcesk_imagefilter_new_dilate(radiusX::Cint, radiusY::Cint, input, cropRect)
Skia.sk_imagefilter_new_displacement_map_effect Method
julia
sourcesk_imagefilter_new_displacement_map_effect(xChannelSelector::sk_color_channel_t, yChannelSelector::sk_color_channel_t, scale::Cfloat, displacement, color, cropRect)
Skia.sk_imagefilter_new_distant_lit_diffuse Method
julia
sourcesk_imagefilter_new_distant_lit_diffuse(direction, lightColor::sk_color_t, surfaceScale::Cfloat, kd::Cfloat, input, cropRect)
Skia.sk_imagefilter_new_distant_lit_specular Method
julia
sourcesk_imagefilter_new_distant_lit_specular(direction, lightColor::sk_color_t, surfaceScale::Cfloat, ks::Cfloat, shininess::Cfloat, input, cropRect)
Skia.sk_imagefilter_new_drop_shadow Method
julia
sourcesk_imagefilter_new_drop_shadow(dx::Cfloat, dy::Cfloat, sigmaX::Cfloat, sigmaY::Cfloat, color::sk_color_t, input, cropRect)
Skia.sk_imagefilter_new_drop_shadow_only Method
julia
sourcesk_imagefilter_new_drop_shadow_only(dx::Cfloat, dy::Cfloat, sigmaX::Cfloat, sigmaY::Cfloat, color::sk_color_t, input, cropRect)
Skia.sk_imagefilter_new_erode Method
julia
sourcesk_imagefilter_new_erode(radiusX::Cint, radiusY::Cint, input, cropRect)
Skia.sk_imagefilter_new_image_source Method
julia
sourcesk_imagefilter_new_image_source(image, srcRect, dstRect, samplingOptions)
Skia.sk_imagefilter_new_image_source_default Method
julia
sourcesk_imagefilter_new_image_source_default(image, samplingOptions)
Skia.sk_imagefilter_new_magnifier Method
julia
sourcesk_imagefilter_new_magnifier(lensBounds, zoomAmount::Cfloat, inset::Cfloat, samplingOptions, input, cropRect)
Skia.sk_imagefilter_new_matrix_convolution Method
julia
sourcesk_imagefilter_new_matrix_convolution(kernelSize, kernel, gain::Cfloat, bias::Cfloat, kernelOffset, tileMode::sk_tile_mode_t, convolveAlpha::Bool, input, cropRect)
Skia.sk_imagefilter_new_matrix_transform Method
julia
sourcesk_imagefilter_new_matrix_transform(matrix, samplingOptions, input)
Skia.sk_imagefilter_new_merge Method
julia
sourcesk_imagefilter_new_merge(filters, count::Cint, cropRect)
Skia.sk_imagefilter_new_offset Method
julia
sourcesk_imagefilter_new_offset(dx::Cfloat, dy::Cfloat, input, cropRect)
Skia.sk_imagefilter_new_point_lit_diffuse Method
julia
sourcesk_imagefilter_new_point_lit_diffuse(location, lightColor::sk_color_t, surfaceScale::Cfloat, kd::Cfloat, input, cropRect)
Skia.sk_imagefilter_new_point_lit_specular Method
julia
sourcesk_imagefilter_new_point_lit_specular(location, lightColor::sk_color_t, surfaceScale::Cfloat, ks::Cfloat, shininess::Cfloat, input, cropRect)
Skia.sk_imagefilter_new_spot_lit_diffuse Method
julia
sourcesk_imagefilter_new_spot_lit_diffuse(location, target, specularExponent::Cfloat, cutoffAngle::Cfloat, lightColor::sk_color_t, surfaceScale::Cfloat, kd::Cfloat, input, cropRect)
Skia.sk_imagefilter_new_spot_lit_specular Method
julia
sourcesk_imagefilter_new_spot_lit_specular(location, target, specularExponent::Cfloat, cutoffAngle::Cfloat, lightColor::sk_color_t, surfaceScale::Cfloat, ks::Cfloat, shininess::Cfloat, input, cropRect)
Skia.sk_maskfilter_new_blur_with_flags Method
julia
sourcesk_maskfilter_new_blur_with_flags(arg1::sk_blur_style_t, sigma::Cfloat, respectCTM::Bool)
Skia.sk_paint_get_blend_mode_or Method
julia
sourcesk_paint_get_blend_mode_or(cpaint, defaultMode::sk_blend_mode_t)
Skia.sk_paint_get_fill_path Method
julia
sourcesk_paint_get_fill_path(cpaint, src, dst, cullRect, resScale::Cfloat)
Skia.sk_paint_set_stroke_cap Method
julia
sourcesk_paint_set_stroke_cap(cpaint, ccap::sk_stroke_cap_t)
Skia.sk_paint_set_stroke_join Method
julia
sourcesk_paint_set_stroke_join(cpaint, cjoin::sk_stroke_join_t)
Skia.sk_path_add_circle Method
julia
sourcesk_path_add_circle(cpath, x::Cfloat, y::Cfloat, radius::Cfloat, dir::sk_path_direction_t)
Skia.sk_path_add_path_matrix Method
julia
sourcesk_path_add_path_matrix(cpath, other, matrix, add_mode::sk_path_add_mode_t)
Skia.sk_path_add_path_offset Method
julia
sourcesk_path_add_path_offset(cpath, other, dx::Cfloat, dy::Cfloat, add_mode::sk_path_add_mode_t)
Skia.sk_path_add_rounded_rect Method
julia
sourcesk_path_add_rounded_rect(cpath, crect, rx::Cfloat, ry::Cfloat, cdir::sk_path_direction_t)
Skia.sk_path_arc_to Method
julia
sourcesk_path_arc_to(cpath, rx::Cfloat, ry::Cfloat, xAxisRotate::Cfloat, largeArc::sk_path_arc_size_t, sweep::sk_path_direction_t, x::Cfloat, y::Cfloat)
Skia.sk_path_arc_to_with_oval Method
julia
sourcesk_path_arc_to_with_oval(cpath, oval, startAngle::Cfloat, sweepAngle::Cfloat, forceMoveTo::Bool)
Skia.sk_path_arc_to_with_points Method
julia
sourcesk_path_arc_to_with_points(cpath, x1::Cfloat, y1::Cfloat, x2::Cfloat, y2::Cfloat, radius::Cfloat)
Skia.sk_path_conic_to Method
julia
sourcesk_path_conic_to(cpath, x0::Cfloat, y0::Cfloat, x1::Cfloat, y1::Cfloat, w::Cfloat)
Skia.sk_path_cubic_to Method
julia
sourcesk_path_cubic_to(arg1, x0::Cfloat, y0::Cfloat, x1::Cfloat, y1::Cfloat, x2::Cfloat, y2::Cfloat)
Skia.sk_path_effect_create_1d_path Method
julia
sourcesk_path_effect_create_1d_path(path, advance::Cfloat, phase::Cfloat, style::sk_path_effect_1d_style_t)
Skia.sk_path_effect_create_2d_line Method
julia
sourcesk_path_effect_create_2d_line(width::Cfloat, matrix)
Skia.sk_path_effect_create_dash Method
julia
sourcesk_path_effect_create_dash(intervals, count::Cint, phase::Cfloat)
Skia.sk_path_effect_create_discrete Method
julia
sourcesk_path_effect_create_discrete(segLength::Cfloat, deviation::Cfloat, seedAssist::UInt32)
Skia.sk_path_effect_create_trim Method
julia
sourcesk_path_effect_create_trim(start::Cfloat, stop::Cfloat, mode::sk_path_effect_trim_mode_t)
Skia.sk_path_quad_to Method
julia
sourcesk_path_quad_to(cpath, x0::Cfloat, y0::Cfloat, x1::Cfloat, y1::Cfloat)
Skia.sk_path_rarc_to Method
julia
sourcesk_path_rarc_to(cpath, rx::Cfloat, ry::Cfloat, xAxisRotate::Cfloat, largeArc::sk_path_arc_size_t, sweep::sk_path_direction_t, x::Cfloat, y::Cfloat)
Skia.sk_path_rconic_to Method
julia
sourcesk_path_rconic_to(cpath, dx0::Cfloat, dy0::Cfloat, dx1::Cfloat, dy1::Cfloat, w::Cfloat)
Skia.sk_path_rcubic_to Method
julia
sourcesk_path_rcubic_to(cpath, dx0::Cfloat, dy0::Cfloat, dx1::Cfloat, dy1::Cfloat, dx2::Cfloat, dy2::Cfloat)
Skia.sk_path_set_filltype Method
julia
sourcesk_path_set_filltype(cpath, cfilltype::sk_path_fill_type_t)
Skia.sk_path_transform_to_dest Method
julia
sourcesk_path_transform_to_dest(cpath, cmatrix, destination)
Skia.sk_shader_new_linear_gradient Method
julia
sourcesk_shader_new_linear_gradient(points, colors, colorPos, colorCount::Cint, tileMode::sk_tile_mode_t, localMatrix)
Skia.sk_shader_new_perlin_noise_fractal_noise Method
julia
sourcesk_shader_new_perlin_noise_fractal_noise(baseFrequencyX::Cfloat, baseFrequencyY::Cfloat, numOctaves::Cint, seed::Cfloat, tileSize)
Skia.sk_shader_new_perlin_noise_turbulence Method
julia
sourcesk_shader_new_perlin_noise_turbulence(baseFrequencyX::Cfloat, baseFrequencyY::Cfloat, numOctaves::Cint, seed::Cfloat, tileSize)
Skia.sk_shader_new_radial_gradient Method
julia
sourcesk_shader_new_radial_gradient(center, radius::Cfloat, colors, colorPos, colorCount::Cint, tileMode::sk_tile_mode_t, localMatrix)
Skia.sk_shader_new_sweep_gradient Method
julia
sourcesk_shader_new_sweep_gradient(center, colors, colorPos, colorCount::Cint, tileMode::sk_tile_mode_t, startAngle::Cfloat, endAngle::Cfloat, localMatrix)
Skia.sk_shader_new_two_point_conical_gradient Method
julia
sourcesk_shader_new_two_point_conical_gradient(start, startRadius::Cfloat, _end, endRadius::Cfloat, colors, colorPos, colorCount::Cint, tileMode::sk_tile_mode_t, localMatrix)
Skia.sk_surface_make_canvas_svg Method
julia
sk_surface_make_canvas_svg(bounds, stream, flags::UInt32)
_doc_external(:sk_surface_make_canvas_svg)
sourceSkia.sk_surface_make_raster_direct Method
julia
sourcesk_surface_make_raster_direct(imageInfo, pixels, rowBytes::Csize_t, surfaceProps)
Skia.sk_surface_make_raster_n32_premul Method
julia
sourcesk_surface_make_raster_n32_premul(imageInfo, surfaceProps)
Skia.sk_surface_make_surface Method
julia
sourcesk_surface_make_surface(surface, width::Cint, height::Cint)
Skia.sk_surface_new_backend_render_target Method
julia
sourcesk_surface_new_backend_render_target(context, target, origin::gr_surface_origin_t, colorType::sk_color_type_t, colorspace, props)
Skia.sk_surfaceprops_new Method
julia
sourcesk_surfaceprops_new(flags::UInt32, geometry::sk_pixel_geometry_t)
Skia.sk_textblob_builder_alloc_run Method
julia
sourcesk_textblob_builder_alloc_run(builder, font, count::Cint, x::Cfloat, y::Cfloat, bounds)
Skia.sk_textblob_builder_alloc_run_pos Method
julia
sourcesk_textblob_builder_alloc_run_pos(builder, font, count::Cint, bounds)
Skia.sk_textblob_builder_alloc_run_pos_h Method
julia
sourcesk_textblob_builder_alloc_run_pos_h(builder, font, count::Cint, y::Cfloat, bounds)
Skia.sk_textblob_get_intercepts Method
julia
sourcesk_textblob_get_intercepts(blob, bounds, intervals, paint)
Skia.sk_textblob_make_from_string Method
julia
sourcesk_textblob_make_from_string(text, font, encoding::sk_text_encoding_t)
Skia.sk_textblob_make_from_text Method
julia
sourcesk_textblob_make_from_text(text, font, encoding::sk_text_encoding_t)