Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(138)

Side by Side Diff: core/src/fxge/ge/fx_ge_device.cpp

Issue 1171733003: Remove typdefs for pointer types in fx_system.h (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Manual fixes. Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « core/src/fxge/ge/fx_ge.cpp ('k') | core/src/fxge/ge/fx_ge_font.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/fxge/fx_ge.h" 7 #include "../../../include/fxge/fx_ge.h"
8 CFX_RenderDevice::CFX_RenderDevice() 8 CFX_RenderDevice::CFX_RenderDevice()
9 { 9 {
10 m_pDeviceDriver = NULL; 10 m_pDeviceDriver = NULL;
(...skipping 372 matching lines...) Expand 10 before | Expand all | Expand 10 after
383 FX_BOOL CFX_RenderDevice::StretchBitMask(const CFX_DIBSource* pBitmap, int left, int top, 383 FX_BOOL CFX_RenderDevice::StretchBitMask(const CFX_DIBSource* pBitmap, int left, int top,
384 int dest_width, int dest_height, FX_DWORD argb, FX_DWORD flags, 384 int dest_width, int dest_height, FX_DWORD argb, FX_DWORD flags,
385 int alpha_flag, void* pIccTransform) 385 int alpha_flag, void* pIccTransform)
386 { 386 {
387 FX_RECT dest_rect(left, top, left + dest_width, top + dest_height); 387 FX_RECT dest_rect(left, top, left + dest_width, top + dest_height);
388 FX_RECT clip_box = m_ClipBox; 388 FX_RECT clip_box = m_ClipBox;
389 clip_box.Intersect(dest_rect); 389 clip_box.Intersect(dest_rect);
390 return m_pDeviceDriver->StretchDIBits(pBitmap, argb, left, top, dest_width, dest_height, &clip_box, flags, alpha_flag, pIccTransform); 390 return m_pDeviceDriver->StretchDIBits(pBitmap, argb, left, top, dest_width, dest_height, &clip_box, flags, alpha_flag, pIccTransform);
391 } 391 }
392 FX_BOOL CFX_RenderDevice::StartDIBits(const CFX_DIBSource* pBitmap, int bitmap_a lpha, FX_DWORD argb, 392 FX_BOOL CFX_RenderDevice::StartDIBits(const CFX_DIBSource* pBitmap, int bitmap_a lpha, FX_DWORD argb,
393 const CFX_AffineMatrix* pMatrix, FX_DWORD flags, FX_LPVOID& handle, 393 const CFX_AffineMatrix* pMatrix, FX_DWORD flags, void*& handle,
394 int alpha_flag, void* pIccTransform, int b lend_mode) 394 int alpha_flag, void* pIccTransform, int b lend_mode)
395 { 395 {
396 return m_pDeviceDriver->StartDIBits(pBitmap, bitmap_alpha, argb, pMatrix, fl ags, handle, alpha_flag, pIccTransform, blend_mode); 396 return m_pDeviceDriver->StartDIBits(pBitmap, bitmap_alpha, argb, pMatrix, fl ags, handle, alpha_flag, pIccTransform, blend_mode);
397 } 397 }
398 FX_BOOL CFX_RenderDevice::ContinueDIBits(FX_LPVOID handle, IFX_Pause* pPause) 398 FX_BOOL CFX_RenderDevice::ContinueDIBits(void* handle, IFX_Pause* pPause)
399 { 399 {
400 return m_pDeviceDriver->ContinueDIBits(handle, pPause); 400 return m_pDeviceDriver->ContinueDIBits(handle, pPause);
401 } 401 }
402 void CFX_RenderDevice::CancelDIBits(FX_LPVOID handle) 402 void CFX_RenderDevice::CancelDIBits(void* handle)
403 { 403 {
404 m_pDeviceDriver->CancelDIBits(handle); 404 m_pDeviceDriver->CancelDIBits(handle);
405 } 405 }
OLDNEW
« no previous file with comments | « core/src/fxge/ge/fx_ge.cpp ('k') | core/src/fxge/ge/fx_ge_font.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698