OLD | NEW |
1 // Copyright 2014 PDFium Authors. All rights reserved. | 1 // Copyright 2014 PDFium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com | 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com |
6 | 6 |
7 #include "../../include/pdfwindow/PDFWindow.h" | 7 #include "fpdfsdk/include/pdfwindow/PDFWindow.h" |
8 #include "../../include/pdfwindow/PWL_Wnd.h" | 8 #include "fpdfsdk/include/pdfwindow/PWL_Icon.h" |
9 #include "../../include/pdfwindow/PWL_Icon.h" | 9 #include "fpdfsdk/include/pdfwindow/PWL_Label.h" |
10 #include "../../include/pdfwindow/PWL_Signature.h" | 10 #include "fpdfsdk/include/pdfwindow/PWL_Signature.h" |
11 #include "../../include/pdfwindow/PWL_Label.h" | 11 #include "fpdfsdk/include/pdfwindow/PWL_Utils.h" |
12 #include "../../include/pdfwindow/PWL_Utils.h" | 12 #include "fpdfsdk/include/pdfwindow/PWL_Wnd.h" |
13 | 13 |
14 /* --------------------------------- CPWL_Signature_Image | 14 /* --------------------------------- CPWL_Signature_Image |
15 * --------------------------------- */ | 15 * --------------------------------- */ |
16 | 16 |
17 CPWL_Signature_Image::CPWL_Signature_Image() : m_pImage(NULL) {} | 17 CPWL_Signature_Image::CPWL_Signature_Image() : m_pImage(NULL) {} |
18 | 18 |
19 CPWL_Signature_Image::~CPWL_Signature_Image() {} | 19 CPWL_Signature_Image::~CPWL_Signature_Image() {} |
20 | 20 |
21 void CPWL_Signature_Image::SetImage(CFX_DIBSource* pImage) { | 21 void CPWL_Signature_Image::SetImage(CFX_DIBSource* pImage) { |
22 m_pImage = pImage; | 22 m_pImage = pImage; |
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
195 | 195 |
196 gsd.m_LineWidth = 10.0f; | 196 gsd.m_LineWidth = 10.0f; |
197 pDevice->DrawPath(&path, pUser2Device, &gsd, 0, ArgbEncode(255,255,0,0), | 197 pDevice->DrawPath(&path, pUser2Device, &gsd, 0, ArgbEncode(255,255,0,0), |
198 FXFILL_ALTERNATE); | 198 FXFILL_ALTERNATE); |
199 */ | 199 */ |
200 } | 200 } |
201 | 201 |
202 void CPWL_Signature::GetThisAppearanceStream(CFX_ByteTextBuf& sAppStream) { | 202 void CPWL_Signature::GetThisAppearanceStream(CFX_ByteTextBuf& sAppStream) { |
203 CPWL_Wnd::GetThisAppearanceStream(sAppStream); | 203 CPWL_Wnd::GetThisAppearanceStream(sAppStream); |
204 } | 204 } |
OLD | NEW |