Lines Matching refs:box
643 …ectRatioAlign align, AspectRatioMeetOrSlice meetOrSlice, float width, float height, const Box& box) in _calculateAspectRatioMatrix() argument
645 auto sx = width / box.w; in _calculateAspectRatioMatrix()
646 auto sy = height / box.h; in _calculateAspectRatioMatrix()
647 auto tvx = box.x * sx; in _calculateAspectRatioMatrix()
648 auto tvy = box.y * sy; in _calculateAspectRatioMatrix()
663 tvx = box.x * sx; in _calculateAspectRatioMatrix()
664 tvy = box.y * sy; in _calculateAspectRatioMatrix()
665 auto tvw = box.w * sx; in _calculateAspectRatioMatrix()
666 auto tvh = box.h * sy; in _calculateAspectRatioMatrix()
741 Box box = {symbol.vx, symbol.vy, vw, vh}; in _useBuildHelper() local
742 … mViewBox = _calculateAspectRatioMatrix(symbol.align, symbol.meetOrSlice, width, height, box); in _useBuildHelper()