GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
wxGCDC(3) Erlang Module Definition wxGCDC(3)

wxGCDC - Functions for wxGCDC class

wxGCDC is a device context that draws on a wxGraphicsContext.

wxGCDC does its best to implement wxDC API, but the following features are not (fully) implemented because wxGraphicsContext doesn't support them:

See: wxDC, wxGraphicsContext

This class is derived (and can use functions) from: wxDC

wxWidgets docs: wxGCDC

wxGCDC() = wx:wx_object()

new() -> wxGCDC()


new(WindowDC) -> wxGCDC()


Types:

WindowDC = wxWindowDC:wxWindowDC() | wxMemoryDC:wxMemoryDC() | wxGraphicsContext:wxGraphicsContext()

Constructs a wxGCDC from a wxWindowDC.

destroy(This :: wxGCDC()) -> ok


getGraphicsContext(This) -> wxGraphicsContext:wxGraphicsContext()


Types:

This = wxGCDC()

Retrieves associated wxGraphicsContext.

setGraphicsContext(This, Context) -> ok


Types:

This = wxGCDC()
Context = wxGraphicsContext:wxGraphicsContext()

Set the graphics context to be used for this wxGCDC.

Note that this object takes ownership of context and will delete it when it is destroyed or when setGraphicsContext/2 is called again.

Also, unlike the constructor taking wxGraphicsContext, this method will reapply the current font, pen and brush, so that this object continues to use them, if they had been changed before (which is never the case when constructing wxGCDC directly from wxGraphicsContext).

wx 2.1.1 wxWidgets team.

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.