Fix Printer class member 'content_offset' naming#672
Fix Printer class member 'content_offset' naming#672Apitronix wants to merge 3 commits intogyscos:mainfrom
Conversation
Replace "content_offset" by "drawing_area_offset".
|
Hi, and thanks for the work! I'm not sure this renaming is necessary. In addition to the breaking change it would cause, it may not be much clearer. First, let's summarize the various values. One of the big concepts is "real size" vs "virtual size", and it mostly matters when scrolling (or cropping) is involved. Let's define a few values:
From this, we can see that For I do agree that the naming are not ideal, but maybe what it needs is more examples, and/or viewport functions that return the |
Replace "content_offset" by "drawing_area_offset".