X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c3316efa21fd8ee660348f66b1977f26ab133df6..c36cdfc084f779b67668af8cad3eb6906182af21:/docs/latex/wx/image.tex diff --git a/docs/latex/wx/image.tex b/docs/latex/wx/image.tex index b199e0c95f..8a7721ff5d 100644 --- a/docs/latex/wx/image.tex +++ b/docs/latex/wx/image.tex @@ -82,6 +82,10 @@ PNM format, {\bf wxPNMHandler} will always save as raw RGB. +\wxheading{Library} + +\helpref{wxCore}{librarieslist} + \wxheading{See also} \helpref{wxBitmap}{wxbitmap}, @@ -777,7 +781,8 @@ the user. \wxheading{See also} \helpref{wxImageHandler}{wximagehandler}, -\helpref{wxInitAllImageHandlers}{wxinitallimagehandlers} +\helpref{wxInitAllImageHandlers}{wxinitallimagehandlers}, +\helpref{wxQuantize}{wxquantize} \membersection{wxImage::InsertHandler}\label{wximageinserthandler} @@ -941,6 +946,12 @@ Returns a mirrored copy of the image. The parameter {\it horizontally} indicates the orientation. +\membersection{wxImage::Paste}\label{wximagepaste} + +\func{void}{Paste}{\param{const wxImage\& }{image}, \param{int }{x}, \param{int }{y}} + +Copy the data of the given \arg{image} to the specified position in this image. + \membersection{wxImage::Replace}\label{wximagereplace} \func{void}{Replace}{\param{unsigned char}{ r1}, \param{unsigned char}{ g1}, \param{unsigned char}{ b1}, @@ -1155,8 +1166,10 @@ Returns a resized version of this image without scaling it by adding either a bo with the given colour or cropping as necessary. The image is pasted into a new image with the given {\it size} and background colour at the position {\it pos} relative to the upper left of the new image. If {\it red = green = blue = -1} -then use either the current mask colour if set or find, use, and set a -suitable mask colour for any newly exposed areas. +then the areas of the larger image not covered by this image are made +transparent by filling them with the image mask colour (which will be allocated +automatically if it isn't currently set). Otherwise, the areas will be filled +with the colour with the specified RGB components. \wxheading{See also} @@ -1328,6 +1341,10 @@ created by IJG.) +\wxheading{Library} + +\helpref{wxCore}{librarieslist} + \wxheading{See also} \helpref{wxImage}{wximage},