windows.offscreen: generalize the declared effect of with-memory-dc
parent
8687a7e283
commit
f13a031f8f
|
@ -46,7 +46,7 @@ IN: windows.offscreen
|
|||
ubyte-components >>component-type
|
||||
t >>upside-down? ;
|
||||
|
||||
: with-memory-dc ( quot: ( hDC -- ) -- )
|
||||
: with-memory-dc ( ..a quot: ( ..a hDC -- ..b ) -- ..b )
|
||||
[ [ f CreateCompatibleDC &DeleteDC ] dip call ] with-destructors ; inline
|
||||
|
||||
:: make-bitmap-image ( dim dc quot -- image )
|
||||
|
|
Loading…
Reference in New Issue