Lines Matching refs:cnt
343 … Tvg_Result tvg_shape_get_path_coords(const Tvg_Paint* paint, const Tvg_Point** pts, uint32_t* cnt) in tvg_shape_get_path_coords() argument
345 if (!paint || !pts || !cnt) return TVG_RESULT_INVALID_ARGUMENT; in tvg_shape_get_path_coords()
346 *cnt = reinterpret_cast<const Shape*>(paint)->pathCoords((const Point**)pts); in tvg_shape_get_path_coords()
351 …t tvg_shape_get_path_commands(const Tvg_Paint* paint, const Tvg_Path_Command** cmds, uint32_t* cnt) in tvg_shape_get_path_commands() argument
353 if (!paint || !cmds || !cnt) return TVG_RESULT_INVALID_ARGUMENT; in tvg_shape_get_path_commands()
354 *cnt = reinterpret_cast<const Shape*>(paint)->pathCommands((const PathCommand**)cmds); in tvg_shape_get_path_commands()
410 …_API Tvg_Result tvg_shape_set_stroke_dash(Tvg_Paint* paint, const float* dashPattern, uint32_t cnt) in tvg_shape_set_stroke_dash() argument
413 return (Tvg_Result) reinterpret_cast<Shape*>(paint)->stroke(dashPattern, cnt); in tvg_shape_set_stroke_dash()
417 …_Result tvg_shape_get_stroke_dash(const Tvg_Paint* paint, const float** dashPattern, uint32_t* cnt) in tvg_shape_get_stroke_dash() argument
419 if (!paint || !cnt || !dashPattern) return TVG_RESULT_INVALID_ARGUMENT; in tvg_shape_get_stroke_dash()
420 *cnt = reinterpret_cast<const Shape*>(paint)->strokeDash(dashPattern); in tvg_shape_get_stroke_dash()
645 …lt tvg_gradient_set_color_stops(Tvg_Gradient* grad, const Tvg_Color_Stop* color_stop, uint32_t cnt) in tvg_gradient_set_color_stops() argument
648 …interpret_cast<Fill*>(grad)->colorStops(reinterpret_cast<const Fill::ColorStop*>(color_stop), cnt); in tvg_gradient_set_color_stops()
652 …radient_get_color_stops(const Tvg_Gradient* grad, const Tvg_Color_Stop** color_stop, uint32_t* cnt) in tvg_gradient_get_color_stops() argument
654 if (!grad || !color_stop || !cnt) return TVG_RESULT_INVALID_ARGUMENT; in tvg_gradient_get_color_stops()
655 …*cnt = reinterpret_cast<const Fill*>(grad)->colorStops(reinterpret_cast<const Fill::ColorStop**>(c… in tvg_gradient_get_color_stops()
846 TVG_API Tvg_Result tvg_animation_get_total_frame(Tvg_Animation* animation, float* cnt) in tvg_animation_get_total_frame() argument
848 if (!animation || !cnt) return TVG_RESULT_INVALID_ARGUMENT; in tvg_animation_get_total_frame()
849 *cnt = reinterpret_cast<Animation*>(animation)->totalFrame(); in tvg_animation_get_total_frame()
934 TVG_API Tvg_Result tvg_lottie_animation_get_markers_cnt(Tvg_Animation* animation, uint32_t* cnt) in tvg_lottie_animation_get_markers_cnt() argument
937 if (!animation || !cnt) return TVG_RESULT_INVALID_ARGUMENT; in tvg_lottie_animation_get_markers_cnt()
938 *cnt = reinterpret_cast<LottieAnimation*>(animation)->markersCnt(); in tvg_lottie_animation_get_markers_cnt()