Date: prev next · Thread: first prev next last
2015 Archives by date, by thread · List index


Hi,

I started to work on Photo Album: Better Image Layout bug #64575 . Image
size calculation is implemented and committed to gerrit. But I haven't
finished crop function yet.

I found some code pointers about CropHandlers [1] [2]. But I need some help
to use on my code.
I am trying to give "rectangular area" information to crop end point. I
already have image size and top left corner coordinate for rectangular
area. As I understand from code pointers, I should give Rectangle (left,
top, right, bottom) to create SdrHandlers. I use SdrHandlers and
GraphicObject to create SdrCropHandler. But I don't know exactly how can I
create them.

Thanks for your help.

[1]
http://opengrok.libreoffice.org/xref/core/svx/source/svdraw/svdograf.cxx#1429
[2]
http://opengrok.libreoffice.org/xref/core/svx/source/svdraw/svdmrkv.cxx#764

-- 

Enes Ateş

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.