moving things to private headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50801 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -12,6 +12,7 @@
|
|||||||
#include "wx/wxprec.h"
|
#include "wx/wxprec.h"
|
||||||
|
|
||||||
#include "wx/graphics.h"
|
#include "wx/graphics.h"
|
||||||
|
#include "wx/private/graphics.h"
|
||||||
|
|
||||||
#ifndef WX_PRECOMP
|
#ifndef WX_PRECOMP
|
||||||
#include "wx/dcclient.h"
|
#include "wx/dcclient.h"
|
||||||
@@ -285,9 +286,7 @@ wxMacCoreGraphicsPenData::wxMacCoreGraphicsPenData( wxGraphicsRenderer* renderer
|
|||||||
{
|
{
|
||||||
Init();
|
Init();
|
||||||
|
|
||||||
CGFloat components[4] = { pen.GetColour().Red() / 255.0 , pen.GetColour().Green() / 255.0 ,
|
m_color.reset( pen.GetColour().CreateCGColor() ) ;
|
||||||
pen.GetColour().Blue() / 255.0 , pen.GetColour().Alpha() / 255.0 } ;
|
|
||||||
m_color.reset( CGColorCreate( wxMacGetGenericRGBColorSpace() , components ) ) ;
|
|
||||||
|
|
||||||
// TODO: * m_dc->m_scaleX
|
// TODO: * m_dc->m_scaleX
|
||||||
m_width = pen.GetWidth();
|
m_width = pen.GetWidth();
|
||||||
|
Reference in New Issue
Block a user