Mercurial > octave
view test/bug-41723/class_bug41723.m @ 31212:55415fa6a20f
svgconvert: Use Lossless encoding of images when available (bug #52193)
* acinclude.m4: Check that QPainter::LosslessImageRendering flag is available.
* octave-svgconvert.cc (draw): Use new flag if available.
* print.m (doc): Update word of caution about svgconvert and images.
author | Pantxo Diribarne <pantxo.diribarne@gmail.com> |
---|---|
date | Mon, 29 Aug 2022 16:36:34 +0200 |
parents | 67a638ac7f24 |
children |
line wrap: on
line source
classdef class_bug41723 < handle properties value endproperties methods function obj = class_bug41723 () obj.value = helper_function (); endfunction function val = getval (obj) val = helper_function_2 (); endfunction endmethods endclassdef function y = helper_function () y = 42; endfunction function y = helper_function_2 (in) if (! nargin) y = helper_function_2 (true); else y = 2 * helper_function (); endif endfunction