mirror of
https://github.com/jkriege2/JKQtPlotter.git
synced 2024-12-26 18:41:40 +08:00
182 lines
31 KiB
HTML
182 lines
31 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
|
|
<title>QTeXEngine: C:/qtiplot/3rdparty/QTeXEngine/src/QTeXEngine.h Source File</title>
|
|
<link href="tabs.css" rel="stylesheet" type="text/css">
|
|
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
|
</head><body>
|
|
<!-- Generated by Doxygen 1.5.8 -->
|
|
<div class="navigation" id="top">
|
|
<div class="tabs">
|
|
<ul>
|
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
|
<li><a href="pages.html"><span>Related Pages</span></a></li>
|
|
<li><a href="annotated.html"><span>Classes</span></a></li>
|
|
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
|
<li><a href="dirs.html"><span>Directories</span></a></li>
|
|
</ul>
|
|
</div>
|
|
<div class="tabs">
|
|
<ul>
|
|
<li><a href="files.html"><span>File List</span></a></li>
|
|
</ul>
|
|
</div>
|
|
<div class="navpath"><a class="el" href="dir_def0c14f7261295f36d3de237dcfedeb.html">src</a>
|
|
</div>
|
|
</div>
|
|
<div class="contents">
|
|
<h1>QTeXEngine.h</h1><a href="QTeXEngine_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/***************************************************************************</span>
|
|
<a name="l00002"></a>00002 <span class="comment"> File : QTeXEngine.h</span>
|
|
<a name="l00003"></a>00003 <span class="comment"> Project : QTeXEngine GNU GPL v. 3.0</span>
|
|
<a name="l00004"></a>00004 <span class="comment"> --------------------------------------------------------------------</span>
|
|
<a name="l00005"></a>00005 <span class="comment"> Copyright : (C) 2009 by Ion Vasilief</span>
|
|
<a name="l00006"></a>00006 <span class="comment"> Email (use @ for *) : ion_vasilief*yahoo.fr</span>
|
|
<a name="l00007"></a>00007 <span class="comment"> Description : Enables the export of QPainter grafics to .tex files</span>
|
|
<a name="l00008"></a>00008 <span class="comment"> ***************************************************************************/</span>
|
|
<a name="l00009"></a>00009
|
|
<a name="l00010"></a>00010 <span class="comment">/***************************************************************************</span>
|
|
<a name="l00011"></a>00011 <span class="comment"> * *</span>
|
|
<a name="l00012"></a>00012 <span class="comment"> * This program is free software; you can redistribute it and/or modify *</span>
|
|
<a name="l00013"></a>00013 <span class="comment"> * it under the terms of the GNU General Public License as published by *</span>
|
|
<a name="l00014"></a>00014 <span class="comment"> * the Free Software Foundation; either version 3 of the License, or *</span>
|
|
<a name="l00015"></a>00015 <span class="comment"> * (at your option) any later version. *</span>
|
|
<a name="l00016"></a>00016 <span class="comment"> * *</span>
|
|
<a name="l00017"></a>00017 <span class="comment"> * This program is distributed in the hope that it will be useful, *</span>
|
|
<a name="l00018"></a>00018 <span class="comment"> * but WITHOUT ANY WARRANTY; without even the implied warranty of *</span>
|
|
<a name="l00019"></a>00019 <span class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *</span>
|
|
<a name="l00020"></a>00020 <span class="comment"> * GNU General Public License for more details. *</span>
|
|
<a name="l00021"></a>00021 <span class="comment"> * *</span>
|
|
<a name="l00022"></a>00022 <span class="comment"> * You should have received a copy of the GNU General Public License *</span>
|
|
<a name="l00023"></a>00023 <span class="comment"> * along with this program; if not, write to the Free Software *</span>
|
|
<a name="l00024"></a>00024 <span class="comment"> * Foundation, Inc., 51 Franklin Street, Fifth Floor, *</span>
|
|
<a name="l00025"></a>00025 <span class="comment"> * Boston, MA 02110-1301 USA *</span>
|
|
<a name="l00026"></a>00026 <span class="comment"> * *</span>
|
|
<a name="l00027"></a>00027 <span class="comment"> ***************************************************************************/</span>
|
|
<a name="l00028"></a>00028
|
|
<a name="l00029"></a>00029 <span class="preprocessor">#ifndef Q_TEX_ENGINE_H</span>
|
|
<a name="l00030"></a>00030 <span class="preprocessor"></span><span class="preprocessor">#define Q_TEX_ENGINE_H</span>
|
|
<a name="l00031"></a>00031 <span class="preprocessor"></span>
|
|
<a name="l00032"></a>00032 <span class="preprocessor">#include <QPaintDevice></span>
|
|
<a name="l00033"></a>00033 <span class="preprocessor">#include <QPaintEngine></span>
|
|
<a name="l00034"></a>00034 <span class="preprocessor">#include <QPrinter></span>
|
|
<a name="l00035"></a>00035
|
|
<a name="l00036"></a>00036 <span class="keyword">class </span>QFile;
|
|
<a name="l00037"></a>00037 <span class="keyword">class </span><a class="code" href="classQTeXPaintEngine.html">QTeXPaintEngine</a>;
|
|
<a name="l00038"></a>00038
|
|
<a name="l00039"></a><a class="code" href="classQTeXPaintDevice.html">00039</a> <span class="keyword">class </span><a class="code" href="classQTeXPaintDevice.html">QTeXPaintDevice</a> : <span class="keyword">public</span> QPaintDevice
|
|
<a name="l00040"></a>00040 {
|
|
<a name="l00041"></a>00041 <span class="keyword">public</span>:
|
|
<a name="l00042"></a><a class="code" href="classQTeXPaintDevice.html#c64e07b137c2948cf9184fb03735613d">00042</a> <span class="keyword">enum</span> <a class="code" href="classQTeXPaintDevice.html#c64e07b137c2948cf9184fb03735613d">Unit</a>{<a class="code" href="classQTeXPaintDevice.html#c64e07b137c2948cf9184fb03735613d6147054c31f52c6184293b2fd5443be8">pt</a>, <a class="code" href="classQTeXPaintDevice.html#c64e07b137c2948cf9184fb03735613d61fa8c0359edefbf77e379105c085c31">bp</a>, <a class="code" href="classQTeXPaintDevice.html#c64e07b137c2948cf9184fb03735613d7d606be9de9193f8078b4a40e7841964">mm</a>, <a class="code" href="classQTeXPaintDevice.html#c64e07b137c2948cf9184fb03735613df0b72dfa49b0edf40f72a48c5de4fd78">cm</a>, <a class="code" href="classQTeXPaintDevice.html#c64e07b137c2948cf9184fb03735613d124d0684eb9d1bab51043083094c5a9a">in</a>, <a class="code" href="classQTeXPaintDevice.html#c64e07b137c2948cf9184fb03735613d199a230e16bbe8d378dc6916a45525a5">ex</a>, <a class="code" href="classQTeXPaintDevice.html#c64e07b137c2948cf9184fb03735613d688e88d93e6773744d0fc5e6e17d314e">em</a>};
|
|
<a name="l00043"></a><a class="code" href="classQTeXPaintDevice.html#a3936dbaf676d122de673ed788a2589686e5bf3aa4be0e304790058526e8cc6c">00043</a> <span class="keyword">enum</span> <a class="code" href="classQTeXPaintDevice.html#a3936dbaf676d122de673ed788a25896">OutputMode</a>{<a class="code" href="classQTeXPaintDevice.html#a3936dbaf676d122de673ed788a2589686e5bf3aa4be0e304790058526e8cc6c">Tikz</a>, <a class="code" href="classQTeXPaintDevice.html#a3936dbaf676d122de673ed788a25896bb4cf7428eba65605198df0dae01da86">Pgf</a>};
|
|
<a name="l00044"></a>00044
|
|
<a name="l00045"></a>00045 <a class="code" href="classQTeXPaintDevice.html#2b4fbed1d5dae2055b1997b1344cf303">QTeXPaintDevice</a>(<span class="keyword">const</span> QString& fileName, <span class="keyword">const</span> QSize& s = QSize(), <a class="code" href="classQTeXPaintDevice.html#c64e07b137c2948cf9184fb03735613d">Unit</a> u = <a class="code" href="classQTeXPaintDevice.html#c64e07b137c2948cf9184fb03735613d6147054c31f52c6184293b2fd5443be8">pt</a>);
|
|
<a name="l00046"></a>00046 <a class="code" href="classQTeXPaintDevice.html#f2f4e9bd49fa117cea19f9b9718231a5">~QTeXPaintDevice</a>();
|
|
<a name="l00047"></a>00047
|
|
<a name="l00048"></a>00048 <span class="keyword">virtual</span> QPaintEngine * <a class="code" href="classQTeXPaintDevice.html#ca5b426d0c37e1eb90c9458b58e613eb">paintEngine</a> () <span class="keyword">const</span>;
|
|
<a name="l00050"></a>00050 <span class="keywordtype">void</span> <a class="code" href="classQTeXPaintDevice.html#aeba9cb2b85473600ca711e85efef229" title="Set color mode (Color or GrayScale).">setColorMode</a>(QPrinter::ColorMode mode);
|
|
<a name="l00052"></a>00052 <span class="keywordtype">void</span> <a class="code" href="classQTeXPaintDevice.html#9cffd264067dc9b7ff67dd1a0ff03e21" title="Set output mode (Tikz or Pgf).">setOutputMode</a>(<a class="code" href="classQTeXPaintDevice.html#a3936dbaf676d122de673ed788a25896">OutputMode</a> mode);
|
|
<a name="l00054"></a>00054 <span class="keywordtype">void</span> <a class="code" href="classQTeXPaintDevice.html#e6b7b0bf87dd4f4568b0e2a08ddd4009" title="Set length unit.">setUnit</a>(<a class="code" href="classQTeXPaintDevice.html#c64e07b137c2948cf9184fb03735613d">Unit</a> u);
|
|
<a name="l00056"></a><a class="code" href="classQTeXPaintDevice.html#3c22720188bdb0e1c571c19c2d5e26e5">00056</a> <span class="keywordtype">void</span> <a class="code" href="classQTeXPaintDevice.html#3c22720188bdb0e1c571c19c2d5e26e5" title="Set size.">setSize</a>(<span class="keyword">const</span> QSize& s){<a class="code" href="classQTeXPaintDevice.html#14ae1fd053a8dbd1fe595ef0975abd94" title="Size in pixels.">d_size</a> = s;};
|
|
<a name="l00058"></a>00058 <span class="keywordtype">void</span> <a class="code" href="classQTeXPaintDevice.html#63b0250ff805cf76541271783d276788" title="Enables/Disables document tags.">setDocumentMode</a>(<span class="keywordtype">bool</span> on = <span class="keyword">true</span>);
|
|
<a name="l00060"></a>00060 <span class="keywordtype">void</span> <a class="code" href="classQTeXPaintDevice.html#13a7bc0a85cb01c551f4cdc4c4ca400d" title="Enables/Disables escaping of special characters in texts.">setEscapeTextMode</a>(<span class="keywordtype">bool</span> on = <span class="keyword">true</span>);
|
|
<a name="l00062"></a>00062 <span class="keywordtype">void</span> <a class="code" href="classQTeXPaintDevice.html#c6ea3a79189ec47bfcf4aee4a689a573" title="Enables/Disables exporting of font sizes.">exportFontSizes</a>(<span class="keywordtype">bool</span> on = <span class="keyword">true</span>);
|
|
<a name="l00064"></a>00064 <span class="keywordtype">void</span> <a class="code" href="classQTeXPaintDevice.html#b87208ba908ac08d1b35afbc7a53a521" title="Set horizontal alignment.">setTextHorizontalAlignment</a>(Qt::Alignment alignment);
|
|
<a name="l00065"></a>00065
|
|
<a name="l00066"></a>00066 <span class="keyword">protected</span>:
|
|
<a name="l00067"></a>00067 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classQTeXPaintDevice.html#24482fbd6b161ccf0382971da2f3a564">metric</a> ( PaintDeviceMetric ) <span class="keyword">const</span>;
|
|
<a name="l00068"></a>00068
|
|
<a name="l00069"></a>00069 <span class="keyword">private</span>:
|
|
<a name="l00071"></a><a class="code" href="classQTeXPaintDevice.html#14ae1fd053a8dbd1fe595ef0975abd94">00071</a> QSize <a class="code" href="classQTeXPaintDevice.html#14ae1fd053a8dbd1fe595ef0975abd94" title="Size in pixels.">d_size</a>;
|
|
<a name="l00072"></a><a class="code" href="classQTeXPaintDevice.html#18ecdfb3226ad948757688a48816da77">00072</a> <a class="code" href="classQTeXPaintEngine.html">QTeXPaintEngine</a>* <a class="code" href="classQTeXPaintDevice.html#18ecdfb3226ad948757688a48816da77">engine</a>;
|
|
<a name="l00073"></a>00073 };
|
|
<a name="l00074"></a>00074
|
|
<a name="l00075"></a><a class="code" href="classQTeXPaintEngine.html">00075</a> <span class="keyword">class </span><a class="code" href="classQTeXPaintEngine.html">QTeXPaintEngine</a> : <span class="keyword">public</span> QPaintEngine
|
|
<a name="l00076"></a>00076 {
|
|
<a name="l00077"></a>00077 <span class="keyword">public</span>:
|
|
<a name="l00078"></a>00078 <a class="code" href="classQTeXPaintEngine.html#38a3437a27a70736d98bcbc09906d3ef">QTeXPaintEngine</a>(<span class="keyword">const</span> QString&, <a class="code" href="classQTeXPaintDevice.html#c64e07b137c2948cf9184fb03735613d">QTeXPaintDevice::Unit</a> u = <a class="code" href="classQTeXPaintDevice.html#c64e07b137c2948cf9184fb03735613d6147054c31f52c6184293b2fd5443be8">QTeXPaintDevice::pt</a>);
|
|
<a name="l00079"></a><a class="code" href="classQTeXPaintEngine.html#e1f1eec9d4b1bc4ea8625142b4c71d59">00079</a> <a class="code" href="classQTeXPaintEngine.html#e1f1eec9d4b1bc4ea8625142b4c71d59">~QTeXPaintEngine</a>(){};
|
|
<a name="l00080"></a>00080 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classQTeXPaintEngine.html#903ecf2b1f4a3ac3b963f556d0390ed7">begin</a>(QPaintDevice*);
|
|
<a name="l00081"></a>00081 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classQTeXPaintEngine.html#a5db49c7ddb6e1d5d664a2759dd1137d">end</a>();
|
|
<a name="l00082"></a><a class="code" href="classQTeXPaintEngine.html#d5810c3f8de838a0c366a76aba7842c9">00082</a> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classQTeXPaintEngine.html#d5810c3f8de838a0c366a76aba7842c9">updateState</a>( <span class="keyword">const</span> QPaintEngineState & ) {};
|
|
<a name="l00083"></a>00083 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classQTeXPaintEngine.html#5c62e13f365eaaac47a54919e1262df7">drawEllipse</a>(<span class="keyword">const</span> QRectF &);
|
|
<a name="l00084"></a><a class="code" href="classQTeXPaintEngine.html#f32394d3a865abac864037ccdf0e2f90">00084</a> <span class="keyword">virtual</span> QPaintEngine::Type <a class="code" href="classQTeXPaintEngine.html#f32394d3a865abac864037ccdf0e2f90">type</a>()<span class="keyword"> const </span>{<span class="keywordflow">return</span> QPaintEngine::User;};
|
|
<a name="l00085"></a>00085 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classQTeXPaintEngine.html#73331322914a4fc437e12df067e6922f">drawPoints</a> ( <span class="keyword">const</span> QPointF * points, <span class="keywordtype">int</span> pointCount );
|
|
<a name="l00086"></a>00086 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classQTeXPaintEngine.html#b94f446731d7684e3864930dd22b1a6a">drawLines</a> ( <span class="keyword">const</span> QLineF * , <span class="keywordtype">int</span> );
|
|
<a name="l00087"></a>00087 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classQTeXPaintEngine.html#9146e717cf414a6f858b80c4ae94d5a3">drawPath</a> ( <span class="keyword">const</span> QPainterPath & <a class="code" href="classQTeXPaintEngine.html#fba1d127ac479816d9ccc754c01c0e8a">path</a> );
|
|
<a name="l00088"></a>00088 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classQTeXPaintEngine.html#11546688e26c37f9db6de61c67a8ecb6">drawPolygon</a> ( <span class="keyword">const</span> QPointF * , <span class="keywordtype">int</span> , PolygonDrawMode );
|
|
<a name="l00089"></a>00089 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classQTeXPaintEngine.html#f692d5d2682992e5dc5cf556efb3a7d3">drawTextItem</a> ( <span class="keyword">const</span> QPointF & , <span class="keyword">const</span> QTextItem & );
|
|
<a name="l00090"></a>00090 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classQTeXPaintEngine.html#444a6aebb02d561a725a09eae6b82996">drawRects</a> ( <span class="keyword">const</span> QRectF * , <span class="keywordtype">int</span> );
|
|
<a name="l00091"></a>00091 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classQTeXPaintEngine.html#2828643c2303f23e302c62f291b3d6fb">drawPixmap</a> ( <span class="keyword">const</span> QRectF &, <span class="keyword">const</span> QPixmap &, <span class="keyword">const</span> QRectF &);
|
|
<a name="l00092"></a>00092 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classQTeXPaintEngine.html#0741f82792b3f8a8d16dbcf6093daffb">drawImage</a>(<span class="keyword">const</span> QRectF &, <span class="keyword">const</span> QImage &, <span class="keyword">const</span> QRectF &, Qt::ImageConversionFlags);
|
|
<a name="l00093"></a>00093
|
|
<a name="l00095"></a><a class="code" href="classQTeXPaintEngine.html#805118441a443780913678da2bbac202">00095</a> <span class="keywordtype">void</span> <a class="code" href="classQTeXPaintEngine.html#805118441a443780913678da2bbac202" title="Set length unit.">setUnit</a>(<a class="code" href="classQTeXPaintDevice.html#c64e07b137c2948cf9184fb03735613d">QTeXPaintDevice::Unit</a> u){<a class="code" href="classQTeXPaintEngine.html#f1b15221d2edb56da12e8c0b0db56667">d_unit</a> = u;};
|
|
<a name="l00097"></a><a class="code" href="classQTeXPaintEngine.html#2dc9987b9d9f75ebe4702c76f363d123">00097</a> <span class="keywordtype">void</span> <a class="code" href="classQTeXPaintEngine.html#2dc9987b9d9f75ebe4702c76f363d123" title="Enables/Disables gray scale output.">setGrayScale</a>(<span class="keywordtype">bool</span> on = <span class="keyword">true</span>){<a class="code" href="classQTeXPaintEngine.html#dfc45e34313764bf6f6ac7870f835298">d_gray_scale</a> = on;};
|
|
<a name="l00099"></a><a class="code" href="classQTeXPaintEngine.html#1f2175c279f1400f52ab6667828e7c3e">00099</a> <span class="keywordtype">void</span> <a class="code" href="classQTeXPaintEngine.html#1f2175c279f1400f52ab6667828e7c3e" title="Set output syntax.">setOutputMode</a>(<a class="code" href="classQTeXPaintDevice.html#a3936dbaf676d122de673ed788a25896">QTeXPaintDevice::OutputMode</a> mode){<a class="code" href="classQTeXPaintEngine.html#53e2d0b1a5be156e1b72de439fe575e4">d_pgf_mode</a> = (mode == <a class="code" href="classQTeXPaintDevice.html#a3936dbaf676d122de673ed788a25896bb4cf7428eba65605198df0dae01da86">QTeXPaintDevice::Pgf</a>) ? <span class="keyword">true</span> : <span class="keyword">false</span>;};
|
|
<a name="l00100"></a><a class="code" href="classQTeXPaintEngine.html#cc3a91ccc454a4a8ef33d5a26c305ebb">00100</a> <span class="keywordtype">void</span> <a class="code" href="classQTeXPaintEngine.html#cc3a91ccc454a4a8ef33d5a26c305ebb">setDocumentMode</a>(<span class="keywordtype">bool</span> on = <span class="keyword">true</span>){<a class="code" href="classQTeXPaintEngine.html#fb19eb0a78c193d756d06fcd321a03c5">d_document_mode</a> = on;};
|
|
<a name="l00102"></a><a class="code" href="classQTeXPaintEngine.html#32b8b7d671237720bb7514563890e739">00102</a> <span class="keywordtype">void</span> <a class="code" href="classQTeXPaintEngine.html#32b8b7d671237720bb7514563890e739" title="Enables/Disables escaping of special characters in texts.">setEscapeTextMode</a>(<span class="keywordtype">bool</span> on = <span class="keyword">true</span>){<a class="code" href="classQTeXPaintEngine.html#e8763d8d27705df61f30796e0e41369f">d_escape_text</a> = on;};
|
|
<a name="l00103"></a><a class="code" href="classQTeXPaintEngine.html#094a0abbf49256374fd89ffe7665391b">00103</a> <span class="keywordtype">void</span> <a class="code" href="classQTeXPaintEngine.html#094a0abbf49256374fd89ffe7665391b">exportFontSizes</a>(<span class="keywordtype">bool</span> on = <span class="keyword">true</span>){<a class="code" href="classQTeXPaintEngine.html#16ae87b15fdef9ac92820f7f18787ca1">d_font_size</a> = on;};
|
|
<a name="l00104"></a><a class="code" href="classQTeXPaintEngine.html#0d605b739dcefd76215ea3377ca34769">00104</a> <span class="keywordtype">void</span> <a class="code" href="classQTeXPaintEngine.html#0d605b739dcefd76215ea3377ca34769">setTextHorizontalAlignment</a>(Qt::Alignment alignment){<a class="code" href="classQTeXPaintEngine.html#b629521b2eac7d29b80e8191b60a1c41">d_horizontal_alignment</a> = alignment;};
|
|
<a name="l00105"></a>00105
|
|
<a name="l00106"></a>00106 <span class="keyword">private</span>:
|
|
<a name="l00107"></a><a class="code" href="classQTeXPaintEngine.html#251ca27cd2f91dda8ebde6cd0f4191e1">00107</a> <span class="keyword">enum</span> <a class="code" href="classQTeXPaintEngine.html#251ca27cd2f91dda8ebde6cd0f4191e1">Shape</a>{<a class="code" href="classQTeXPaintEngine.html#251ca27cd2f91dda8ebde6cd0f4191e1084bb56d9245bc1fc6547f43fa5e615e">Line</a>, <a class="code" href="classQTeXPaintEngine.html#251ca27cd2f91dda8ebde6cd0f4191e1e5304f1c20d66f0899614cda674f657c">Polygon</a>, <a class="code" href="classQTeXPaintEngine.html#251ca27cd2f91dda8ebde6cd0f4191e1e8ea170185939f7a35a9d29c776a8f2d">Polyline</a>, <a class="code" href="classQTeXPaintEngine.html#251ca27cd2f91dda8ebde6cd0f4191e1a08ce1c5bc4ffe05466db8f613596902">Rect</a>, <a class="code" href="classQTeXPaintEngine.html#251ca27cd2f91dda8ebde6cd0f4191e15e8e008cc4e90e5824b7e6bb5b74cb9e">Ellipse</a>, <a class="code" href="classQTeXPaintEngine.html#251ca27cd2f91dda8ebde6cd0f4191e123ca51765deb98e7ab25628d21c85a8d">Path</a>, <a class="code" href="classQTeXPaintEngine.html#251ca27cd2f91dda8ebde6cd0f4191e1c2c1215c63d26cff4eecead7a6f87160">Points</a>};
|
|
<a name="l00109"></a>00109 <span class="keywordtype">bool</span> <a class="code" href="classQTeXPaintEngine.html#75c06a6f2b9546fea234648f6253dd6f" title="Returns true if draw operation has NoBrush and NoPen.">emptyStringOperation</a>();
|
|
<a name="l00110"></a>00110 QString <a class="code" href="classQTeXPaintEngine.html#6d5ee4d384183c78d4bb11bb48be7b28">unit</a>();
|
|
<a name="l00111"></a>00111 <span class="keywordtype">double</span> <a class="code" href="classQTeXPaintEngine.html#3db1f2612acae43e06786f499bd057b2">unitFactor</a>();
|
|
<a name="l00112"></a>00112 <span class="keywordtype">double</span> <a class="code" href="classQTeXPaintEngine.html#0e914b68fe64f0b30b148a8bf7584e3f">resFactorX</a>();
|
|
<a name="l00113"></a>00113 <span class="keywordtype">double</span> <a class="code" href="classQTeXPaintEngine.html#d3f9831b6cecb680a7dbb86c3c53fbe1">resFactorY</a>();
|
|
<a name="l00114"></a>00114
|
|
<a name="l00115"></a>00115 QString <a class="code" href="classQTeXPaintEngine.html#58b539e1a49f94a47f524f01ff515171">pgfPoint</a>(<span class="keyword">const</span> QPointF& p);
|
|
<a name="l00116"></a>00116 QString <a class="code" href="classQTeXPaintEngine.html#585d47d89338f56a2d341d4f3a4c5390">tikzPoint</a>(<span class="keyword">const</span> QPointF& p);
|
|
<a name="l00117"></a>00117
|
|
<a name="l00118"></a>00118 QPointF <a class="code" href="classQTeXPaintEngine.html#287130868b83fc5677359871fdde1b57">convertPoint</a>(<span class="keyword">const</span> QPointF& p);
|
|
<a name="l00119"></a>00119 QString <a class="code" href="classQTeXPaintEngine.html#27f88c31794c14e52639264cca1dc3de">color</a>(<span class="keyword">const</span> QColor& col);
|
|
<a name="l00120"></a>00120 QString <a class="code" href="classQTeXPaintEngine.html#e1370ebd69be0f43ec781d4c19210f20">defineColor</a>(<span class="keyword">const</span> QColor& c, <span class="keyword">const</span> QString& name);
|
|
<a name="l00121"></a>00121
|
|
<a name="l00122"></a>00122 QString <a class="code" href="classQTeXPaintEngine.html#e1f92337ba502b7732fff86772b7cfb9">pgfPen</a>(<span class="keyword">const</span> QPen& pen);
|
|
<a name="l00123"></a>00123 QString <a class="code" href="classQTeXPaintEngine.html#ac8a6385bf056e58a16782b158d81b80">tikzPen</a>(<span class="keyword">const</span> QPen& pen);
|
|
<a name="l00124"></a>00124
|
|
<a name="l00125"></a>00125 QString <a class="code" href="classQTeXPaintEngine.html#3867e3d627b77150e7e3576832952946">pgfBrush</a>(<span class="keyword">const</span> QBrush& brush);
|
|
<a name="l00126"></a>00126 QString <a class="code" href="classQTeXPaintEngine.html#1160941292e66f83d5d1816f4aef33b6">tikzBrush</a>(<span class="keyword">const</span> QBrush& brush);
|
|
<a name="l00127"></a>00127
|
|
<a name="l00128"></a>00128 QString <a class="code" href="classQTeXPaintEngine.html#8dc4f02d5d6e3a46659f341dadc6bca9">beginScope</a>();
|
|
<a name="l00129"></a>00129 QString <a class="code" href="classQTeXPaintEngine.html#00f07c03eac838e2eaad97f9b0b456ff">endScope</a>();
|
|
<a name="l00130"></a>00130
|
|
<a name="l00131"></a>00131 QString <a class="code" href="classQTeXPaintEngine.html#0c573131230d6ed10bd2983e9aa6ddad">clipPath</a>();
|
|
<a name="l00132"></a>00132 <span class="keywordtype">bool</span> <a class="code" href="classQTeXPaintEngine.html#e22bc6bff90f81f4f9360760ca9146de">changedClipping</a>();
|
|
<a name="l00133"></a>00133
|
|
<a name="l00134"></a>00134 QString <a class="code" href="classQTeXPaintEngine.html#fba1d127ac479816d9ccc754c01c0e8a">path</a>(<span class="keyword">const</span> QPainterPath & <a class="code" href="classQTeXPaintEngine.html#fba1d127ac479816d9ccc754c01c0e8a">path</a>);
|
|
<a name="l00135"></a>00135 QString <a class="code" href="classQTeXPaintEngine.html#778cf76ec9de96945d2fc54025ee1f5a">pgfPath</a>(<span class="keyword">const</span> QPainterPath & <a class="code" href="classQTeXPaintEngine.html#fba1d127ac479816d9ccc754c01c0e8a">path</a>);
|
|
<a name="l00136"></a>00136 QString <a class="code" href="classQTeXPaintEngine.html#7a382b026a31e68db2fe525deafa8e48">tikzPath</a>(<span class="keyword">const</span> QPainterPath & <a class="code" href="classQTeXPaintEngine.html#fba1d127ac479816d9ccc754c01c0e8a">path</a>);
|
|
<a name="l00137"></a>00137
|
|
<a name="l00138"></a>00138 QString <a class="code" href="classQTeXPaintEngine.html#d8f9238ca63fa1a63d2f106bf4b36c7f">drawShape</a>(<a class="code" href="classQTeXPaintEngine.html#251ca27cd2f91dda8ebde6cd0f4191e1">Shape</a> shape, <span class="keyword">const</span> QString & <a class="code" href="classQTeXPaintEngine.html#fba1d127ac479816d9ccc754c01c0e8a">path</a>);
|
|
<a name="l00139"></a>00139 QString <a class="code" href="classQTeXPaintEngine.html#cd44aee6fc21300575fb048abcf4c838">drawPgfShape</a>(<a class="code" href="classQTeXPaintEngine.html#251ca27cd2f91dda8ebde6cd0f4191e1">Shape</a> shape, <span class="keyword">const</span> QString & <a class="code" href="classQTeXPaintEngine.html#fba1d127ac479816d9ccc754c01c0e8a">path</a>);
|
|
<a name="l00140"></a>00140 QString <a class="code" href="classQTeXPaintEngine.html#be76f8120e374714696780cf91c00ad4">drawTikzShape</a>(<a class="code" href="classQTeXPaintEngine.html#251ca27cd2f91dda8ebde6cd0f4191e1">Shape</a> shape, <span class="keyword">const</span> QString & <a class="code" href="classQTeXPaintEngine.html#fba1d127ac479816d9ccc754c01c0e8a">path</a>);
|
|
<a name="l00141"></a>00141
|
|
<a name="l00143"></a>00143 <span class="keywordtype">void</span> <a class="code" href="classQTeXPaintEngine.html#2828643c2303f23e302c62f291b3d6fb">drawPixmap</a>(<span class="keyword">const</span> QPixmap &pix, <span class="keyword">const</span> QRectF &p);
|
|
<a name="l00144"></a>00144 <span class="keywordtype">void</span> <a class="code" href="classQTeXPaintEngine.html#bfa972624723e15c9472964103cc5071">writeToFile</a>(<span class="keyword">const</span> QString& s);
|
|
<a name="l00145"></a>00145 QString <a class="code" href="classQTeXPaintEngine.html#342ae5645ffefa0548f6b4949b34fbd8">indentString</a>(<span class="keyword">const</span> QString& s);
|
|
<a name="l00147"></a>00147 <span class="keywordtype">bool</span> <a class="code" href="classQTeXPaintEngine.html#3495f625524bd04b955973603716d921" title="Returns true if a new color command should be added.">addNewBrushColor</a>();
|
|
<a name="l00148"></a>00148 <span class="keywordtype">bool</span> <a class="code" href="classQTeXPaintEngine.html#5cce0b556c9b48e0fa1a5b3b4290073e">addNewPatternColor</a>();
|
|
<a name="l00149"></a>00149 <span class="keywordtype">bool</span> <a class="code" href="classQTeXPaintEngine.html#248e136469196cef29d9d52e48e5d7c8">addNewPenColor</a>();
|
|
<a name="l00150"></a>00150
|
|
<a name="l00151"></a><a class="code" href="classQTeXPaintEngine.html#4c7dfe97bfaaa4ef4aaef632376ed8af">00151</a> QFile *<a class="code" href="classQTeXPaintEngine.html#4c7dfe97bfaaa4ef4aaef632376ed8af">file</a>;
|
|
<a name="l00153"></a><a class="code" href="classQTeXPaintEngine.html#1c7f1ef63ffe1a91b1c7a16a63c5404a">00153</a> QString <a class="code" href="classQTeXPaintEngine.html#1c7f1ef63ffe1a91b1c7a16a63c5404a" title="Name of the output file.">fname</a>;
|
|
<a name="l00154"></a><a class="code" href="classQTeXPaintEngine.html#7c1df3b7bf91a1d0b9ba8266aba8258d">00154</a> <span class="keywordtype">int</span> <a class="code" href="classQTeXPaintEngine.html#7c1df3b7bf91a1d0b9ba8266aba8258d">d_pixmap_index</a>;
|
|
<a name="l00155"></a><a class="code" href="classQTeXPaintEngine.html#53e2d0b1a5be156e1b72de439fe575e4">00155</a> <span class="keywordtype">bool</span> <a class="code" href="classQTeXPaintEngine.html#53e2d0b1a5be156e1b72de439fe575e4">d_pgf_mode</a>;
|
|
<a name="l00156"></a><a class="code" href="classQTeXPaintEngine.html#c380f59ec49dd6807624d0c198eac1b5">00156</a> <span class="keywordtype">bool</span> <a class="code" href="classQTeXPaintEngine.html#c380f59ec49dd6807624d0c198eac1b5">d_open_scope</a>;
|
|
<a name="l00157"></a><a class="code" href="classQTeXPaintEngine.html#dfc45e34313764bf6f6ac7870f835298">00157</a> <span class="keywordtype">bool</span> <a class="code" href="classQTeXPaintEngine.html#dfc45e34313764bf6f6ac7870f835298">d_gray_scale</a>;
|
|
<a name="l00158"></a><a class="code" href="classQTeXPaintEngine.html#fb19eb0a78c193d756d06fcd321a03c5">00158</a> <span class="keywordtype">bool</span> <a class="code" href="classQTeXPaintEngine.html#fb19eb0a78c193d756d06fcd321a03c5">d_document_mode</a>;
|
|
<a name="l00159"></a><a class="code" href="classQTeXPaintEngine.html#e8763d8d27705df61f30796e0e41369f">00159</a> <span class="keywordtype">bool</span> <a class="code" href="classQTeXPaintEngine.html#e8763d8d27705df61f30796e0e41369f">d_escape_text</a>;
|
|
<a name="l00160"></a><a class="code" href="classQTeXPaintEngine.html#16ae87b15fdef9ac92820f7f18787ca1">00160</a> <span class="keywordtype">bool</span> <a class="code" href="classQTeXPaintEngine.html#16ae87b15fdef9ac92820f7f18787ca1">d_font_size</a>;
|
|
<a name="l00161"></a><a class="code" href="classQTeXPaintEngine.html#650f8e0252e3d706327d1c3646874ee6">00161</a> QPainterPath <a class="code" href="classQTeXPaintEngine.html#650f8e0252e3d706327d1c3646874ee6">d_clip_path</a>;
|
|
<a name="l00162"></a><a class="code" href="classQTeXPaintEngine.html#d57c992c8fc65336c02d1aa134e8fd10">00162</a> QColor <a class="code" href="classQTeXPaintEngine.html#27f6f39d59562146869588c1ac059063">d_current_color</a>, <a class="code" href="classQTeXPaintEngine.html#d57c992c8fc65336c02d1aa134e8fd10">d_pattern_color</a>;
|
|
<a name="l00163"></a><a class="code" href="classQTeXPaintEngine.html#f1b15221d2edb56da12e8c0b0db56667">00163</a> <a class="code" href="classQTeXPaintDevice.html#c64e07b137c2948cf9184fb03735613d">QTeXPaintDevice::Unit</a> <a class="code" href="classQTeXPaintEngine.html#f1b15221d2edb56da12e8c0b0db56667">d_unit</a>;
|
|
<a name="l00164"></a><a class="code" href="classQTeXPaintEngine.html#b629521b2eac7d29b80e8191b60a1c41">00164</a> Qt::Alignment <a class="code" href="classQTeXPaintEngine.html#b629521b2eac7d29b80e8191b60a1c41">d_horizontal_alignment</a>;
|
|
<a name="l00165"></a>00165 };
|
|
<a name="l00166"></a>00166 <span class="preprocessor">#endif</span>
|
|
</pre></div></div>
|
|
<hr size="1"><address style="text-align: right;"><small>Generated on Mon Aug 17 15:34:11 2009 for QTeXEngine by
|
|
<a href="http://www.doxygen.org/index.html">
|
|
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address>
|
|
</body>
|
|
</html>
|