rich2014
e5159ea7a2
cocoa: fix some legacy transparent icon format issues #41131
...
there are two transparent formats:
1. the one with alpha channel like modern graphic formats (supported previously)
2. the other historical legacy with extra 1bit/pixel MaskBitmap (fixed this time), scaled mask supported also.
2024-09-17 21:02:26 +08:00
rich2014
937d3a121b
Cocoa: fix transparent image drawing , issue #41131
2024-09-15 11:18:42 +08:00
rich2014
fdbb1e6aa3
Cocoa: fix the issues related to Canvas Clipping, especially on version < macOS 11
2024-07-02 20:21:48 +08:00
rich2014
ef3054c557
Cocoa: Fix the issue introduced @ 8ecc0ea
...
for example, the Icon cannot be displayed normally in VirtualTrees
2024-06-09 14:09:21 +08:00
rich2014
8ecc0ea6cc
Cocoa: refactor in TCocoaContext.StretchDraw()
2024-06-06 10:51:40 +08:00
rich2014
9376f57403
Cocoa: SetCGFillping/RestoreCGFillping removed
2024-06-06 10:51:40 +08:00
rich2014
b7183648e0
Cocoa: fix up-side down issue with Transparent Bitmaps (issue #36714 )
2024-06-06 10:51:40 +08:00
rich2014
0ac0870a84
Cocoa: fix Font Orientation issue #40855 (by Johann)
2024-03-25 00:34:25 +08:00
rich2014
97154ac68c
Cocoa: Fix compilation.
2024-02-04 22:09:58 +08:00
David Jenkins
c40823e236
Cocoa: Fix #40636 : TCocoaContext.SetFont() does not update TCocoaFont reference count.
2024-02-04 22:05:38 +08:00
rich2014
25c60331fd
Cocoa/CrossRef: remove unnecessary unit references
2023-11-19 18:36:51 +08:00
rich2014
ca23ffbbdf
Cocoa/CrossRef: Remove Cursor-related unit cross-references
2023-11-19 18:36:51 +08:00
rich2014
8d0f10ed90
Cocoa: Fix #40571 in TCocoaContext.DrawEdge()
2023-10-25 22:07:39 +08:00
rich2014
0f745066a1
Cocoa: Fix #40571 in TCocoaContext.DrawEdgeRect()
2023-10-24 21:48:44 +08:00
rich2014
25f4ba3380
Cocoa: CocoaWinapi & TCocoaContext refactored
2023-10-14 20:53:22 +08:00
rich2014
f49aedaf1f
Cocoa: both 3d style and box style supported in TCocoaWidgetSet.Frame3d() by csParentBackground
2023-10-14 20:53:22 +08:00
rich2014
8a6d93c26e
Revert "Cocoa: TCocoaContext.Frame3d() removed by a901a8e"
...
This reverts commit eb65e0684e
.
2023-10-14 20:53:22 +08:00
rich2014
eb65e0684e
Cocoa: TCocoaContext.Frame3d() removed by a901a8e
2023-07-02 16:57:35 +08:00
rich2014
7111681225
Cocoa: Cursor: completely refactored on LCL cursor infrastructure
2023-06-10 22:38:34 +08:00
rich2014
4169dd097b
Fix: Cocoa: memory leaks in TCocoaContext
2023-05-13 20:35:58 +08:00
Dmitry Boyarintsev
ba8d995dab
cocoa: storing underlying and strikeout with HFONT
2022-05-28 01:13:31 +03:00
Maxim Ganetsky
ddb029aa77
Cocoa: TCocoaContext.GetTextExtentPoint() height correction (its height now matches the font text extents), patch by David Jenkins, issue #39649
2022-02-18 01:00:39 +03:00
Maxim Ganetsky
ffd4757217
Cocoa: CocoaGDIObjects TCocoaContext.TextOut text drawing optimization, patch by David Jenkins (try 2), issue #39641
2022-02-12 02:38:52 +03:00
Maxim Ganetsky
8f648770ae
Revert "Cocoa: CocoaGDIObjects TCocoaContext.TextOut text drawing optimization, patch by David Jenkins, issue #39641 "
...
This reverts commit 6fc2cb7173
.
2022-02-11 17:32:43 +03:00
Maxim Ganetsky
6fc2cb7173
Cocoa: CocoaGDIObjects TCocoaContext.TextOut text drawing optimization, patch by David Jenkins, issue #39641
2022-02-11 01:03:24 +03:00
dmitry
b1a7028cfe
cocoa: revise the color selection for controls. Patch by Zoë Peterson. bug #38280
...
git-svn-id: trunk@64452 -
2021-01-31 06:07:53 +00:00
dmitry
d0a5722486
cocoa: restoring the original context state after drawing. Attempting to prevent unexpected upside downs. Patch by David Jenkins. bug #36021
...
git-svn-id: trunk@64451 -
2021-01-31 05:56:03 +00:00
dmitry
6910915e33
cocoa: avoid using LayoutManager while measuring text for a better performance.
...
git-svn-id: trunk@63871 -
2020-09-07 04:03:49 +00:00
dmitry
f6796707ef
cocoa: re-applying current pen and brush, after clearing clipping. bug #37520
...
git-svn-id: trunk@63702 -
2020-08-09 04:04:21 +00:00
dmitry
f588bfbd67
cocoa: fixes for pattern brush drawing, by Yuriy Sydorov. bug #36565
...
git-svn-id: trunk@62539 -
2020-01-12 20:21:24 +00:00
ondrej
98c349fc08
Cocoa fonts: comments
...
git-svn-id: trunk@62530 -
2020-01-12 01:01:18 +00:00
dmitry
8535bb2ac4
cocoa: using brush color for FrameRect. bug #36410
...
git-svn-id: trunk@62373 -
2019-12-11 01:53:53 +00:00
dmitry
79faff4c47
cocoa: supporting additional bmp formats. Patch by TK. bug #36311
...
git-svn-id: trunk@62351 -
2019-12-08 04:29:51 +00:00
dmitry
890dbfc6fe
cocoa: checking for the rectangle to have some size before drawing
...
git-svn-id: trunk@62280 -
2019-11-22 03:00:06 +00:00
dmitry
a0a27df2f6
cocoa: FPC trunk compatibility update by Jonas Maebe. #35890
...
git-svn-id: trunk@61625 -
2019-07-26 19:33:02 +00:00
dmitry
285f0d4cb6
cocoa: adding rotation of the cursor to make diagonal resizing cursors
...
git-svn-id: trunk@61423 -
2019-06-18 23:07:07 +00:00
dmitry
d0da669311
cocoa: updating drawing styles of geometry patterns. Dots are finally dots! #34744
...
git-svn-id: trunk@61411 -
2019-06-18 13:47:39 +00:00
dmitry
a9c11db3de
cocoa: update handling of DX array passed for UTF8, respecting UTF16 surrogate pairs. #35675
...
git-svn-id: trunk@61323 -
2019-06-05 15:15:32 +00:00
dmitry
2b838aacbd
cocoa: adding compatibility for windows Cosmetic - pen styles. Replaced dynamic memory allocation with stack. #34744
...
git-svn-id: trunk@61115 -
2019-05-03 15:15:04 +00:00
dmitry
64e9a15d41
cocoa: pixel offset of drawing themed panel
...
git-svn-id: trunk@61077 -
2019-04-29 01:49:34 +00:00
dmitry
1d29265eaf
cocoa: correct frame3d context restore after rendering and frame position
...
git-svn-id: trunk@61075 -
2019-04-29 01:25:09 +00:00
dmitry
1bbba763bc
cocoa: renagecheck errors in CGRectToRect and line drawing. Patch by C Western. #30874
...
git-svn-id: trunk@61073 -
2019-04-28 18:29:26 +00:00
dmitry
ee04fcba3b
cocoa: making the box to be drawn up-side up
...
git-svn-id: trunk@61069 -
2019-04-28 16:41:31 +00:00
dmitry
bce16b1033
cocoa: drawing frame3d using NSBox look (mimics carbon)
...
git-svn-id: trunk@61065 -
2019-04-26 19:57:44 +00:00
dmitry
8e3bac19a3
cocoa: using colors with hatch style brushes. Patch by David Jenkins. #32825 , #34414
...
git-svn-id: trunk@61047 -
2019-04-24 06:47:50 +00:00
dmitry
879ab722ef
cocoa: update frame3d method to behave similar to WinApi. #35408
...
git-svn-id: trunk@61019 -
2019-04-19 03:42:42 +00:00
dmitry
bd8706d429
cocoa: updates in drawing a single length lines to half of a pixel (for non retina displays) #34681
...
git-svn-id: trunk@60124 -
2019-01-20 21:27:17 +00:00
dmitry
62db4e537d
cocoa: using Device colorspace, instead of Calibrated colorspace for GDI objects. #34427
...
git-svn-id: trunk@59362 -
2018-10-27 03:26:26 +00:00
dmitry
85ed55eaf4
cocoa: preventing too high values on measuring text with soft-line breaks. #34382
...
git-svn-id: trunk@59251 -
2018-10-04 23:23:47 +00:00
dmitry
7e97caf04a
cocoa: adding a check for TCocoaTextLayout.Draw procedure. Do nothing if string is empty or invalid. Prevents SynEdit crashes for unicode characters
...
git-svn-id: trunk@59196 -
2018-09-30 20:14:02 +00:00