~ubuntu-branches/ubuntu/oneiric/qwt/oneiric-proposed

« back to all changes in this revision

Viewing changes to qwt-5.1.0/doc/html/qwt__plot__rasteritem_8h-source.html

  • Committer: Bazaar Package Importer
  • Author(s): Fathi Boudra
  • Date: 2008-05-26 10:26:31 UTC
  • mfrom: (1.1.3 upstream) (2.1.1 lenny)
  • Revision ID: james.westby@ubuntu.com-20080526102631-bp95mfccnrb957nx
Tags: 5.1.1-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2
 
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
3
 
<title>Qwt User&apos;s Guide: qwt_plot_rasteritem.h Source File</title>
4
 
<link href="doxygen.css" rel="stylesheet" type="text/css">
5
 
<link href="tabs.css" rel="stylesheet" type="text/css">
6
 
</head><body>
7
 
<!-- Generated by Doxygen 1.5.0 -->
8
 
<div class="tabs">
9
 
  <ul>
10
 
    <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
11
 
    <li><a href="classes.html"><span>Classes</span></a></li>
12
 
    <li id="current"><a href="files.html"><span>Files</span></a></li>
13
 
    <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
14
 
  </ul></div>
15
 
<div class="tabs">
16
 
  <ul>
17
 
    <li><a href="files.html"><span>File&nbsp;List</span></a></li>
18
 
    <li><a href="globals.html"><span>File&nbsp;Members</span></a></li>
19
 
  </ul></div>
20
 
<h1>qwt_plot_rasteritem.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/* -*- mode: C++ ; c-file-style: "stroustrup" -*- *****************************</span>
21
 
<a name="l00002"></a>00002 <span class="comment"> * Qwt Widget Library</span>
22
 
<a name="l00003"></a>00003 <span class="comment"> * Copyright (C) 1997   Josef Wilgen</span>
23
 
<a name="l00004"></a>00004 <span class="comment"> * Copyright (C) 2002   Uwe Rathmann</span>
24
 
<a name="l00005"></a>00005 <span class="comment"> *</span>
25
 
<a name="l00006"></a>00006 <span class="comment"> * This library is free software; you can redistribute it and/or</span>
26
 
<a name="l00007"></a>00007 <span class="comment"> * modify it under the terms of the Qwt License, Version 1.0</span>
27
 
<a name="l00008"></a>00008 <span class="comment"> *****************************************************************************/</span>
28
 
<a name="l00009"></a>00009 
29
 
<a name="l00010"></a>00010 <span class="preprocessor">#ifndef QWT_PLOT_RASTERITEM_H</span>
30
 
<a name="l00011"></a>00011 <span class="preprocessor"></span><span class="preprocessor">#define QWT_PLOT_RASTERITEM_H</span>
31
 
<a name="l00012"></a>00012 <span class="preprocessor"></span>
32
 
<a name="l00013"></a>00013 <span class="preprocessor">#include &lt;qglobal.h&gt;</span>
33
 
<a name="l00014"></a>00014 <span class="preprocessor">#include &lt;qstring.h&gt;</span>
34
 
<a name="l00015"></a>00015 <span class="preprocessor">#include &lt;qimage.h&gt;</span>
35
 
<a name="l00016"></a>00016 
36
 
<a name="l00017"></a>00017 <span class="preprocessor">#include "qwt_plot_item.h"</span> 
37
 
<a name="l00018"></a>00018 
38
 
<a name="l00036"></a><a class="code" href="class_qwt_plot_raster_item.html">00036</a> <span class="keyword">class </span>QWT_EXPORT <a class="code" href="class_qwt_plot_raster_item.html">QwtPlotRasterItem</a>: <span class="keyword">public</span> <a class="code" href="class_qwt_plot_item.html">QwtPlotItem</a>
39
 
<a name="l00037"></a>00037 {
40
 
<a name="l00038"></a>00038 <span class="keyword">public</span>:
41
 
<a name="l00056"></a><a class="code" href="class_qwt_plot_raster_item.html#94929fc4c31c3dab75ee5adcac2d57b0">00056</a>     <span class="keyword">enum</span> <a class="code" href="class_qwt_plot_raster_item.html#94929fc4c31c3dab75ee5adcac2d57b0">CachePolicy</a>
42
 
<a name="l00057"></a>00057     {
43
 
<a name="l00058"></a>00058         NoCache,
44
 
<a name="l00059"></a>00059         PaintCache,
45
 
<a name="l00060"></a>00060         ScreenCache
46
 
<a name="l00061"></a>00061     };
47
 
<a name="l00062"></a>00062 
48
 
<a name="l00063"></a>00063     <span class="keyword">explicit</span> <a class="code" href="class_qwt_plot_raster_item.html">QwtPlotRasterItem</a>(<span class="keyword">const</span> QString&amp; title = QString::null);
49
 
<a name="l00064"></a>00064     <span class="keyword">explicit</span> <a class="code" href="class_qwt_plot_raster_item.html">QwtPlotRasterItem</a>(<span class="keyword">const</span> <a class="code" href="class_qwt_text.html">QwtText</a>&amp; title);
50
 
<a name="l00065"></a>00065     <span class="keyword">virtual</span> ~<a class="code" href="class_qwt_plot_raster_item.html">QwtPlotRasterItem</a>();
51
 
<a name="l00066"></a>00066 
52
 
<a name="l00067"></a>00067     <span class="keywordtype">void</span> setAlpha(<span class="keywordtype">int</span> alpha);
53
 
<a name="l00068"></a>00068     <span class="keywordtype">int</span> alpha() <span class="keyword">const</span>;
54
 
<a name="l00069"></a>00069 
55
 
<a name="l00070"></a>00070     <span class="keywordtype">void</span> setCachePolicy(CachePolicy);
56
 
<a name="l00071"></a>00071     CachePolicy cachePolicy() <span class="keyword">const</span>;
57
 
<a name="l00072"></a>00072 
58
 
<a name="l00073"></a>00073     <span class="keywordtype">void</span> invalidateCache();
59
 
<a name="l00074"></a>00074 
60
 
<a name="l00075"></a>00075     <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_qwt_plot_item.html#7f1084999b7b3780ba06216ad511686b">draw</a>(QPainter *p,
61
 
<a name="l00076"></a>00076         <span class="keyword">const</span> <a class="code" href="class_qwt_scale_map.html">QwtScaleMap</a> &amp;xMap, <span class="keyword">const</span> <a class="code" href="class_qwt_scale_map.html">QwtScaleMap</a> &amp;yMap,
62
 
<a name="l00077"></a>00077         <span class="keyword">const</span> QRect &amp;rect) <span class="keyword">const</span>;
63
 
<a name="l00078"></a>00078 
64
 
<a name="l00079"></a>00079     <span class="keyword">virtual</span> QSize rasterHint(<span class="keyword">const</span> <a class="code" href="qwt__double__rect_8h.html#0c0dc4d33592fac4ad94734d8e9c4152">QwtDoubleRect</a> &amp;) <span class="keyword">const</span>;
65
 
<a name="l00080"></a>00080 
66
 
<a name="l00081"></a>00081 <span class="keyword">protected</span>:
67
 
<a name="l00082"></a>00082 
68
 
<a name="l00093"></a>00093     <span class="keyword">virtual</span> QImage renderImage(<span class="keyword">const</span> <a class="code" href="class_qwt_scale_map.html">QwtScaleMap</a> &amp;xMap, 
69
 
<a name="l00094"></a>00094         <span class="keyword">const</span> <a class="code" href="class_qwt_scale_map.html">QwtScaleMap</a> &amp;yMap, <span class="keyword">const</span> <a class="code" href="qwt__double__rect_8h.html#0c0dc4d33592fac4ad94734d8e9c4152">QwtDoubleRect</a> &amp;area
70
 
<a name="l00095"></a>00095         ) <span class="keyword">const </span>= 0;
71
 
<a name="l00096"></a>00096 
72
 
<a name="l00097"></a>00097 <span class="keyword">private</span>:
73
 
<a name="l00098"></a>00098     <a class="code" href="class_qwt_plot_raster_item.html">QwtPlotRasterItem</a>( <span class="keyword">const</span> <a class="code" href="class_qwt_plot_raster_item.html">QwtPlotRasterItem</a> &amp; );
74
 
<a name="l00099"></a>00099     <a class="code" href="class_qwt_plot_raster_item.html">QwtPlotRasterItem</a> &amp;operator=( <span class="keyword">const</span> <a class="code" href="class_qwt_plot_raster_item.html">QwtPlotRasterItem</a> &amp; );
75
 
<a name="l00100"></a>00100 
76
 
<a name="l00101"></a>00101     <span class="keywordtype">void</span> init();
77
 
<a name="l00102"></a>00102 
78
 
<a name="l00103"></a>00103     <span class="keyword">class </span>PrivateData;
79
 
<a name="l00104"></a>00104     PrivateData *d_data;
80
 
<a name="l00105"></a>00105 };
81
 
<a name="l00106"></a>00106 
82
 
<a name="l00107"></a>00107 <span class="preprocessor">#endif</span>
83
 
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Thu May 1 15:44:09 2008 for Qwt User's Guide by&nbsp;
84
 
<a href="http://www.doxygen.org/index.html">
85
 
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.0 </small></address>
86
 
</body>
87
 
</html>