☰
SurfaceCharacterization
SurfaceCharacterization
Methods
backend_format
cache_max_resource_bytes
color_space
color_type
dimensions
height
image_info
is_mip_mapped
is_protected
is_textureable
is_valid
origin
resized
sample_count
uses_glfbo0
vk_rt_supports_input_attachment
vulkan_secondary_cb_compatible
width
with_backend_format
with_color_space
with_fbo0
Trait Implementations
Debug
Default
Send
Sync
In skia_safe
Modules
annotate
blenders
canvas
codec
color_filter
color_filters
color_matrix
color_matrix_filter
colors
contour_measure
corner_path_effect
dash_path_effect
discrete_path_effect
document
drawable
encode
font
font_arguments
font_metrics
font_parameters
font_style
gpu
gradient_shader
graphics
high_contrast_config
high_contrast_filter
image
image_filter
image_filters
images
jpeg_encoder
line_2d_path_effect
luma_color_filter
matrix
matrix_path_effect
merge_path_effect
named_transfer_fn
overdraw_color_filter
paint
path
path_1d_path_effect
path_2d_path_effect
path_effect
path_measure
path_types
path_utils
pdf
perlin_noise_shader
picture_recorder
png_encoder
private
region
rrect
runtime_effect
sampling_options
shader
shader_mask_filter
shaders
stroke_and_fill_path_effect
stroke_path_effect
stroke_rec
surface
surfaces
svg
table_color_filter
trim_path_effect
typeface
utils
vertices
wrapper
yuva_info
yuva_pixmap_info
yuva_pixmaps
Macros
native_transmutable
require_base_type
require_type_equality
unsafe_send_sync
variant_name
Structs
Borrows
Canvas
Color
Color4f
ColorChannelFlag
ColorSpacePrimaries
ColorSpaceTransferFn
CubicMap
CubicResampler
DateTime
Document
FilterOptions
FontArguments
FontMetrics
FontStyle
FourByteTag
HSV
Handle
HighContrastConfig
IPoint
IRect
ISize
IVector
Iter
M44
Matrix
OwnedCanvas
PathSegmentMask
Pixmap
Point
Point3
RCHandle
RGB
RRect
RSXform
Rect
RefHandle
SamplingOptions
Sendable
Size
SurfaceProps
SurfacePropsFlags
TextBlobRun
V2
V3
V4
XYZD50Hash
Enums
AlphaType
AutoCanvasRestore
BlendMode
BlendModeCoeff
BlurStyle
ClipOp
CodecResult
ColorChannel
ColorType
CoverageMode
EncodedImageFormat
FilterMode
FontHinting
MipmapMode
PaintCap
PaintJoin
PaintStyle
PathDirection
PathFillType
PathOp
PathVerb
PixelGeometry
TextEncoding
TextureCompressionType
TileMode
YUVColorSpace
Constants
EMPTY_IRECT
MILESTONE
Traits
ConditionallySend
Contains
Flattenable
NativeFlattenable
Pixel
QuickReject
RoundOut
Scalar
Scalars
Functions
as_winding
op
pre_multiply_argb
pre_multiply_color
radians_to_degrees
simplify
swap_rb
swap_rb_inplace
tight_bounds
Type Definitions
BBHFactory
BBoxHierarchy
Bitmap
Blender
Budgeted
Color3f
ColorFilter
ColorInfo
ColorMatrix
ColorSpace
ContourMeasure
ContourMeasureIter
Data
DataTable
DeferredDisplayList
DeferredDisplayListRecorder
Drawable
Font
FontMgr
FontStyleSet
GlyphId
Image
ImageFilter
ImageGenerator
ImageInfo
MaskFilter
OpBuilder
PMColor
Paint
Path
PathBuilder
PathEffect
PathMeasure
Picture
PictureRecorder
PixelRef
Region
RuntimeEffect
SamplingMode
Shader
StrokeRec
Surface
SurfaceCharacterization
TextBlob
TextBlobBuilder
TextBlobIter
Typeface
Unichar
Vector
Vector3
Vertices
YUVAInfo
YUVAPixmapInfo
YUVAPixmaps
scalar
?
Type Definition
skia_safe
::
SurfaceCharacterization
source
·
[
−
]
pub type SurfaceCharacterization =
Handle
<
SkSurfaceCharacterization
>;
Implementations
§
source
§
impl
SurfaceCharacterization
source
pub fn
resized
(&self, size: impl
Into
<
ISize
>) -> Self
source
pub fn
with_color_space
( &self, color_space: impl
Into
<
Option
<
ColorSpace
>> ) -> Self
source
pub fn
with_backend_format
( &self, color_type:
ColorType
, backend_format: &
BackendFormat
) -> Self
source
pub fn
with_fbo0
(&self, uses_glfbo0:
bool
) -> Self
source
§
impl
SurfaceCharacterization
source
pub fn
cache_max_resource_bytes
(&self) ->
usize
source
pub fn
is_valid
(&self) ->
bool
source
pub fn
image_info
(&self) -> &
ImageInfo
source
pub fn
backend_format
(&self) -> &
BackendFormat
source
pub fn
origin
(&self) ->
SurfaceOrigin
source
pub fn
dimensions
(&self) ->
ISize
source
pub fn
width
(&self) ->
i32
source
pub fn
height
(&self) ->
i32
source
pub fn
color_type
(&self) ->
ColorType
source
pub fn
sample_count
(&self) ->
usize
source
pub fn
is_textureable
(&self) ->
bool
source
pub fn
is_mip_mapped
(&self) ->
bool
source
pub fn
uses_glfbo0
(&self) ->
bool
source
pub fn
vk_rt_supports_input_attachment
(&self) ->
bool
source
pub fn
vulkan_secondary_cb_compatible
(&self) ->
bool
source
pub fn
is_protected
(&self) ->
Protected
source
pub fn
color_space
(&self) ->
Option
<
ColorSpace
>
Trait Implementations
§
source
§
impl
Debug
for
SurfaceCharacterization
source
§
fn
fmt
(&self, f: &mut
Formatter
<'_>) ->
Result
Formats the value using the given formatter.
Read more
source
§
impl
Default
for
SurfaceCharacterization
source
§
fn
default
() -> Self
Returns the “default value” for a type.
Read more
source
§
impl
Send
for
SurfaceCharacterization
source
§
impl
Sync
for
SurfaceCharacterization