Adaptagrams
Public Member Functions | List of all members
cola::Resize Class Reference

A Resize specifies a new required bounding box for a node. More...

#include <cola.h>

Collaboration diagram for cola::Resize:
Collaboration graph

Public Member Functions

 Resize (unsigned id, double x, double y, double w, double h)
 Constructs a Resize object for a given node and it's new bounding box. More...
 

Detailed Description

A Resize specifies a new required bounding box for a node.

Constructor & Destructor Documentation

◆ Resize()

cola::Resize::Resize ( unsigned  id,
double  x,
double  y,
double  w,
double  h 
)
inline

Constructs a Resize object for a given node and it's new bounding box.

Parameters
[in]idThe index of the node in the Rectangles vector.
[in]xThe minimum horizontal value for the node's new bounding box.
[in]yThe minimum vertical value for the node's new bounding box.
[in]wThe width value for the node's new bounding box.
[in]hThe height value for the node's new bounding box.

The documentation for this class was generated from the following file: