Vadim Zeitlin
55ccdb93e4
COW cleanup patch (1583966):
...
1. perform deep comparison for the classes for which it makes sense in the
ports where this wasn't done yet
2. remove (shallow) comparison operators for the classes for which it does
not make sense (such as wxBitmap)
3. makes wxBitmap use COW on all ports
4. adds wxObject::IsRefTo()
5. centralizes and improves COW docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42752 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 19:26:48 +00:00
Vadim Zeitlin
3af706cc31
added TGA handler (somewhat modified patch 1393912)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 18:58:25 +00:00
Robert Roebling
4483a3d299
Minor corrections.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42332 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-24 08:37:55 +00:00
Robert Roebling
a91225b27b
[ 1578529 ] better docs for reference-counted objects
...
This already includes the change for wxBitmap, which
is not COW yet.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42094 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-18 17:23:42 +00:00
Vadim Zeitlin
b7cacb43db
add IsOk() to all classes having Ok() method (patch 1570985)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 21:56:55 +00:00
Paul Cornett
452418c4b0
Move some things to wxBitmapBase to avoid much duplication.
...
Use proper const for XPM data, and const void* for arbitary bitmap data.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41689 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 08:04:49 +00:00
Robert Roebling
f164c52bc7
Same problem for blurring functions.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41414 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-24 12:52:24 +00:00
Robert Roebling
e5d1e06de3
Mention the problem with mask colour and blurring.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41413 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-24 12:50:48 +00:00
Robert Roebling
07aaa1a4b8
[ 1537065
] wxImage: Higher quality scaling/sampling
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41412 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-24 12:47:16 +00:00
Robert Roebling
df816ad92f
Updated wxPallete information.
...
Added GetColourCount() implementation to Carbon (I wonder
why it doesnt just use the generic implementation).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41405 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-24 10:27:12 +00:00
Julian Smart
ec85956ae9
Applied patch [ 1339764 ] Add wxImage::ConvertToGreyscale
...
Jamie Gadd
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36995 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-19 09:55:15 +00:00
Mart Raudsepp
7261746aae
image.tex: s/set.to/set to
...
function.tex: fix Vadim's label for wxSUPPRESS_GCC_PRIVATE_DTOR_WARNING
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36403 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-16 00:37:30 +00:00
Włodzimierz Skiba
ce045aed58
wxGetWorkingDirectory() deprecated. Fixed #1338966 .
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36101 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-07 13:27:09 +00:00
Vadim Zeitlin
978d3d3647
added wxImage::RotateHue() and RGB <-> HSV conversions (patch 1227108)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34969 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-28 22:50:34 +00:00
Julian Smart
3a40452d78
Missing arguments fixed
...
Need for blank last line comes back to haunt us again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33301 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-03 12:01:02 +00:00
Vadim Zeitlin
21dc4be5d2
added wxImage::IsTransparent(x, y)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33284 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-02 21:30:22 +00:00
Vadim Zeitlin
60b1fda237
documented static_data parameter of SetAlpha()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33283 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-02 21:20:23 +00:00
Robert Roebling
b737ad10de
Applied John L's patches for curson scaling, image resizing
...
without scaling and the art provider resize bitmap patch.
I'll look into adapting the generic file dialog to it.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32598 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-04 18:33:57 +00:00
Julian Smart
7ab378223c
Documented wxImage XPM data ctor
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32461 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-28 13:55:59 +00:00
Vadim Zeitlin
a4efa72179
added support for saving grey and grey-red PNG images (patch 985447)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32414 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-27 15:24:50 +00:00
Dimitri Schoolwerth
e0cb07e376
reworded parts of the 'alpha channel support' paragraph
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32282 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-21 02:13:25 +00:00
Vadim Zeitlin
828f093601
added InitAlpha() (replaces patch 991168)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32213 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-19 21:51:37 +00:00
Vadim Zeitlin
07d0abae96
document GetOptionInt() as returning 0 for the options which are not present
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-19 16:33:38 +00:00
Ryan Norton
f6e9a8189c
Doc fixes A-M edition. Thanks to Arnout for pointing these out. Also I fixed some others as I went along...
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31801 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-06 17:27:04 +00:00
Włodzimierz Skiba
f510b7b2f3
Missed labels to replace number of 'topicNNN' in anchors. Consistent use of -dtor/-ctor addition in anchors. Content and links to TCP/DDE/Base Server/Client/Connection in correct places.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29647 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-04 15:13:52 +00:00
Włodzimierz Skiba
f0e8a2d077
Missed labels to replace number of 'topicNNN' in anchors. Consistent use of -dtor/-ctor addition in anchors.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-29 11:25:34 +00:00
Vadim Zeitlin
6028be3f39
trying to make GetData() return data format more clear
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29324 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-24 19:46:42 +00:00
Václav Slavík
ff5ad79411
added wxImage::ConvertAlphaToMask
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28810 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-16 12:31:08 +00:00
Julian Smart
fc2171bd4c
Name change replacements
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27090 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-04 08:27:20 +00:00
Julian Smart
e119d0498a
Improved real Latex support
...
Added missing brace for new perlnote
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27089 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-04 07:17:27 +00:00
Mattia Barbon
25e4b4bfde
Correct wxPerl note.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25216 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-17 22:18:56 +00:00
Julian Smart
939fadc8aa
Applied patch [ 710608 ] wxImage::GetImageExtWildcard for image load/save dialogs.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20824 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 16:10:17 +00:00
Julian Smart
ff865c132a
Applied patch [ 730686 ] wxImage::Scale speed improvements
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20453 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-03 15:06:07 +00:00
Václav Slavík
b1ef882100
LaTeX compilation fixes again
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19588 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-16 20:34:07 +00:00
Vadim Zeitlin
487659e0fa
added alpha channel support to wxImage
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19455 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-03 20:33:40 +00:00
Václav Slavík
af49404386
removed deprecated calls from wxImage example (bug #688438 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19411 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-02 11:01:09 +00:00
Julian Smart
80793cda3e
DOc fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19209 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-13 18:28:36 +00:00
Vadim Zeitlin
7b4c314952
moved GetRed() in its correct place in alphabetical order
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18912 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-25 01:09:42 +00:00
Václav Slavík
cc81d32f2b
TRUE/FALSE -> true/false in documentation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18805 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-18 00:16:34 +00:00
Vadim Zeitlin
2b5f62a0b2
merged 2.4 branch into the trunk
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-04 14:11:26 +00:00
Mattia Barbon
f811bc9ac0
Made documentation for wxImage::GetData/SetData more explicit about
...
the fact that wxImage owns the pointer.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-06 21:16:35 +00:00
Vadim Zeitlin
ba90345d08
added missing 'R' in RGB
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15958 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-26 15:43:52 +00:00
Vadim Zeitlin
2edb0bdef6
applied typos and spelling error fixes patch from Olly Betts
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15779 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-07 20:15:28 +00:00
Václav Slavík
4fa0a5b443
docs corrections and docs for Chris' wxImage::SaveFile(filename_only) patch
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-17 11:34:32 +00:00
Václav Slavík
b931f7ee94
applied patch for seeking in GIF images
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14624 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-15 23:59:09 +00:00
Václav Slavík
fd94e8aa45
A couple of changes to wxImage:
...
1. changed wxBMP_foo, wxCUR_foo to wxIMAGE_OPTION_{BMP,CUR}_foo
(with backward compatiblity macros, of course)
2. applied Chris' patch to update hotspot when scaling an image
3. applied Chris' patch to write a filename in XPM and generalized it
to pass wxIMAGE_OPTION_FILENAME to all saving handlers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14247 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-16 01:45:30 +00:00
Václav Slavík
d7af2feac4
changed wxImage::ComputeHistogram to use wxHashMap
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-08 00:16:44 +00:00
Václav Slavík
658974ae66
applied ANI images patch and added wxUSE_ICO_CUR
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-13 12:01:42 +00:00
Václav Slavík
649d13e837
fixing effects of my lack of English skills: GetImagesCount back to GetImageCount
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13313 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-02 17:09:43 +00:00
Václav Slavík
a61d25e639
multiple images support in wxImage
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13307 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-01 23:13:54 +00:00