/external/pdfium/core/src/fxge/ge/ |
H A D | fx_ge_device.cpp | 125 FX_DWORD fill_color, FX_DWORD stroke_color, int fill_mode,
200 FX_DWORD strokecolor = fill_color;
265 FX_BOOL CFX_RenderDevice::SetPixel(int x, int y, FX_DWORD color, int alpha_flag, void* pIccTransform)
273 FX_BOOL CFX_RenderDevice::FillRect(const FX_RECT* pRect, FX_DWORD fill_color, int alpha_flag, void* pIccTransform, int blend_type)
295 FX_BOOL CFX_RenderDevice::DrawCosmeticLine(FX_FLOAT x1, FX_FLOAT y1, FX_FLOAT x2, FX_FLOAT y2, FX_DWORD color,
366 int dest_width, int dest_height, FX_DWORD flags,
377 FX_BOOL CFX_RenderDevice::SetBitMask(const CFX_DIBSource* pBitmap, int left, int top, FX_DWORD argb,
384 int dest_width, int dest_height, FX_DWORD argb, FX_DWORD flag [all...] |
H A D | fx_ge_font.cpp | 11 extern void _FPDFAPI_GetInternalFontData(int id1, FX_LPCBYTE& data, FX_DWORD& size);
71 FX_BOOL CFX_Font::LoadSubst(const CFX_ByteString& face_name, FX_BOOL bTrueType, FX_DWORD flags,
152 int CFX_Font::GetGlyphWidth(FX_DWORD glyph_index)
185 FX_BOOL CFX_Font::LoadEmbedded(FX_LPCBYTE data, FX_DWORD size)
226 FX_BOOL CFX_Font::GetGlyphBBox(FX_DWORD glyph_index, FX_RECT &bbox)
412 FX_DWORD CFX_UnicodeEncoding::GlyphFromCharCode(FX_DWORD charcode)
422 FX_DWORD index = 0;
432 FX_DWORD CFX_UnicodeEncoding::GlyphFromCharCodeEx(FX_DWORD charcod [all...] |
H A D | fx_ge_fontmap.cpp | 11 #define GET_TT_LONG(w) (FX_DWORD)(((w)[0] << 24) | ((w)[1] << 16) | ((w)[2] << 8) | (w)[3])
105 FX_DWORD flags, int weight, int italic_angle, int CharsetCP, CFX_SubstFont* pSubstFont)
137 int weight, FX_BOOL bItalic, FX_LPBYTE pData, FX_DWORD size, int face_index)
298 int GetTTCIndex(FX_LPCBYTE pFontData, FX_DWORD ttc_size, FX_DWORD font_offset)
302 FX_DWORD nfont = GET_TT_LONG(p);
303 FX_DWORD index;
317 FXFT_Face CFX_FontMgr::GetCachedTTCFace(int ttc_size, FX_DWORD checksum,
335 FXFT_Face CFX_FontMgr::AddCachedTTCFace(int ttc_size, FX_DWORD checksum,
336 FX_LPBYTE pData, FX_DWORD siz [all...] |
H A D | fx_ge_linux.cpp | 23 FX_FLOAT font_size, FX_DWORD argb)
27 CFX_GlyphBitmap* CFX_FaceCache::RenderGlyph_Nativetext(CFX_Font* pFont, FX_DWORD glyph_index, const CFX_AffineMatrix* pMatrix,
165 static FX_DWORD _LinuxGetCharset(int charset)
185 static FX_INT32 _LinuxGetSimilarValue(int weight, FX_BOOL bItalic, int pitch_family, FX_DWORD style)
208 FX_DWORD charset_flag = _LinuxGetCharset(charset);
|
H A D | fx_ge_ps.cpp | 12 FX_DWORD m_GlyphIndex;
181 FX_DWORD fill_color,
182 FX_DWORD stroke_color,
267 static void FaxCompressData(FX_LPBYTE src_buf, int width, int height, FX_LPBYTE& dest_buf, FX_DWORD& dest_size)
277 static void PSCompressData(int PSLevel, FX_LPBYTE src_buf, FX_DWORD src_size,
278 FX_LPBYTE& output_buf, FX_DWORD& output_size, FX_LPCSTR& filter)
288 FX_DWORD dest_size = src_size;
308 FX_BOOL CFX_PSRenderer::SetDIBits(const CFX_DIBSource* pSource, FX_DWORD color, int left, int top,
316 FX_BOOL CFX_PSRenderer::StretchDIBits(const CFX_DIBSource* pSource, FX_DWORD color, int dest_left, int dest_top,
317 int dest_width, int dest_height, FX_DWORD flag [all...] |
H A D | fx_ge_text.cpp | 123 void _Color2Argb(FX_ARGB& argb, FX_DWORD color, int alpha_flag, void* pIccTransform)
152 FX_DWORD fill_color, FX_DWORD text_flags,
948 FX_DWORD fill_color, FX_ARGB stroke_color, CFX_PathData* pClippingPath, int nFlag,
1101 CFX_ByteStringC& FaceGlyphsKey, FX_DWORD glyph_index, FX_BOOL bFontStyle,
1123 const CFX_GlyphBitmap* CFX_FaceCache::LoadGlyphBitmap(CFX_Font* pFont, FX_DWORD glyph_index, FX_BOOL bFontStyle, const CFX_AffineMatrix* pMatrix,
1126 if (glyph_index == (FX_DWORD) - 1) {
1368 CFX_GlyphBitmap* CFX_FaceCache::RenderGlyph(CFX_Font* pFont, FX_DWORD glyph_index, FX_BOOL bFontStyle,
1569 const CFX_PathData* CFX_FaceCache::LoadGlyphPath(CFX_Font* pFont, FX_DWORD glyph_index, int dest_width)
1571 if (m_Face == NULL || glyph_index == (FX_DWORD) [all...] |
H A D | text_int.h | 51 virtual FX_DWORD GlyphFromCharCodeEx(FX_DWORD charcode, int encoding = ENCODING_UNICODE);
54 virtual FX_DWORD GlyphFromCharCode(FX_DWORD charcode);
55 virtual CFX_WideString UnicodeFromCharCode(FX_DWORD charcode) const
59 virtual FX_DWORD CharCodeFromUnicode(FX_WCHAR Unicode) const
79 FX_DWORD m_Styles;
80 FX_DWORD m_Charsets;
81 FX_DWORD m_FontOffset;
82 FX_DWORD m_FileSiz [all...] |
/external/pdfium/core/src/fxge/win32/ |
H A D | dwrite_int.h | 42 void* DwCreateFontFaceFromStream(FX_LPBYTE pData, FX_DWORD size, int simulation_style);
|
H A D | fx_win32_device.cpp | 31 virtual FX_DWORD GetFontData(void* hFont, FX_DWORD table, FX_LPBYTE buffer, FX_DWORD size);
37 void AddInstalledFont(const LOGFONTA *plf, FX_DWORD FontType);
59 #define TT_MAKE_TAG(x1, x2, x3, x4) (((FX_DWORD)x1<<24)|((FX_DWORD)x2<<16)|((FX_DWORD)x3<<8)|(FX_DWORD)x4)
64 FX_DWORD font_size = GetFontData(hFont, 0, NULL, 0);
65 if (font_size != GDI_ERROR && font_size >= sizeof(FX_DWORD)) {
[all...] |
H A D | fx_win32_dib.cpp | 28 FX_DWORD* pPalette = (FX_DWORD*)(pbmih + 1);
40 FX_DWORD* pPalette = (FX_DWORD*)(pbmih + 1);
94 pBitmap->SetPaletteEntry(i, ((FX_DWORD*)pbmi->bmiColors)[i] | 0xff000000);
98 pBitmap->SetPaletteEntry(i, ((FX_DWORD*)pbmi->bmiColors)[i] | 0xff000000);
195 CFX_DIBitmap* CFX_WindowsDIB::LoadFromDDB(HDC hDC, HBITMAP hBitmap, FX_DWORD* pPalette, FX_DWORD palsize)
217 size += sizeof (FX_DWORD) * 254;
|
H A D | fx_win32_dwrite.cpp | 132 LPVOID CDWriteExt::DwCreateFontFaceFromStream(FX_LPBYTE pData, FX_DWORD size, int simulation_style)
|
H A D | fx_win32_gdipext.cpp | 265 void* CGdiplusExt::GdiAddFontMemResourceEx(void *pFontdata, FX_DWORD size, void* pdv, FX_DWORD* num_face)
520 LPVOID CGdiplusExt::LoadMemFont(LPBYTE pData, FX_DWORD size)
604 void CGdiplusExt::GdipSetPageUnit(void* graphics, FX_DWORD unit)
620 void CGdiplusExt::GdipCreateBrush(FX_DWORD fill_argb, void** pBrush)
686 int dest_width, int dest_height, FX_DWORD argb, const FX_RECT* pClipRect, int flags)
850 FX_DWORD fill_argb,
851 FX_DWORD stroke_argb,
|
H A D | fx_win32_print.cpp | 33 FX_BOOL CGdiPrinterDriver::SetDIBits(const CFX_DIBSource* pSource, FX_DWORD color, const FX_RECT* pSrcRect, int left, int top, int blend_type,
53 FX_BOOL CGdiPrinterDriver::StretchDIBits(const CFX_DIBSource* pSource, FX_DWORD color, int dest_left, int dest_top,
54 int dest_width, int dest_height, const FX_RECT* pClipRect, FX_DWORD flags,
125 FX_DWORD src_pitch = pSrcBitmap->GetPitch();
200 FX_BOOL CGdiPrinterDriver::StartDIBits(const CFX_DIBSource* pSource, int bitmap_alpha, FX_DWORD color,
201 const CFX_AffineMatrix* pMatrix, FX_DWORD render_flags, FX_LPVOID& handle,
314 for (FX_DWORD i = 0; i < pData->rdh.nCount; i ++) {
390 FX_BOOL CPSPrinterDriver::SetDIBits(const CFX_DIBSource* pBitmap, FX_DWORD color, const FX_RECT* pSrcRect, int left, int top, int blend_type,
398 FX_BOOL CPSPrinterDriver::StretchDIBits(const CFX_DIBSource* pBitmap, FX_DWORD color, int dest_left, int dest_top,
399 int dest_width, int dest_height, const FX_RECT* pClipRect, FX_DWORD flag [all...] |
H A D | win32_int.h | 19 int dest_width, int dest_height, FX_DWORD argb, const FX_RECT* pClipRect, int flags);
25 FX_DWORD fill_argb,
26 FX_DWORD stroke_argb,
30 void* LoadMemFont(FX_BYTE* pData, FX_DWORD size);
35 void GdipSetPageUnit(void* graphics, FX_DWORD unit);
38 void GdipCreateBrush(FX_DWORD fill_argb, void** pBrush);
50 void* GdiAddFontMemResourceEx(void *pFontdata, FX_DWORD size, void* pdv, FX_DWORD* num_face);
94 FX_DWORD fill_color,
95 FX_DWORD stroke_colo [all...] |
/external/pdfium/core/src/reflow/ |
H A D | layoutprocessor_reflow.cpp | 161 FX_BOOL CPDF_LayoutProcessor_Reflow::IsCanBreakAfter(FX_DWORD unicode) 183 FX_BOOL CPDF_LayoutProcessor_Reflow::IsCanBreakBefore(FX_DWORD unicode) 943 int CPDF_LayoutProcessor_Reflow::GetCharWidth(FX_DWORD charCode, CPDF_Font* pFont) const 1424 if(IsCanBreakAfter((FX_DWORD)cha)) { 1427 } else if(IsCanBreakBefore((FX_DWORD)cha)) {
|
H A D | layoutprovider_taggedpdf.cpp | 704 if((FX_DWORD)(pObj->m_ContentMark.GetMCID()) == Kid.m_PageContent.m_ContentId) {
|
H A D | reflowedpage.h | 54 int GetCharWidth(FX_DWORD charCode, CPDF_Font* pFont) const; 55 FX_BOOL IsCanBreakAfter(FX_DWORD unicode); 56 FX_BOOL IsCanBreakBefore(FX_DWORD unicode); 335 FX_DWORD m_CharCode;
|
/external/pdfium/fpdfsdk/include/formfiller/ |
H A D | FFL_FormFiller.h | 43 /*const CRect& rcWindow, */FX_DWORD dwFlags);
46 /*const CRect& rcWindow, */FX_DWORD dwFlags);
166 /*const CRect& rcWindow,*/ FX_DWORD dwFlags);
170 /*const CRect& rcWindow, */FX_DWORD dwFlags);
|
H A D | FFL_IFormFiller.h | 40 /*const CRect& rcWindow,*/ FX_DWORD dwFlags);
73 FX_BOOL bKeyDown, FX_BOOL & bRC, FX_BOOL & bExit, FX_DWORD nFlag);
74 virtual void OnAfterKeyStroke(FX_BOOL bEditOrList, void* pPrivateData, FX_BOOL & bExit, FX_DWORD nFlag) ;
104 void OnKeyStrokeCommit(CPDFSDK_Widget* pWidget, CPDFSDK_PageView* pPageView, FX_BOOL& bRC, FX_BOOL& bExit, FX_DWORD nFlag);
105 void OnValidate(CPDFSDK_Widget* pWidget, CPDFSDK_PageView* pPageView, FX_BOOL& bRC, FX_BOOL& bExit, FX_DWORD nFlag);
107 void OnCalculate(CPDFSDK_Widget* pWidget, CPDFSDK_PageView* pPageView, FX_BOOL& bExit, FX_DWORD nFlag);
108 void OnFormat(CPDFSDK_Widget* pWidget, CPDFSDK_PageView* pPageView, FX_BOOL& bExit, FX_DWORD nFlag);
|
H A D | FFL_ListBox.h | 34 virtual void OnKeyStroke(FX_BOOL bKeyDown, FX_DWORD nFlag);
|
H A D | FFL_PushButton.h | 21 FX_DWORD dwFlags);
|
/external/pdfium/fpdfsdk/include/ |
H A D | fpdfedit.h | 15 #define FPDF_ARGB(a,r,g,b) ((((FX_DWORD)(((FX_BYTE)(b)|((FX_WORD)((FX_BYTE)(g))<<8))|(((FX_DWORD)(FX_BYTE)(r))<<16)))) | (((FX_DWORD)(FX_BYTE)(a))<<24))
|
H A D | fsdk_annothandler.h | 41 FX_DWORD dwFlags) = 0;
45 const CPDF_Rect& rcWindow, FX_DWORD dwFlags) = 0;
59 virtual void OnMouseEnter(CPDFSDK_PageView *pPageView, CPDFSDK_Annot* pAnnot, FX_DWORD nFlag) = 0;
60 virtual void OnMouseExit(CPDFSDK_PageView *pPageView, CPDFSDK_Annot* pAnnot, FX_DWORD nFlag) = 0;
63 virtual FX_BOOL OnLButtonDown(CPDFSDK_PageView *pPageView, CPDFSDK_Annot* pAnnot, FX_DWORD nFlags, const CPDF_Point& point) = 0;
64 virtual FX_BOOL OnLButtonUp(CPDFSDK_PageView *pPageView, CPDFSDK_Annot* pAnnot, FX_DWORD nFlags, const CPDF_Point& point) = 0;
65 virtual FX_BOOL OnLButtonDblClk(CPDFSDK_PageView *pPageView, CPDFSDK_Annot* pAnnot, FX_DWORD nFlags, const CPDF_Point& point) = 0;
66 virtual FX_BOOL OnMouseMove(CPDFSDK_PageView *pPageView, CPDFSDK_Annot* pAnnot, FX_DWORD nFlags, const CPDF_Point& point) = 0;
67 virtual FX_BOOL OnMouseWheel(CPDFSDK_PageView *pPageView, CPDFSDK_Annot* pAnnot, FX_DWORD nFlags, short zDelta, const CPDF_Point& point) = 0;
68 virtual FX_BOOL OnRButtonDown(CPDFSDK_PageView *pPageView, CPDFSDK_Annot* pAnnot, FX_DWORD nFlag [all...] |
H A D | fsdk_baseannot.h | 77 FX_DWORD GetFlags();
|
H A D | fsdk_define.h | 92 #define FX_ARGBTOCOLORREF(argb) ((((FX_DWORD)argb & 0x00FF0000) >> 16)|((FX_DWORD)argb & 0x0000FF00)|(((FX_DWORD)argb & 0x000000FF) << 16))
97 #define FX_COLORREFTOARGB(rgb) ((FX_DWORD)0xFF000000|(((FX_DWORD)rgb & 0x000000FF) << 16)|((FX_DWORD)rgb & 0x0000FF00)|(((FX_DWORD)rgb & 0x00FF0000) >> 16))
113 virtual FX_BOOL GetByte(FX_DWORD pos, FX_BYTE& ch);
114 virtual FX_BOOL GetBlock(FX_DWORD pos, FX_LPBYTE pBuf, FX_DWORD siz [all...] |