#include "vgfx.h"
#include "graph/dag.h"
Go to the source code of this file.
Classes | |
class | vgfx::NodeChecker |
NodeChecker -- base class that can be used for walk validation see the bottom of this file for some useful validators. More... | |
struct | vgfx::hit_result_t |
hit_result_t -- returned from hit detection More... | |
struct | vgfx::meta_check_t |
class | vgfx::MetaKeyValueChecker |
Namespaces | |
namespace | vgfx |
Functions | |
const char * | vgfx::getDragDropRootNodeID (void) throw () |
getDragDropRootNodeID() - returns the id of the root node used for all drag/drop/copy/paste operations | |
void | vgfx::getDragRequest (IN ObjectMap *map, IN Primitive *root, IN const SetString &selection, IN float x_cm, IN float y_cm, OUT std::string &request) |
getDragRequest() - given root object in map, and selection of tag_paths, return a drag/drop request (all selected objects attached to the known drag/drop root node id) | |
bool | vgfx::getDropRequest (IN ObjectMap *map, IN Primitive *root, IN const SetString &selection, IN std::istream &drag_request, IN float x_cm, IN float y_cm, IN NodeChecker &okayToReceiveDrop, OUT std::string &request, OUT SetString &out_selection) |
getDropRequest() - given a drag_request that has been dropped at (x_cm, y_cm) on a given root in a given map, return a request that adds all of the dropped objects to the correct position in the root. | |
void | vgfx::getSelectionRect (IN ObjectMap *map, IN Primitive *root, IN const SetString &selection,OUT rect_t &r_cm) |
getSelectionRect() - given a set of selected objects, return bounding rect | |
void | vgfx::addDependenciesToGraph (IN ObjectMap *map, IN const char *id, IO graph::DAG *dag) |
addDependenciesToGraph(map, id, dag) - given a top-level object (id) in a map, run through and find all dependencies of the object. | |
bool | vgfx::getObjectAt (IN Primitive *root, IN float x_cm, IN float y_cm, IN NodeChecker &checker, OUT hit_result_t &wr) |
meta_check_t | vgfx::getMeta (IN Primitive *p, IN const char *name) |
std::string | vgfx::getOptionalMeta (IN Primitive *p, IN const char *name, IN const char *default_value) |