<?xml version="1.0" encoding="UTF-8"?>
<hdevelop file_version="1.1" halcon_version="13.0">
<procedure name="disp_region_alpha">
<interface>
<io>
<par name="Region" base_type="iconic" dimension="0"/>
</io>
<ic>
<par name="color" base_type="ctrl" dimension="0"/>
<par name="alpha" base_type="ctrl" dimension="0"/>
</ic>
</interface>
<body>
<c> * Copyright (c) MVTec Software GmbH.  All rights reserved.</c>
<c> *</c>
<c> * All use of this software is subject to the terms of the revised BSD</c>
<c> * license.  You should have received a copy of this license along</c>
<c> * with this source code in a file named "license.txt."</c>
<c></c>
<l>dev_set_draw ('fill')</l>
<l>dev_set_color (color+alpha)</l>
<l>dev_display (Region)</l>
<l>dev_set_draw ('margin')</l>
<l>dev_set_line_width (2)</l>
<l>linecolor := color+'ff'</l>
<l>dev_set_color (linecolor)</l>
<l>dev_display (Region)</l>
<l>return ()</l>
</body>
<docu id="disp_region_alpha">
<parameters>
<parameter id="Region"/>
<parameter id="alpha"/>
<parameter id="color"/>
</parameters>
</docu>
</procedure>
</hdevelop>
