The JUCE cross-platform C++ framework, with DISTRHO/KXStudio specific changes
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

116 lines
4.4KB

  1. /*
  2. ==============================================================================
  3. This file is part of the JUCE library - "Jules' Utility Class Extensions"
  4. Copyright 2004-11 by Raw Material Software Ltd.
  5. ------------------------------------------------------------------------------
  6. JUCE can be redistributed and/or modified under the terms of the GNU General
  7. Public License (Version 2), as published by the Free Software Foundation.
  8. A copy of the license is included in the JUCE distribution, or can be found
  9. online at www.gnu.org/licenses.
  10. JUCE is distributed in the hope that it will be useful, but WITHOUT ANY
  11. WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
  12. A PARTICULAR PURPOSE. See the GNU General Public License for more details.
  13. ------------------------------------------------------------------------------
  14. To release a closed-source product which uses JUCE, commercial licenses are
  15. available: visit www.rawmaterialsoftware.com/juce for more information.
  16. ==============================================================================
  17. */
  18. #ifdef __JUCE_GRAPHICS_MODULE_JUCEHEADER__
  19. /* When you add this cpp file to your project, you mustn't include it in a file where you've
  20. already included any other headers - just put it inside a file on its own, possibly with your config
  21. flags preceding it, but don't include anything else. That also includes avoiding any automatic prefix
  22. header files that the compiler may be using.
  23. */
  24. #error "Incorrect use of JUCE cpp file"
  25. #endif
  26. // Your project must contain an AppConfig.h file with your project-specific settings in it,
  27. // and your header search path must make it accessible to the module's files.
  28. #include "AppConfig.h"
  29. #include "../juce_core/native/juce_BasicNativeHeaders.h"
  30. #include "juce_graphics.h"
  31. //==============================================================================
  32. #if JUCE_MAC
  33. #import <QuartzCore/QuartzCore.h>
  34. #elif JUCE_IOS
  35. #import <QuartzCore/QuartzCore.h>
  36. #import <CoreText/CoreText.h>
  37. #elif JUCE_LINUX
  38. #include <ft2build.h>
  39. #include FT_FREETYPE_H
  40. #undef SIZEOF
  41. #endif
  42. //==============================================================================
  43. // START_AUTOINCLUDE colour/*.cpp, geometry/*.cpp, placement/*.cpp, contexts/*.cpp, images/*.cpp,
  44. // image_formats/*.cpp, fonts/*.cpp, effects/*.cpp
  45. #include "colour/juce_Colour.cpp"
  46. #include "colour/juce_ColourGradient.cpp"
  47. #include "colour/juce_Colours.cpp"
  48. #include "colour/juce_FillType.cpp"
  49. #include "geometry/juce_AffineTransform.cpp"
  50. #include "geometry/juce_EdgeTable.cpp"
  51. #include "geometry/juce_Path.cpp"
  52. #include "geometry/juce_PathIterator.cpp"
  53. #include "geometry/juce_PathStrokeType.cpp"
  54. #include "geometry/juce_RectangleList.cpp"
  55. #include "placement/juce_Justification.cpp"
  56. #include "placement/juce_RectanglePlacement.cpp"
  57. #include "contexts/juce_GraphicsContext.cpp"
  58. #include "contexts/juce_LowLevelGraphicsPostScriptRenderer.cpp"
  59. #include "contexts/juce_LowLevelGraphicsSoftwareRenderer.cpp"
  60. #include "images/juce_Image.cpp"
  61. #include "images/juce_ImageCache.cpp"
  62. #include "images/juce_ImageConvolutionKernel.cpp"
  63. #include "images/juce_ImageFileFormat.cpp"
  64. #include "image_formats/juce_GIFLoader.cpp"
  65. #include "image_formats/juce_JPEGLoader.cpp"
  66. #include "image_formats/juce_PNGLoader.cpp"
  67. #include "fonts/juce_CustomTypeface.cpp"
  68. #include "fonts/juce_Font.cpp"
  69. #include "fonts/juce_GlyphArrangement.cpp"
  70. #include "fonts/juce_TextLayout.cpp"
  71. #include "fonts/juce_Typeface.cpp"
  72. #include "effects/juce_DropShadowEffect.cpp"
  73. #include "effects/juce_GlowEffect.cpp"
  74. // END_AUTOINCLUDE
  75. //==============================================================================
  76. BEGIN_JUCE_NAMESPACE
  77. #if JUCE_MAC || JUCE_IOS
  78. #include "../juce_core/native/juce_osx_ObjCHelpers.h"
  79. #include "../juce_core/native/juce_mac_ObjCSuffix.h"
  80. #include "native/juce_mac_Fonts.mm"
  81. #include "native/juce_mac_CoreGraphicsContext.mm"
  82. #elif JUCE_WINDOWS
  83. #if JUCE_DIRECT2D
  84. #include "native/juce_win32_Direct2DGraphicsContext.cpp"
  85. #endif
  86. #include "native/juce_win32_Fonts.cpp"
  87. #elif JUCE_LINUX
  88. #include "native/juce_linux_Fonts.cpp"
  89. #elif JUCE_ANDROID
  90. #include "../juce_core/native/juce_android_JNIHelpers.h"
  91. #include "native/juce_android_GraphicsContext.cpp"
  92. #include "native/juce_android_Fonts.cpp"
  93. #endif
  94. END_JUCE_NAMESPACE