/* -*- 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/.
*/
/** Calculate and set the slide size depending on input desired size (in pixels) * * Input the desired size in pixels, and the actual size pixels will be calculated * depending on the size of the slide and the desired size. The size can differ, * because the it must match the slide aspect ratio.
**/
Size calculateAndSetSizePixel(Size const& rDesiredSizePixel);
/** Renders one layer * * The slide layer is rendered into the input buffer, which must be the byte size * of the calculated size in pixels * 4 (RGBA). * The properties of the layer are written to the input string in JSON format. *
* @returns false, if nothing was rendered and rendering is done */ bool render(unsignedchar* pBuffer, bool& bIsBitmapLayer, double& scale, OString& rJsonMsg);
};
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.