33#import " CPTDefinitions.h"
44#import " CPTPlatformSpecificDefines.h"
55
6- /* * @brief Node in a linked list of graphics contexts.
6+ /* * @brief Node in a linked list of graphics contexts.
77**/
88typedef struct _CPTContextNode {
99 NSGraphicsContext *context; // /< The graphics context.
1717// linked list to store saved contexts
1818static CPTContextNode *pushedContexts = NULL ;
1919
20- /* * @brief Pushes the current AppKit graphics context onto a stack and replaces it with the given Core Graphics context.
21- * @param newContext The graphics context.
20+ /* * @brief Pushes the current AppKit graphics context onto a stack and replaces it with the given Core Graphics context.
21+ * @param newContext The graphics context.
2222 **/
2323void CPTPushCGContext (CGContextRef newContext)
2424{
@@ -32,7 +32,7 @@ void CPTPushCGContext(CGContextRef newContext)
3232}
3333
3434/* *
35- * @brief Pops the top context off the stack and restores it to the AppKit graphics context.
35+ * @brief Pops the top context off the stack and restores it to the AppKit graphics context.
3636 **/
3737void CPTPopCGContext (void )
3838{
@@ -48,7 +48,7 @@ void CPTPopCGContext(void)
4848#pragma mark Context
4949
5050/* *
51- * @brief Get the default graphics context
51+ * @brief Get the default graphics context
5252 **/
5353CGContextRef CPTGetCurrentContext (void )
5454{
@@ -58,12 +58,12 @@ CGContextRef CPTGetCurrentContext(void)
5858#pragma mark -
5959#pragma mark Colors
6060
61- /* * @brief Creates a CGColorRef from an NSColor.
61+ /* * @brief Creates a @ref CGColorRef from an NSColor.
6262 *
63- * The caller must release the returned CGColorRef. Pattern colors are not supported.
63+ * The caller must release the returned @ref CGColorRef. Pattern colors are not supported.
6464 *
65- * @param nsColor The NSColor.
66- * @return The CGColorRef.
65+ * @param nsColor The NSColor.
66+ * @return The @ref CGColorRef.
6767 **/
6868CGColorRef CPTCreateCGColorFromNSColor (NSColor *nsColor)
6969{
@@ -74,12 +74,12 @@ CGColorRef CPTCreateCGColorFromNSColor(NSColor *nsColor)
7474 return CGColorCreateGenericRGB (r, g, b, a);
7575}
7676
77- /* * @brief Creates a CPTRGBAColor from an NSColor.
77+ /* * @brief Creates a CPTRGBAColor from an NSColor.
7878 *
79- * Pattern colors are not supported.
79+ * Pattern colors are not supported.
8080 *
81- * @param nsColor The NSColor.
82- * @return The CPTRGBAColor.
81+ * @param nsColor The NSColor.
82+ * @return The CPTRGBAColor.
8383 **/
8484CPTRGBAColor CPTRGBAColorFromNSColor (NSColor *nsColor)
8585{
0 commit comments