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ş
_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to