virtual void FX::FXBitmap::crop ( FXint  x,
FXint  y,
FXint  w,
FXint  h,
FXbool  color = 0 
) [virtual]

Crop bitmap to given rectangle; this calls resize() to adjust the client and server side representations. The new bitmap may be smaller or larger than the old one; blank areas are filled with color. There must be at least one pixel of overlap between the old and the new bitmap.


(C) 2002-2009 Niall Douglas. Some parts (C) to assorted authors.
Generated on Fri Nov 20 18:32:43 2009 for TnFOX by doxygen v1.4.7