svcore
1.9
|
PowerOfTwoZoomConstraint.h
Go to the documentation of this file.
virtual int getNearestBlockSize(int requested, RoundingDirection dir=RoundNearest) const
Definition: PowerOfTwoZoomConstraint.cpp:47
Definition: ZoomConstraint.h:40
virtual ZoomLevel getNearestZoomLevel(ZoomLevel requested, RoundingDirection dir=RoundNearest) const override
Given an "ideal" zoom level (frames per pixel or pixels per frame) for a given zoom level...
Definition: PowerOfTwoZoomConstraint.cpp:19
ZoomConstraint is a simple interface that describes a limitation on the available zoom sizes for a vi...
Definition: ZoomConstraint.h:32
Generated by 1.8.11