Closed ESPboy-edu closed 1 year ago
You are using uint8_t
.
Thus I assume you are not specifying negative coordinates.
Change the coordinate variable to int8_t
and see how it works.
I am even ashamed for such inattention on my part and taking up your time. I definitely need to be more careful before writing such nonsense. Thank you.
Environment ( 実行環境 )
Problem Description ( 問題の内容 )
Function:
with parameter "color_depth_t depth" = "lgfx::color_depth_t::palette_4bit" Stops render all image if rendered coordinates "float dst_x, float dst_y" of the image are less than 0 coordinate of the display and it is not good. Anyway if we push the image beyond the maximum coordinates of the display, we still see part of the image until it is completely outside the display and it is fine.
Expected Behavior ( 期待される動作 )
"pushImageRotateZoom()" render part of the pushed image which is still in the display's boundaries even if X or Y coordinates of pushed picture less then display's X=0 or Y=0 the same as we see image rendering near the maximum displays coordinates (when the part of image is out of the display).
Actual Behavior ( 実際の動作 )
"pushImageRotateZoom()" do not render part of the pushed image if X or Y coordinates of pushed picture less then display's X=0 or Y=0.
Steps to reproduce ( 再現のための前提条件 )
Code to reproduce this issue ( 再現させるためのコード )
https://gist.github.com/ESPboy-edu/f57c7d3dda8680aff5fe4e99380cd9c6