summaryrefslogtreecommitdiff
path: root/fpdfsdk/fsdk_define.h
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2017-10-31 13:32:17 +0000
committerChromium commit bot <commit-bot@chromium.org>2017-10-31 13:32:17 +0000
commit367e7de07ec33ad045500a04dc2a180390937b27 (patch)
tree1b286d0be1c9e4db933d31c22aceb92aac7f3f7b /fpdfsdk/fsdk_define.h
parent8aa3002c673f36909560575514b9a9474e5e66bf (diff)
downloadpdfium-367e7de07ec33ad045500a04dc2a180390937b27.tar.xz
Add FS_RECTF conversion functions.
Change-Id: I87fb109fdd121716a170df15c4762496c1ccb88c Reviewed-on: https://pdfium-review.googlesource.com/17210 Commit-Queue: dsinclair <dsinclair@chromium.org> Reviewed-by: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'fpdfsdk/fsdk_define.h')
-rw-r--r--fpdfsdk/fsdk_define.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/fpdfsdk/fsdk_define.h b/fpdfsdk/fsdk_define.h
index f52e57abcc..77c2315edd 100644
--- a/fpdfsdk/fsdk_define.h
+++ b/fpdfsdk/fsdk_define.h
@@ -75,6 +75,9 @@ ByteString CFXByteStringFromFPDFWideString(FPDF_WIDESTRING wide_string);
CFX_DIBitmap* CFXBitmapFromFPDFBitmap(FPDF_BITMAP bitmap);
+CFX_FloatRect CFXFloatRectFromFSRECTF(const FS_RECTF& rect);
+void FSRECTFFromCFXFloatRect(const CFX_FloatRect& rect, FS_RECTF* out_rect);
+
const FX_PATHPOINT* FXPathPointFromFPDFPathSegment(FPDF_PATHSEGMENT segment);
unsigned long Utf16EncodeMaybeCopyAndReturnLength(const WideString& text,