Commit Graph

77 Commits

Author SHA1 Message Date
jesus
208579db61 LCL, carbon fix canvas.pixels, issue #23112, #26275
git-svn-id: trunk@45346 -
2014-06-05 06:25:33 +00:00
juha
7b162087fd Improve license headers in sources, part 1. Refer to details about license, not copyright. Remove jargon about lack of warranty, it is covered in license already.
git-svn-id: trunk@41387 -
2013-05-24 18:30:06 +00:00
paul
90bff7a072 carbon: reapply brush and pen after the DC restore
git-svn-id: trunk@39516 -
2012-12-12 13:12:58 +00:00
paul
260349c3f2 carbon: fix error in comment
git-svn-id: trunk@38884 -
2012-09-28 09:01:29 +00:00
paul
38e53b581d carbon: fix ETO_OPAQUE, and BkMode OPAQUE meaning in ExtTextOut
git-svn-id: trunk@38642 -
2012-09-13 12:56:45 +00:00
paul
b61a389984 carbon: implement ETO_CLIPPED flag for ExtTextOut
git-svn-id: trunk@38640 -
2012-09-13 12:24:45 +00:00
paul
5899b6bcb0 carbon: restore clipping rect on RestoreDC, save/restore Window and Viewport offsets
git-svn-id: trunk@38548 -
2012-09-07 04:15:32 +00:00
paul
b8de86d9ae carbon: implement LPtoDP and DPtoLP, fix setting a clipping region to graphic context - coordinates must be in device units, fix generic implementation of IntersectClipRect
git-svn-id: trunk@38543 -
2012-09-06 15:49:22 +00:00
paul
3fc78e21ca carbon: save/restore clipping region on SaveDC/RestoreDC, correctly return region type on SelectClipRGN call
git-svn-id: trunk@38535 -
2012-09-06 12:21:32 +00:00
paul
ecdd59f310 carbon: restore context transformation matrix after clearing the clipping since it may change after the clipping applying
git-svn-id: trunk@38529 -
2012-09-05 14:17:39 +00:00
mattias
13eb57d802 carbon: clean up
git-svn-id: trunk@37011 -
2012-04-24 12:52:49 +00:00
zeljko
a2ae31d2a0 Carbon: proper initialization of alpha channel.Patch by David Jenkins. issue #21753
git-svn-id: trunk@36774 -
2012-04-14 12:12:02 +00:00
juha
0928ead547 LCL: Changed function ColorToRGB's return value to TColorRef. Many related changes around the code.
git-svn-id: trunk@29734 -
2011-03-06 12:45:59 +00:00
dmitry
6205262833 carbon: implemented winapi Get/SetViewPortOrg functions
git-svn-id: trunk@28699 -
2010-12-12 20:05:49 +00:00
mattias
b07592dfec carbon intf: reduced notes
git-svn-id: trunk@27771 -
2010-10-20 08:18:32 +00:00
dmitry
14b1813403 carbon: final fixes for LineTo 1-pixel line drawing
git-svn-id: trunk@27048 -
2010-08-10 08:39:10 +00:00
sekelsenmat
9a8d703529 Fixes Carbon drawing of lines with width 1
git-svn-id: trunk@27047 -
2010-08-10 04:11:19 +00:00
dmitry
a8f9fab54f carbon: fix masked image drawin. bug #16498
git-svn-id: trunk@25554 -
2010-05-20 21:00:52 +00:00
dmitry
02cbae0466 carbon: improve DC antialiasing setting. if set to false, images are also rendered not-aliased
git-svn-id: trunk@24302 -
2010-03-30 18:17:30 +00:00
dmitry
f2cabe722a carbon: fix for RestoreDCData, patch by Jonas Maebe
git-svn-id: trunk@24268 -
2010-03-29 05:33:13 +00:00
dmitry
56a59d23e6 carbon: fixed StretchBlt bug for source rect larger than sourceDC bounds causing image smudging
git-svn-id: trunk@23753 -
2010-02-21 17:25:53 +00:00
dmitry
de7440fe10 fix for text clipping. fixes #14464, #14463
git-svn-id: trunk@21698 -
2009-09-14 10:59:44 +00:00
dmitry
e64f3abce1 fix for #14550 by Adriaan van Os
git-svn-id: trunk@21647 -
2009-09-10 21:06:11 +00:00
sekelsenmat
be5c686379 carbon: Makes Cocoa support active by default and improves menu handling in TTrayIcon
git-svn-id: trunk@21531 -
2009-09-01 20:27:18 +00:00
dmitry
f1cea2e7e7 carbon: improve clipping operations: proper implementation of IntersectClipRect, ExcludeClipRect, SaveDC, RestoreDC functions
git-svn-id: trunk@21297 -
2009-08-18 20:01:11 +00:00
dmitry
1d4cd359c5 carbon: make GetClipRGN safer
git-svn-id: trunk@21132 -
2009-08-07 10:47:16 +00:00
dmitry
d8f9601b24 carbon support for ExtSelectClipRGN, GetClipRGN, CombineRGN
git-svn-id: trunk@21129 -
2009-08-07 09:54:54 +00:00
dmitry
8a8a08bc64 added missing dxcount parameter
git-svn-id: trunk@19977 -
2009-05-16 04:07:17 +00:00
dmitry
414194be74 carbon: added support fot ExtTextOut( .. Dx) parameter
git-svn-id: trunk@19975 -
2009-05-15 18:43:53 +00:00
dmitry
b8e21c8468 fix for issue #13059
git-svn-id: trunk@19253 -
2009-04-06 15:25:02 +00:00
dmitry
78549425be Fix ExtTextOut function - added ignoring device context BkMode
git-svn-id: trunk@19238 -
2009-04-06 07:57:49 +00:00
tombo
29adec9a88 LCL carbon: changed public to published for ws classes, fixed header comments
git-svn-id: trunk@17582 -
2008-11-25 15:00:12 +00:00
tombo
4dea886e4b LCL Carbon: TCarbonTextLayoutBuffer, check if widget has changed, fixes bug #0011686: A synedit font is not painted correctly if created on a hidden page
git-svn-id: trunk@16807 -
2008-09-30 08:16:47 +00:00
paul
562a275928 carbon: skip last point in polyline to be delphi/win32
git-svn-id: trunk@16714 -
2008-09-25 01:55:31 +00:00
paul
724d7b8199 carbon: focus rect must be drawn inside passed rect
git-svn-id: trunk@16675 -
2008-09-23 02:30:55 +00:00
tombo
a4c53780ce LCL Carbon: removed FPC version ifdef's
git-svn-id: trunk@16165 -
2008-08-20 15:14:26 +00:00
paul
7f24073bad carbon:
- add ability to add mask to the CarbonBitmap
- CreateIconIndirect uses mask now for icons

git-svn-id: trunk@16023 -
2008-08-11 13:42:13 +00:00
mattias
2996a3c332 rename COPYING.modifiedLGPL to COPYING.modifiedLGPL.txt
git-svn-id: trunk@15834 -
2008-07-22 09:48:15 +00:00
tombo
3e0f21b461 LCL carbon: implemented Bitmap.Canvas.GetPixels
git-svn-id: trunk@15781 -
2008-07-14 13:16:07 +00:00
tombo
c85ebeb48d Add info if bitmap format is not supported for creating canvas handle.
git-svn-id: trunk@15779 -
2008-07-14 11:45:57 +00:00
vincents
d6da0cd1a5 carbon and cocoa widget set: fixed compilation with fpc 2.2.1 and higher
git-svn-id: trunk@15309 -
2008-06-04 22:12:59 +00:00
tombo
19cdc96e77 IDE carbon: fixed code hints drawing - Canvas.Frame has been filling with current brush
git-svn-id: trunk@14457 -
2008-03-07 13:52:33 +00:00
tombo
8dde11e9ab LCL Carbon: exclude last pixel when rasterizating line
git-svn-id: trunk@14445 -
2008-03-06 10:59:05 +00:00
tombo
5bdc5f770f LCL carbon: DrawGrid implementation
git-svn-id: trunk@14014 -
2008-02-07 10:57:02 +00:00
tombo
318a8da0fd LCL carbon: improved TNotebook scrolling
- better performance for TSynEdit by caching text layouts

git-svn-id: trunk@13875 -
2008-01-25 14:09:52 +00:00
paul
4db415b23b remove obsoleted splitter drawing code
git-svn-id: trunk@13464 -
2007-12-26 07:09:09 +00:00
tombo
2697aa4c43 Carbon intf: reverted because of bugs
git-svn-id: trunk@13254 -
2007-12-09 20:19:24 +00:00
tombo
4a1d394e7e Carbon intf: improved TextOut performance a little
git-svn-id: trunk@13246 -
2007-12-09 10:59:18 +00:00
tombo
c7450aab97 Carbon intf: fixed canvas text stuff crashing bug with patch from Tobias Giesen
git-svn-id: trunk@13169 -
2007-12-05 19:51:23 +00:00
tombo
b001b9fc65 Carbon intf.: fixed TSynEdit painting
git-svn-id: trunk@12935 -
2007-11-20 11:04:22 +00:00