supertux
Public Member Functions | Public Attributes | List of all members
PathWalker::Handle Class Reference

Helper class that allows to displace a handle on an object. More...

#include <path_walker.hpp>

Public Member Functions

Vector get_pos (const Sizef &size, const Vector &pos) const
 

Public Attributes

Vector m_scalar_pos
 The scale of the object the handle should be displaced to ((0,0) = top left, (1,1) = bottom right)
 
Vector m_pixel_offset
 The secondary displacement, in absolute size (pixels)
 

Detailed Description

Helper class that allows to displace a handle on an object.


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