BitmapUtils.h 508 B

1234567891011121314151617181920
  1. /*
  2. * Copyright 2009-2010, Pier Luigi Fiorini. All rights reserved.
  3. * Distributed under the terms of the MIT License.
  4. */
  5. #ifndef _BITMAP_UTILS_H
  6. #define _BITMAP_UTILS_H
  7. #include <Bitmap.h>
  8. #include <Mime.h>
  9. #include <Resources.h>
  10. BBitmap* ReadNodeIcon(const char* name, icon_size size,
  11. bool followSymlink);
  12. BBitmap* IconFromResources(BResources* res, int32 num,
  13. icon_size size = B_LARGE_ICON);
  14. BBitmap* RescaleBitmap(const BBitmap* src, float width,
  15. float height);
  16. #endif // _BITMAP_UTILS_H