Adding a native implementation for clearing bitmap/window contexts
Filling a bitmap surface is filled with ARGB 0,0,0,0. This way eg buffered transparent layers can be properly cleared.
This commit is contained in:
parent
40d77062b0
commit
6dfa897b4a
5 changed files with 72 additions and 28 deletions
|
|
@ -759,6 +759,11 @@ void wxGraphicsContext::DrawRectangle( wxDouble x, wxDouble y, wxDouble w, wxDou
|
|||
DrawPath( path );
|
||||
}
|
||||
|
||||
void wxGraphicsContext::ClearRectangle( wxDouble WXUNUSED(x), wxDouble WXUNUSED(y), wxDouble WXUNUSED(w), wxDouble WXUNUSED(h))
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void wxGraphicsContext::DrawEllipse( wxDouble x, wxDouble y, wxDouble w, wxDouble h)
|
||||
{
|
||||
wxGraphicsPath path = CreatePath();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue