INNER CODE UNIT · Rust

find_every_bitmap

autopilot-rs/autopilot-rs · src/bitmap.rs:222

    pub fn find_every_bitmap(
        &self,
        needle: &Bitmap,
        tolerance: Option<f64>,
        rect: Option<Rect>,
        start_point: Option<Point>,
    ) -> Vec<Point> {
        if self.is_needle_oversized(needle) {
            return Vec::new();
        }

        let mut points: Vec<Point> = Vec::new();
        {
            let mut matched = |point| {
                points.push(point);
            };
            self.find_all(
                rect,

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…