(&self, bbox: &BoundingBox)
| 3637 | } |
| 3638 | |
| 3639 | fn element_is_offscreen(&self, bbox: &BoundingBox) -> bool { |
| 3640 | if self.culling_disabled { |
| 3641 | return false; |
| 3642 | } |
| 3643 | bbox.x > self.layout_dimensions.width |
| 3644 | || bbox.y > self.layout_dimensions.height |
| 3645 | || bbox.x + bbox.width < 0.0 |
| 3646 | || bbox.y + bbox.height < 0.0 |
| 3647 | } |
| 3648 | |
| 3649 | fn add_render_command(&mut self, cmd: InternalRenderCommand<CustomElementData>) { |
| 3650 | self.render_commands.push(cmd); |
no outgoing calls
no test coverage detected