resvg_get_node_transform method

bool resvg_get_node_transform(
  1. Pointer<resvg_render_tree> tree,
  2. Pointer<Char> id,
  3. Pointer<resvg_transform> transform
)

@brief Returns node's transform by ID.

@param tree Render tree. @param id Node's ID. UTF-8 string. Must not be NULL. @param transform Node's transform. @return true if a node exists. @return false if a node doesn't exist or ID isn't a UTF-8 string. @return false if a node exists, but not renderable.

Implementation

bool resvg_get_node_transform(
  ffi.Pointer<resvg_render_tree> tree,
  ffi.Pointer<ffi.Char> id,
  ffi.Pointer<resvg_transform> transform,
) {
  return _resvg_get_node_transform(
    tree,
    id,
    transform,
  );
}