/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* * This file is part of the LibreOffice project. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
if (!mpAnnotationWindow)
{
vcl::Window* pWindow = pViewShell->GetActiveWindow(); if (pWindow)
{ auto aRealPosition2D = mxAnnotation->getPosition();
Point aPosition(::tools::Long(aRealPosition2D.X * 100.0),
::tools::Long(aRealPosition2D.Y * 100.0));
Point aPositionPixel = pWindow->LogicToPixel(aPosition);
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.