| 246 | } |
| 247 | |
| 248 | float HPNodeLayoutGetPadding(HPNodeRef node, CSSDirection dir) { |
| 249 | if (node == nullptr || dir > CSSBottom) |
| 250 | return 0; |
| 251 | return node->result.padding[dir]; |
| 252 | } |
| 253 | float HPNodeLayoutGetBorder(HPNodeRef node, CSSDirection dir) { |
| 254 | if (node == nullptr || dir > CSSBottom) |
| 255 | return 0; |
no outgoing calls