Mercurial > octave
view test/fcn-handle/bug51567.m @ 31191:bb9d776eafac stable
Fix wrong color in PDF printout of some latex strings (bug #62884)
* octave-svgconvert (draw): For "rect" elements only set brush color if
necessary and eventually restore to previous color.
author | Pantxo Diribarne <pantxo.diribarne@gmail.com> |
---|---|
date | Sun, 14 Aug 2022 18:24:07 +0200 |
parents | 5bca1527b034 |
children |
line wrap: on
line source
classdef bug51567 < handle properties fh1; fh2; endproperties methods function obj = bug51567 (self) obj.fh1 = str2func ("bar"); obj.fh2 = @baz; endfunction function r = bar (obj) r = 13; endfunction function r = baz (obj) r = 42; endfunction function r = doit_1 (obj) r = obj.fh1 (); endfunction function r = doit_2 (obj) r = obj.fh2 (); endfunction endmethods endclassdef