Chromium Code Reviews| Index: public/fpdf_doc.h |
| diff --git a/public/fpdf_doc.h b/public/fpdf_doc.h |
| index ed05aed4d9c2f7782435926f906279f7bdf69625..1aaf18f21a7245e7507f58f1cb871b1b2d479a9d 100644 |
| --- a/public/fpdf_doc.h |
| +++ b/public/fpdf_doc.h |
| @@ -177,24 +177,44 @@ DLLEXPORT unsigned long STDCALL FPDFDest_GetPageIndex(FPDF_DOCUMENT document, |
| FPDF_DEST dest); |
| // Function: FPDFLink_GetLinkAtPoint |
| -// Find a link at specified point on a document page. |
| +// Find a link at specified point on a document page. |
| // Parameters: |
| -// page - Handle to the document page. |
| -// x - The x coordinate of the point, specified in page |
| -// coordinate system. |
| -// y - The y coordinate of the point, specified in page |
| -// coordinate system. |
| +// page - Handle to the document page. |
| +// x - The x coordinate of the point, specified in page |
| +// coordinate system. |
| +// y - The y coordinate of the point, specified in page |
| +// coordinate system. |
| // Return value: |
| -// Handle to the link. NULL if no link found at that point. |
| +// Handle to the link. NULL if no link found at that point. |
| // Comments: |
| -// The point coordinates are specified in page coordinate system. You |
| -// can convert coordinates |
| -// from screen system to page system using FPDF_DeviceToPage functions. |
| +// The point coordinates are specified in page coordinate system. You can |
| +// convert coordinates from screen system to page system using |
| +// FPDF_DeviceToPage(). |
| // |
| DLLEXPORT FPDF_LINK STDCALL FPDFLink_GetLinkAtPoint(FPDF_PAGE page, |
| double x, |
| double y); |
| +// Function: FPDFLink_GetLinkZOrderAtPoint |
| +// Find the z-order of a link at specified point on a document page. |
| +// Parameters: |
| +// page - Handle to the document page. |
| +// x - The x coordinate of the point, specified in page |
| +// coordinate system. |
| +// y - The y coordinate of the point, specified in page |
| +// coordinate system. |
| +// Return value: |
| +// Z-order of the link, or -1 if no link found at that point. |
| +// Higher numbers is closer to the front. |
|
Tom Sepez
2015/08/07 22:13:31
nit: are
Lei Zhang
2015/08/07 23:03:41
Done.
|
| +// Comments: |
| +// The point coordinates are specified in page coordinate system. You can |
| +// convert coordinates from screen system to page system using |
| +// FPDF_DeviceToPage(). |
| +// |
| +DLLEXPORT int STDCALL FPDFLink_GetLinkZOrderAtPoint(FPDF_PAGE page, |
| + double x, |
| + double y); |
| + |
| // Function: FPDFLink_GetDest |
| // Get destination info of a link. |
| // Parameters: |