projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add wxFormatInvalid, and tweak the docs for wxDataObject::GetDataHere and SetData
[wxWidgets.git]
/
interface
/
wx
/
dcgraph.h
diff --git
a/interface/wx/dcgraph.h
b/interface/wx/dcgraph.h
index 5d086485c1509eafaad21b1448e24d107a8a7c9f..0683c3a1fc403e620f1cf14e5ecfbe46f8d7eac9 100644
(file)
--- a/
interface/wx/dcgraph.h
+++ b/
interface/wx/dcgraph.h
@@
-23,17
+23,22
@@
public:
/**
Constructs a wxGCDC from a wxWindowDC.
*/
/**
Constructs a wxGCDC from a wxWindowDC.
*/
- wxGCDC( const wxWindowDC&
dc
);
+ wxGCDC( const wxWindowDC&
windowDC
);
/**
Constructs a wxGCDC from a wxMemoryDC.
*/
/**
Constructs a wxGCDC from a wxMemoryDC.
*/
- wxGCDC( const wxMemoryDC&
dc
);
+ wxGCDC( const wxMemoryDC&
memoryDC
);
/**
Constructs a wxGCDC from a wxPrinterDC.
*/
/**
Constructs a wxGCDC from a wxPrinterDC.
*/
- wxGCDC( const wxPrinterDC& dc );
+ wxGCDC( const wxPrinterDC& printerDC );
+
+ /**
+ Construct a wxGCDC from an existing grtaphics context.
+ */
+ wxGCDC(wxGraphicsContext* context);
/**
Constructs a wxGCDC from a wxEnhMetaFileDC.
/**
Constructs a wxGCDC from a wxEnhMetaFileDC.
@@
-44,11
+49,20
@@
public:
@since 2.9.3
*/
@since 2.9.3
*/
- wxGCDC( const wxEnhMetaFileDC&
dc
);
+ wxGCDC( const wxEnhMetaFileDC&
emfDC
);
+ wxGCDC();
+ virtual ~wxGCDC();
+
/**
Retrieves associated wxGraphicsContext
*/
wxGraphicsContext* GetGraphicsContext() const;
/**
Retrieves associated wxGraphicsContext
*/
wxGraphicsContext* GetGraphicsContext() const;
+
+ /**
+ Set the grpahics context to be used for this wxGCDC.
+ */
+ void SetGraphicsContext( wxGraphicsContext* ctx );
+
};
};