# Cinder Warp Edges Positioning

**URL:** <https://discourse.libcinder.org/t/cinder-warp-edges-positioning/1560>\
**Category:** Uncategorized\
**Created:** [August 30, 2019, 10:22am UTC](https://discourse.libcinder.org/t/cinder-warp-edges-positioning/1560 "2019-08-30T10:22:40Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![luisArandas](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.libcinder.org/luisarandas/32/705_2.png) [@luisArandas](https://discourse.libcinder.org/u/luisArandas)\
**Post date:** [August 30, 2019, 10:22am UTC](https://discourse.libcinder.org/t/cinder-warp-edges-positioning/1560/1 "2019-08-30T10:22:41Z")

</div>

Hello and good day.

I’ve been trying to manually position the edges of the warp cinder block ([https://github.com/paulhoux/Cinder-Warping](https://github.com/paulhoux/Cinder-Warping)) and I’m not able still don’t understand why.  
Something like a square position in the middle of the screen. I can see size virtual functions but not pos.

Thanks in advance and thanks for this great addon  
Best,  
Luis

---

<div class="post-metadata">

**Author:** ![lithium](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.libcinder.org/lithium/32/38_2.png) [@lithium](https://discourse.libcinder.org/u/lithium)\
**Post date:** [August 30, 2019, 1:35pm UTC](https://discourse.libcinder.org/t/cinder-warp-edges-positioning/1560/2 "2019-08-30T13:35:59Z")

</div>

> <https://github.com/paulhoux/Cinder-Warping/blob/master/include/Warp.h#L190-L193>

---

<div class="post-metadata">

**Author:** ![paul.houx](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.libcinder.org/paul.houx/32/31_2.png) [@paul.houx](https://discourse.libcinder.org/u/paul.houx)\
**Post date:** [August 30, 2019, 6:08pm UTC](https://discourse.libcinder.org/t/cinder-warp-edges-positioning/1560/3 "2019-08-30T18:08:22Z")

</div>

If it’s precise coordinates you’d like to use, I would suggest exporting the warp to a settings file (see example) and then changing the coordinates in that file.

-Paul

---

<div class="post-metadata">

**Author:** ![luisArandas](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.libcinder.org/luisarandas/32/705_2.png) [@luisArandas](https://discourse.libcinder.org/u/luisArandas)\
**Post date:** [August 30, 2019, 7:59pm UTC](https://discourse.libcinder.org/t/cinder-warp-edges-positioning/1560/4 "2019-08-30T19:59:47Z")

</div>

Thank you very much for the answer Paul and lithium, I used the xml it works perfectly.

There is just one issue. The “reset” the warp method puts it 0,0 with the default original image proportions, not respecting the xml 😕  
Is there any straightforward way to do this? Not messing with the lib too much!

I am rebuilding an old software of mine and using this package mainly.  
Thanks again for this.  
Luis
