Audio plugin host https://kx.studio/carla
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.

juce_graphics.h 3.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. /*
  2. ==============================================================================
  3. This file is part of the JUCE library.
  4. Copyright (c) 2013 - Raw Material Software Ltd.
  5. Permission is granted to use this software under the terms of either:
  6. a) the GPL v2 (or any later version)
  7. b) the Affero GPL v3
  8. Details of these licenses can be found at: www.gnu.org/licenses
  9. JUCE is distributed in the hope that it will be useful, but WITHOUT ANY
  10. WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
  11. A PARTICULAR PURPOSE. See the GNU General Public License for more details.
  12. ------------------------------------------------------------------------------
  13. To release a closed-source product which uses JUCE, commercial licenses are
  14. available: visit www.juce.com for more information.
  15. ==============================================================================
  16. */
  17. #ifndef JUCE_GRAPHICS_H_INCLUDED // %%
  18. #define JUCE_GRAPHICS_H_INCLUDED
  19. #include "../juce_core/juce_core.h"
  20. #include "../juce_events/juce_events.h"
  21. //=============================================================================
  22. /** Config: JUCE_USE_COREIMAGE_LOADER
  23. On OSX, enabling this flag means that the CoreImage codecs will be used to load
  24. PNG/JPEG/GIF files. It is enabled by default, but you may want to disable it if
  25. you'd rather use libpng, libjpeg, etc.
  26. */
  27. #ifndef JUCE_USE_COREIMAGE_LOADER
  28. #define JUCE_USE_COREIMAGE_LOADER 1
  29. #endif
  30. /** Config: JUCE_USE_DIRECTWRITE
  31. Enabling this flag means that DirectWrite will be used when available for font
  32. management and layout.
  33. */
  34. #ifndef JUCE_USE_DIRECTWRITE
  35. #define JUCE_USE_DIRECTWRITE 1
  36. #endif
  37. #ifndef JUCE_INCLUDE_PNGLIB_CODE
  38. #define JUCE_INCLUDE_PNGLIB_CODE 1
  39. #endif
  40. #ifndef JUCE_INCLUDE_JPEGLIB_CODE
  41. #define JUCE_INCLUDE_JPEGLIB_CODE 1
  42. #endif
  43. #ifndef USE_COREGRAPHICS_RENDERING
  44. #define USE_COREGRAPHICS_RENDERING 1
  45. #endif
  46. //=============================================================================
  47. namespace juce
  48. {
  49. class Image;
  50. class AffineTransform;
  51. class Path;
  52. class Font;
  53. class Graphics;
  54. class FillType;
  55. class LowLevelGraphicsContext;
  56. #include "geometry/juce_AffineTransform.h"
  57. #include "geometry/juce_Point.h"
  58. #include "geometry/juce_Line.h"
  59. #include "geometry/juce_Rectangle.h"
  60. #include "placement/juce_Justification.h"
  61. #include "geometry/juce_Path.h"
  62. #include "geometry/juce_RectangleList.h"
  63. #include "colour/juce_PixelFormats.h"
  64. #include "colour/juce_Colour.h"
  65. #include "colour/juce_ColourGradient.h"
  66. #include "colour/juce_Colours.h"
  67. #include "geometry/juce_BorderSize.h"
  68. #include "geometry/juce_EdgeTable.h"
  69. #include "geometry/juce_PathIterator.h"
  70. #include "geometry/juce_PathStrokeType.h"
  71. #include "placement/juce_RectanglePlacement.h"
  72. #include "images/juce_ImageCache.h"
  73. #include "images/juce_ImageConvolutionKernel.h"
  74. #include "images/juce_ImageFileFormat.h"
  75. #include "fonts/juce_AttributedString.h"
  76. #include "fonts/juce_Typeface.h"
  77. #include "fonts/juce_Font.h"
  78. #include "fonts/juce_GlyphArrangement.h"
  79. #include "fonts/juce_TextLayout.h"
  80. #include "fonts/juce_CustomTypeface.h"
  81. #include "contexts/juce_GraphicsContext.h"
  82. #include "contexts/juce_LowLevelGraphicsContext.h"
  83. #include "images/juce_Image.h"
  84. #include "colour/juce_FillType.h"
  85. #include "native/juce_RenderingHelpers.h"
  86. #include "contexts/juce_LowLevelGraphicsSoftwareRenderer.h"
  87. #include "contexts/juce_LowLevelGraphicsPostScriptRenderer.h"
  88. #include "effects/juce_ImageEffectFilter.h"
  89. #include "effects/juce_DropShadowEffect.h"
  90. #include "effects/juce_GlowEffect.h"
  91. }
  92. #endif // JUCE_GRAPHICS_H_INCLUDED