jiao 0.4.1

Cross platform 2D graphics library
Documentation
// Copyright (c) 2023 Xu Shaohua <shaohua@biofan.org>. All rights reserved.
// Use of this source is governed by Lesser General Public License that can be found
// in the LICENSE file.

use crate::core::matrix::Matrix;
use crate::core::paint::Paint;
use crate::core::path::Path;
use crate::core::rect::Rect;
use crate::core::scalar::Scalar;

/// Returns the filled equivalent of the stroked path.
///
/// # Parameters
/// - `src` - Path read to create a filled version
/// - `paint` - Paint, from which attributes such as stroke cap, width, miter, and join,
///             as well as path effect will be used.
/// - `dst` - resulting Path; may be the same as src
/// - `cull_rect` - optional limit passed to `PathEffect`
/// - `res_scale` - if > 1.0, increase precision, else if (`0.0 < res_scale < 1.0`)
///                 reduce precision to favor speed and size
///
/// Returns true if the dst path was updated, false if it was not
/// (e.g. if the path represents hairline and cannot be filled).
pub fn fill_path_with_paint_and_scale(
    _src: &Path,
    _paint: &Paint,
    _dst: &mut Path,
    _cull_rect: &Rect,
    _res_scale: Scalar,
) {
    unimplemented!()
}

pub fn fill_path_with_paint_and_cull_rect(
    _src: &Path,
    _paint: &Paint,
    _dst: &mut Path,
    _cull_rect: &Rect,
    _ctm: &Matrix,
) {
    unimplemented!()
}

pub fn fill_path_with_paint(_src: &Path, _paint: &Paint, _dst: &mut Path) {
    unimplemented!()
}