PDFTool
7.0
Include
PdfTk
PtlColorDeviceGray.h
1
// PtlColorDeviceGray.h
3
// Copyright (C) 2013-2018 Antenna House,Inc.
4
// All rights reserved.
6
#ifndef PDFTK_PTLCOLOR_DEVICE_GRAY_H_
7
#define PDFTK_PTLCOLOR_DEVICE_GRAY_H_
8
9
#include "PtlColor.h"
10
11
namespace
PdfTk {
12
17
class
PDFTK_API
PtlColorDeviceGray
:
public
PtlColor
18
{
19
public
:
24
PtlColorDeviceGray
();
25
32
PtlColorDeviceGray
(
float
gray);
33
39
PtlColorDeviceGray
(
const
PtlColorDeviceGray
& obj);
40
44
‾PtlColorDeviceGray
();
45
46
public
:
51
PtlColorDeviceGray
&
operator=
(
const
PtlColorDeviceGray
& obj);
52
53
public
:
61
float
getGray
()
const
;
62
70
void
setGray
(
float
gray);
71
};
72
73
}
// namespace PdfTk
74
75
#endif // PDFTK_PTLCOLOR_DEVICE_GRAY_H_
PdfTk::PtlColorDeviceGray::‾PtlColorDeviceGray
‾PtlColorDeviceGray()
デストラクタ
PdfTk::PtlColor
PDFの色を表現したクラスです。 すべての色クラスのベースクラスです。
Definition:
PtlColor.h:19
PdfTk::PtlColorDeviceGray
PDFのDeviceGray色を表現したクラスです。
Definition:
PtlColorDeviceGray.h:18
PdfTk::PtlColorDeviceGray::operator=
PtlColorDeviceGray & operator=(const PtlColorDeviceGray &obj)
コピーオペレータ
PdfTk::PtlColorDeviceGray::PtlColorDeviceGray
PtlColorDeviceGray(const PtlColorDeviceGray &obj)
コピーコンストラクタ
PdfTk::PtlColorDeviceGray::getGray
float getGray() const
グレースケール値を取得。
PdfTk::PtlColorDeviceGray::PtlColorDeviceGray
PtlColorDeviceGray()
コンストラクタ
PdfTk::PtlColorDeviceGray::setGray
void setGray(float gray)
グレースケール値を設定。
PdfTk::PtlColorDeviceGray::PtlColorDeviceGray
PtlColorDeviceGray(float gray)
コンストラクタ
Generated by
1.8.18