]> git.eshelyaron.com Git - emacs.git/commit
Rationalize Haiku rectangle handling
authorPo Lu <luangruo@yahoo.com>
Tue, 4 Jan 2022 08:07:53 +0000 (08:07 +0000)
committerPo Lu <luangruo@yahoo.com>
Tue, 4 Jan 2022 08:07:53 +0000 (08:07 +0000)
commita851e5a66900fae68e258ad8aaf92321af1db993
tree36a70fa05a6249858ad49cabb8fe061ba441e71f
parentcbbe235a9093c6939b4984843e11247b3b991b7c
Rationalize Haiku rectangle handling

* src/haiku_draw_support.cc (BView_DrawBitmapWithEraseOp):
(BView_DrawMask):
(rotate_bitmap_270):
(rotate_bitmap_90):
(BBitmap_transform_bitmap):
* src/haiku_support.cc (UnZoom):
(GetParentWidthHeight):
(MakeFullscreen):
(AttachCairoSurface):
(AfterResize):
(DrawContent):
(BView_cr_dump_clipping): Use new rectangle handling macros.

* src/haiku_support.h (BE_RECT_WIDTH, BE_RECT_HEIGHT): New
macros.
src/haiku_draw_support.cc
src/haiku_support.cc
src/haiku_support.h