Open CASCADE Technology  7.3.0
Namespaces | Functions

Aspect_Convert.hxx File Reference

#include <Standard.hxx>
#include <Standard_Real.hxx>

Namespaces

 Aspect_Convert
 Auxiliary functions for DCU <-> Pixels conversions.
 

Functions

Standard_Integer Aspect_Convert::Round (Standard_Real theValue)
 
void Aspect_Convert::ConvertCoordinates (const Standard_Integer theParentPxSizeX, const Standard_Integer theParentPxSizeY, const Standard_Real theQCenterX, const Standard_Real theQCenterY, const Standard_Real theQSizeX, const Standard_Real theQSizeY, Standard_Integer &thePxLeft, Standard_Integer &thePxTop, Standard_Integer &thePxSizeX, Standard_Integer &thePxSizeY)
 
void Aspect_Convert::ConvertCoordinates (const Standard_Integer theParentPxSizeX, const Standard_Integer theParentPxSizeY, const Standard_Integer thePxLeft, const Standard_Integer thePxTop, const Standard_Integer thePxSizeX, const Standard_Integer thePxSizeY, Standard_Real &theQCenterX, Standard_Real &theQCenterY, Standard_Real &theQSizeX, Standard_Real &theQSizeY)
 
void Aspect_Convert::FitIn (const Standard_Integer theParentPxSizeX, const Standard_Integer theParentPxSizeY, Standard_Integer &thePxLeft, Standard_Integer &thePxTop, Standard_Integer &thePxSizeX, Standard_Integer &thePxSizeY)