Example #1
0
MCPoint MCStack::view_stacktoviewloc(const MCPoint &p_loc) const
{
	return MCPointTransform(p_loc, m_view_transform);
}
Example #2
0
MCPoint MCScreenDC::screentologicalpoint(const MCPoint &p_point)
{
	MCGFloat t_scale;
	t_scale = 1 / MCWin32GetLogicalToScreenScale();
	return MCPointTransform(p_point, MCGAffineTransformMakeScale(t_scale, t_scale));
}
Example #3
0
MCPoint MCStack::view_viewtostackloc(const MCPoint &p_loc) const
{
	return MCPointTransform(p_loc, MCGAffineTransformInvert(m_view_transform));
}