Open CASCADE Technology  6.9.0
Namespaces | Functions
Aspect_Convert.hxx File Reference
#include <Standard.hxx>
#include <Quantity_Parameter.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 Quantity_Parameter theQCenterX, const Quantity_Parameter theQCenterY, const Quantity_Parameter theQSizeX, const Quantity_Parameter 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, Quantity_Parameter &theQCenterX, Quantity_Parameter &theQCenterY, Quantity_Parameter &theQSizeX, Quantity_Parameter &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)