Commit Graph

28 Commits

Author SHA1 Message Date
mattias
cc036e53e9 gtk intf: GDIObjects are now reference counted, DeleteObject while object is selected is now allowed, bug #16291
git-svn-id: trunk@24743 -
2010-04-20 15:32:54 +00:00
paul
df57e9f69f gtk: apply affine transform if MapMode = MM_TEXT but ViewPortOrg <> (0, 0)
git-svn-id: trunk@24165 -
2010-03-22 08:03:04 +00:00
paul
45e870d575 win32, gtk, qt: implement viewport affine transformation functions by tk (issue #0014857)
git-svn-id: trunk@23137 -
2009-12-14 05:59:52 +00:00
paul
71db979c45 gtk: don't try to set pattern for pen with dashes count = 0
git-svn-id: trunk@22157 -
2009-10-13 22:21:01 +00:00
mattias
d77de397b1 gtk intf: gdk_pixbuf_render_pixmap_and_mask creates the pixmap and mask itself
git-svn-id: trunk@21783 -
2009-09-20 22:10:20 +00:00
paul
fd061442cc gtk: fix SaveDC
git-svn-id: trunk@21611 -
2009-09-08 08:34:15 +00:00
paul
a4a1469e9d gtk: don't raise an exception if we are creating DC and can't get drawable (fixes issue #14035)
git-svn-id: trunk@20869 -
2009-07-16 02:00:13 +00:00
paul
0c1cf37ea2 gtk2: don't add adjustment value to the DC origin, it is applied by gtk
git-svn-id: trunk@20426 -
2009-06-05 08:42:33 +00:00
paul
9cd36bc5d4 gtk: fix compilation
git-svn-id: trunk@20043 -
2009-05-19 08:10:34 +00:00
paul
9067fc5cdb gtk: move FillRect to TGtkDeviceContext, add argument SkipRop. Use SkipRop = True for winapi FillRect, use SkipRop = False for Polygon (fixes the last problem in issue #0013746)
git-svn-id: trunk@20034 -
2009-05-19 03:30:21 +00:00
paul
75c498b121 gtk: store selected ROP2 mode in the GCValues just after setting it (fixes another part of issue #0013746)
git-svn-id: trunk@20033 -
2009-05-19 03:16:41 +00:00
paul
49a493794c gtk, gtk2: initial support for native alpha bitmaps (using pixbuf as storage) tested on windows only
git-svn-id: trunk@19503 -
2009-04-19 09:46:08 +00:00
paul
a9fae0848f gtk: fix pen properties for pens created by CreatePenIndirect (fixes issue #0013312)
git-svn-id: trunk@18974 -
2009-03-13 03:30:31 +00:00
paul
94cc569029 gtk: use patterns that correspond windows patterns for geometric pens (todo: calc patterns for cosmetic pen later)
git-svn-id: trunk@17384 -
2008-11-14 08:21:34 +00:00
paul
9964b8e57a gtk: fix pen creating with different standard dash styles (mimic windows)
git-svn-id: trunk@17383 -
2008-11-14 06:30:33 +00:00
paul
25ad5bdfac gtk: don't modify selected pen on line, polyline painting
git-svn-id: trunk@17293 -
2008-11-09 12:51:19 +00:00
paul
7e1fb92a72 gtk, gtk2: implement ExtCreatePen
git-svn-id: trunk@17128 -
2008-10-24 15:10:58 +00:00
paul
6c26fac2eb correct typos, etc
git-svn-id: trunk@16809 -
2008-09-30 09:16:11 +00:00
paul
d0f9e88743 gtk, gtk2: PolyLine must skip last point draw to be delphi/win32 compatible
git-svn-id: trunk@16689 -
2008-09-23 23:29:10 +00:00
paul
d6593ebca1 gtk, gtk2: fix clipping rect of newly created bitmap (#0012026)
git-svn-id: trunk@16535 -
2008-09-11 01:17:14 +00:00
mattias
2996a3c332 rename COPYING.modifiedLGPL to COPYING.modifiedLGPL.txt
git-svn-id: trunk@15834 -
2008-07-22 09:48:15 +00:00
mattias
7e001b2934 gtk2 intf: fixed mem leak of creating pango layout for DC, bug #9259
git-svn-id: trunk@15762 -
2008-07-13 15:37:03 +00:00
mattias
e3520a6d50 gtk intf: reduced warnings/notes - use -dVerboseLCLTodos and -dVerboseGtkTodos to see them
git-svn-id: trunk@15422 -
2008-06-14 12:04:46 +00:00
mattias
a62a570ffd gtk2 intf: cache for DC textout operations from Paul
git-svn-id: trunk@15010 -
2008-04-29 12:12:27 +00:00
paul
11de6af8b9 decapitalize all procedure and function keywords to make all looks the same
git-svn-id: trunk@14375 -
2008-03-03 08:06:26 +00:00
mattias
2ccba88670 gtk2 intf: improved rotated fonts
git-svn-id: trunk@14045 -
2008-02-09 13:58:27 +00:00
paul
5f4c1f9e2c gtk: offset should be added only if fixed widget also have no window (fixes something in lazreport)
git-svn-id: trunk@13366 -
2007-12-18 06:06:57 +00:00
marc
28578c3a91 * Started with object based GDI
* More splitup of gtk1/gtk2 code
* Fixed restore of GC after linedrawing
* Enabled desktop grabbing for gtk1

git-svn-id: trunk@12975 -
2007-11-23 00:07:45 +00:00