JUCE  v5.4.1-191-g0ab5e696f
JUCE API
Looking for a senior C++ dev?
I'm looking for work. Hire me!
juce_graphics.h File Reference
#include <juce_core/juce_core.h>
#include <juce_events/juce_events.h>
#include "geometry/juce_AffineTransform.h"
#include "geometry/juce_Point.h"
#include "geometry/juce_Line.h"
#include "geometry/juce_Rectangle.h"
#include "geometry/juce_Parallelogram.h"
#include "placement/juce_Justification.h"
#include "geometry/juce_Path.h"
#include "geometry/juce_RectangleList.h"
#include "colour/juce_PixelFormats.h"
#include "colour/juce_Colour.h"
#include "colour/juce_ColourGradient.h"
#include "colour/juce_Colours.h"
#include "geometry/juce_BorderSize.h"
#include "geometry/juce_EdgeTable.h"
#include "geometry/juce_PathIterator.h"
#include "geometry/juce_PathStrokeType.h"
#include "placement/juce_RectanglePlacement.h"
#include "images/juce_ImageCache.h"
#include "images/juce_ImageConvolutionKernel.h"
#include "images/juce_ImageFileFormat.h"
#include "fonts/juce_Typeface.h"
#include "fonts/juce_Font.h"
#include "fonts/juce_AttributedString.h"
#include "fonts/juce_GlyphArrangement.h"
#include "fonts/juce_TextLayout.h"
#include "fonts/juce_CustomTypeface.h"
#include "contexts/juce_GraphicsContext.h"
#include "contexts/juce_LowLevelGraphicsContext.h"
#include "images/juce_Image.h"
#include "colour/juce_FillType.h"
#include "native/juce_RenderingHelpers.h"
#include "contexts/juce_LowLevelGraphicsSoftwareRenderer.h"
#include "contexts/juce_LowLevelGraphicsPostScriptRenderer.h"
#include "effects/juce_ImageEffectFilter.h"
#include "effects/juce_DropShadowEffect.h"
#include "effects/juce_GlowEffect.h"
Include dependency graph for juce_graphics.h:
This graph shows which files directly or indirectly include this file:

Namespaces

 juce
 

Macros

#define JUCE_DISABLE_COREGRAPHICS_FONT_SMOOTHING   0
 Config: JUCE_DISABLE_COREGRAPHICS_FONT_SMOOTHING. More...
 
#define JUCE_GRAPHICS_H_INCLUDED
 
#define JUCE_INCLUDE_JPEGLIB_CODE   1
 
#define JUCE_INCLUDE_PNGLIB_CODE   1
 
#define JUCE_USE_COREIMAGE_LOADER   1
 Config: JUCE_USE_COREIMAGE_LOADER. More...
 
#define JUCE_USE_DIRECTWRITE   1
 Config: JUCE_USE_DIRECTWRITE. More...
 
#define USE_COREGRAPHICS_RENDERING   1
 

Macro Definition Documentation

◆ JUCE_DISABLE_COREGRAPHICS_FONT_SMOOTHING

#define JUCE_DISABLE_COREGRAPHICS_FONT_SMOOTHING   0

Config: JUCE_DISABLE_COREGRAPHICS_FONT_SMOOTHING.

Setting this flag will turn off CoreGraphics font smoothing, which some people find makes the text too 'fat' for their taste.

◆ JUCE_GRAPHICS_H_INCLUDED

#define JUCE_GRAPHICS_H_INCLUDED

◆ JUCE_INCLUDE_JPEGLIB_CODE

#define JUCE_INCLUDE_JPEGLIB_CODE   1

◆ JUCE_INCLUDE_PNGLIB_CODE

#define JUCE_INCLUDE_PNGLIB_CODE   1

◆ JUCE_USE_COREIMAGE_LOADER

#define JUCE_USE_COREIMAGE_LOADER   1

Config: JUCE_USE_COREIMAGE_LOADER.

On OSX, enabling this flag means that the CoreImage codecs will be used to load PNG/JPEG/GIF files. It is enabled by default, but you may want to disable it if you'd rather use libpng, libjpeg, etc.

◆ JUCE_USE_DIRECTWRITE

#define JUCE_USE_DIRECTWRITE   1

Config: JUCE_USE_DIRECTWRITE.

Enabling this flag means that DirectWrite will be used when available for font management and layout.

◆ USE_COREGRAPHICS_RENDERING

#define USE_COREGRAPHICS_RENDERING   1