Exemplo n.º 1
0
void MouseRelatedEvent::computePageLocation()
{
    float scaleFactor = pageZoomFactor(this) * frameScaleFactor(this);
    setAbsoluteLocation(LayoutPoint(pageX() * scaleFactor, pageY() * scaleFactor));
}
Exemplo n.º 2
0
void MouseRelatedEvent::computePageLocation()
{
    float zoomFactor = pageZoomFactor(this);
    setAbsoluteLocation(roundedLayoutPoint(FloatPoint(pageX() * zoomFactor, pageY() * zoomFactor)));
}
Exemplo n.º 3
0
void MouseRelatedEvent::computePageLocation()
{
    setAbsoluteLocation(LayoutPoint(pageX(), pageY()));
}