(&self)
| 1090 | } |
| 1091 | |
| 1092 | fn BoundingRectangle(&self) -> Result<UiaRect> { |
| 1093 | self.resolve_with_context(|node, context| { |
| 1094 | let rect = node.bounding_box().map_or(UiaRect::default(), |rect| { |
| 1095 | let client_top_left = context.client_top_left(); |
| 1096 | UiaRect { |
| 1097 | left: rect.x0 + client_top_left.x, |
| 1098 | top: rect.y0 + client_top_left.y, |
| 1099 | width: rect.width(), |
| 1100 | height: rect.height(), |
| 1101 | } |
| 1102 | }); |
| 1103 | Ok(rect) |
| 1104 | }) |
| 1105 | } |
| 1106 | |
| 1107 | fn GetEmbeddedFragmentRoots(&self) -> Result<*mut SAFEARRAY> { |
| 1108 | Ok(std::ptr::null_mut()) |
nothing calls this directly
no test coverage detected