FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
cefpython/src/extern/cef/cef_image.pxd at cefpython56 · pythonthings/cefpython · GitHub
pythonthings
cefpython
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
cefpython
/
src
/
extern
/
cef
/
cef_image.pxd
Copy path
More file actions
More file actions
Latest commit
History
History
History
23 lines (20 loc) · 1.04 KB
Breadcrumbs
cefpython
/
src
/
extern
/
cef
/
cef_image.pxd
Copy path
File metadata and controls
23 lines (20 loc) · 1.04 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#
Copyright (c) 2016 CEF Python, see the Authors file.
#
All rights reserved. Licensed under BSD 3-clause license.
#
Project website: https://github.com/cztomczak/cefpython
from
cef_ptr cimport CefRefPtr
from
libcpp cimport
bool
as
cpp_bool
from
cef_values cimport CefBinaryValue
from
cef_types cimport cef_color_type_t, cef_alpha_type_t
cdef extern
from
"
include/cef_image.h
"
:
cdef cppclass CefImage:
size_t GetWidth()
size_t GetHeight()
CefRefPtr[CefBinaryValue] GetAsBitmap(
float
scale_factor,
cef_color_type_t color_type,
cef_alpha_type_t alpha_type,
int
&
pixel_width,
int
&
pixel_height)
CefRefPtr[CefBinaryValue] GetAsPNG(
float
scale_factor,
cpp_bool with_transparency,
int
&
pixel_width,
int
&
pixel_height)
Back
|
FazBrowse Home
|
New Git URL