2
0
mirror of https://github.com/boostorg/gil.git synced 2026-01-26 06:32:16 +00:00
Files
gil/develop/doc/html/reference/cmyk_8hpp_source.html
github-actions[bot] 3b73200ee1 deploy: 49d9276706
2025-04-04 16:28:54 +00:00

118 lines
12 KiB
HTML

<!-- HTML header for doxygen 1.8.13-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Generic Image Library: cmyk.hpp Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="doxygen-boost.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div class="boost-header">
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary="header">
<tr>
<td valign="top" width="300">
<h3><a href="../index.html"><img alt="Boost GIL" src="../_static/gil.png" border="0"></a></h3>
</td>
<td ><h1 align="center"><a href="../index.html"></a></h1></td>
<td></td>
</tr>
</table>
</div>
<hr/>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<!-- Generated by Doxygen 1.9.8 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
initMenu('',false,false,'search.php','Search');
});
/* @license-end */
</script>
<div id="main-nav"></div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function() { init_codefold(0); });
/* @license-end */
</script>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_1878a3f4746a95c6aad317458cc7ef80.html">boost</a></li><li class="navelem"><a class="el" href="dir_df4750f408086f9b9c1b5ee4251365ff.html">gil</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle"><div class="title">cmyk.hpp</div></div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno"> 1</span><span class="comment">//</span></div>
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno"> 2</span><span class="comment">// Copyright 2005-2007 Adobe Systems Incorporated</span></div>
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno"> 3</span><span class="comment">//</span></div>
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno"> 4</span><span class="comment">// Distributed under the Boost Software License, Version 1.0</span></div>
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno"> 5</span><span class="comment">// See accompanying file LICENSE_1_0.txt or copy at</span></div>
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno"> 6</span><span class="comment">// http://www.boost.org/LICENSE_1_0.txt</span></div>
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno"> 7</span><span class="comment">//</span></div>
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno"> 8</span><span class="preprocessor">#ifndef BOOST_GIL_CMYK_HPP</span></div>
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno"> 9</span><span class="preprocessor">#define BOOST_GIL_CMYK_HPP</span></div>
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno"> 10</span> </div>
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno"> 11</span><span class="preprocessor">#include &lt;boost/gil/metafunctions.hpp&gt;</span></div>
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno"> 12</span><span class="preprocessor">#include &lt;boost/gil/detail/mp11.hpp&gt;</span></div>
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno"> 13</span> </div>
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno"> 14</span><span class="preprocessor">#include &lt;cstddef&gt;</span></div>
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno"> 15</span> </div>
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno"> 16</span><span class="keyword">namespace </span><a class="code hl_namespace" href="namespaceboost.html">boost</a> { <span class="keyword">namespace </span>gil {</div>
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno"> 17</span> </div>
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno"> 20</span> </div>
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"><a class="line" href="structboost_1_1gil_1_1cyan__t.html"> 22</a></span><span class="keyword">struct </span><a class="code hl_struct" href="structboost_1_1gil_1_1cyan__t.html">cyan_t</a> {};</div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"> 23</span> </div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"><a class="line" href="structboost_1_1gil_1_1magenta__t.html"> 25</a></span><span class="keyword">struct </span><a class="code hl_struct" href="structboost_1_1gil_1_1magenta__t.html">magenta_t</a> {};</div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno"> 26</span> </div>
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"><a class="line" href="structboost_1_1gil_1_1yellow__t.html"> 28</a></span><span class="keyword">struct </span><a class="code hl_struct" href="structboost_1_1gil_1_1yellow__t.html">yellow_t</a> {};</div>
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"> 29</span> </div>
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"><a class="line" href="structboost_1_1gil_1_1black__t.html"> 31</a></span><span class="keyword">struct </span><a class="code hl_struct" href="structboost_1_1gil_1_1black__t.html">black_t</a> {};</div>
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"> 33</span> </div>
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"> 35</span><span class="keyword">using </span>cmyk_t = mp11::mp_list&lt;cyan_t, magenta_t, yellow_t, black_t&gt;;</div>
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"> 36</span> </div>
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"> 38</span><span class="keyword">using </span><a class="code hl_struct" href="structboost_1_1gil_1_1layout.html">cmyk_layout_t</a> = <a class="code hl_struct" href="structboost_1_1gil_1_1layout.html">layout&lt;cmyk_t&gt;</a>;</div>
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno"> 39</span> </div>
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"> 42</span><span class="keyword">template</span> &lt;<span class="keyword">typename</span> IC&gt;</div>
<div class="foldopen" id="foldopen00043" data-start="{" data-end="}">
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"><a class="line" href="group___image_view_constructors.html#ga7e7d6bccca81c27339bf7bdb2ef9c6ee"> 43</a></span><span class="keyword">inline</span> <span class="keyword">auto</span> <a class="code hl_function" href="group___image_view_constructors.html#ga7e7d6bccca81c27339bf7bdb2ef9c6ee">planar_cmyk_view</a>(std::size_t width, std::size_t height, IC c, IC m, IC y, IC k, std::ptrdiff_t rowsize_in_bytes)</div>
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno"> 44</span> -&gt; <span class="keyword">typename</span> <a class="code hl_struct" href="structboost_1_1gil_1_1type__from__x__iterator.html">type_from_x_iterator&lt;planar_pixel_iterator&lt;IC,cmyk_t&gt;</a>&gt;::view_t</div>
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno"> 45</span>{</div>
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno"> 46</span> <span class="keyword">using </span>view_t = <span class="keyword">typename</span> <a class="code hl_struct" href="structboost_1_1gil_1_1type__from__x__iterator.html">type_from_x_iterator&lt;planar_pixel_iterator&lt;IC,cmyk_t&gt;</a> &gt;::view_t;</div>
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno"> 47</span> <span class="keywordflow">return</span> view_t(width, height, <span class="keyword">typename</span> view_t::locator(<a class="code hl_struct" href="structboost_1_1gil_1_1planar__pixel__iterator.html">planar_pixel_iterator&lt;IC,cmyk_t&gt;</a>(c,m,y,k), rowsize_in_bytes));</div>
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno"> 48</span>}</div>
</div>
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno"> 49</span> </div>
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno"> 50</span>}} <span class="comment">// namespace gil</span></div>
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno"> 51</span> </div>
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno"> 52</span><span class="preprocessor">#endif</span></div>
<div class="ttc" id="agroup___image_view_constructors_html_ga7e7d6bccca81c27339bf7bdb2ef9c6ee"><div class="ttname"><a href="group___image_view_constructors.html#ga7e7d6bccca81c27339bf7bdb2ef9c6ee">boost::gil::planar_cmyk_view</a></div><div class="ttdeci">auto planar_cmyk_view(std::size_t width, std::size_t height, IC c, IC m, IC y, IC k, std::ptrdiff_t rowsize_in_bytes) -&gt; typename type_from_x_iterator&lt; planar_pixel_iterator&lt; IC, cmyk_t &gt; &gt;::view_t</div><div class="ttdoc">from raw CMYK planar data</div><div class="ttdef"><b>Definition</b> cmyk.hpp:43</div></div>
<div class="ttc" id="anamespaceboost_html"><div class="ttname"><a href="namespaceboost.html">boost</a></div><div class="ttdoc">defined(BOOST_NO_CXX17_HDR_MEMORY_RESOURCE)</div><div class="ttdef"><b>Definition</b> algorithm.hpp:36</div></div>
<div class="ttc" id="astructboost_1_1gil_1_1black__t_html"><div class="ttname"><a href="structboost_1_1gil_1_1black__t.html">boost::gil::black_t</a></div><div class="ttdoc">Black.</div><div class="ttdef"><b>Definition</b> cmyk.hpp:31</div></div>
<div class="ttc" id="astructboost_1_1gil_1_1cyan__t_html"><div class="ttname"><a href="structboost_1_1gil_1_1cyan__t.html">boost::gil::cyan_t</a></div><div class="ttdoc">Cyan.</div><div class="ttdef"><b>Definition</b> cmyk.hpp:22</div></div>
<div class="ttc" id="astructboost_1_1gil_1_1layout_html"><div class="ttname"><a href="structboost_1_1gil_1_1layout.html">boost::gil::layout</a></div><div class="ttdoc">Represents a color space and ordering of channels in memory.</div><div class="ttdef"><b>Definition</b> utilities.hpp:268</div></div>
<div class="ttc" id="astructboost_1_1gil_1_1magenta__t_html"><div class="ttname"><a href="structboost_1_1gil_1_1magenta__t.html">boost::gil::magenta_t</a></div><div class="ttdoc">Magenta.</div><div class="ttdef"><b>Definition</b> cmyk.hpp:25</div></div>
<div class="ttc" id="astructboost_1_1gil_1_1planar__pixel__iterator_html"><div class="ttname"><a href="structboost_1_1gil_1_1planar__pixel__iterator.html">boost::gil::planar_pixel_iterator</a></div><div class="ttdoc">An iterator over planar pixels. Models HomogeneousColorBaseConcept, PixelIteratorConcept,...</div><div class="ttdef"><b>Definition</b> planar_pixel_iterator.hpp:58</div></div>
<div class="ttc" id="astructboost_1_1gil_1_1type__from__x__iterator_html"><div class="ttname"><a href="structboost_1_1gil_1_1type__from__x__iterator.html">boost::gil::type_from_x_iterator</a></div><div class="ttdoc">Given a pixel iterator defining access to pixels along a row, returns the types of the corresponding ...</div><div class="ttdef"><b>Definition</b> metafunctions.hpp:303</div></div>
<div class="ttc" id="astructboost_1_1gil_1_1yellow__t_html"><div class="ttname"><a href="structboost_1_1gil_1_1yellow__t.html">boost::gil::yellow_t</a></div><div class="ttdoc">Yellow.</div><div class="ttdef"><b>Definition</b> cmyk.hpp:28</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- HTML footer for doxygen 1.8.13-->
<!-- start footer part -->
<hr class="footer"/>
<address class="footer">
<small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">doxygen</a> 1.9.8
</small>
</address>
</body>
</html>