source: prextra/impaintbrush.m @ 99

Last change on this file since 99 was 5, checked in by bduin, 14 years ago
File size: 290 bytes
Line 
1function impaintbrush(h,sz)
2% impaintbrush(h,sz)
3%
4% Set the brush size as it is used in impaint.m.
5
6allUD = get(h,'UserData');
7
8if ~isfield(allUD,'impaint')
9        error('No overlay is defined.');
10end
11UD = allUD.impaint;
12
13UD.brushsz = sz;
14
15allUD.impaint = UD;
16set(h,'UserData',allUD);
17
18return
19
20
Note: See TracBrowser for help on using the repository browser.