mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Update raqote
This commit is contained in:
parent
818b5d4150
commit
430fad8b13
2 changed files with 5 additions and 6 deletions
|
@ -186,8 +186,7 @@ impl Path {
|
|||
}
|
||||
|
||||
pub fn contains_point(&self, x: f64, y: f64, _path_transform: &Transform2D<f32>) -> bool {
|
||||
let path = self.as_raqote();
|
||||
path.contains_point(0.1, path.winding, x as f32, y as f32)
|
||||
self.as_raqote().contains_point(0.1, x as f32, y as f32)
|
||||
}
|
||||
|
||||
pub fn copy_to_builder(&self) -> Box<dyn GenericPathBuilder> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue