skia_
safe
0.81.0
Text
Blob
Builder
Aliased type
Methods
alloc_run
alloc_run_pos
alloc_run_pos_h
alloc_run_rsxform
alloc_run_text
alloc_run_text_pos
alloc_run_text_pos_h
alloc_run_text_rsxform
make
new
Trait Implementations
Debug
Send
Sync
In crate skia_
safe
skia_safe
Type Alias
TextBlobBuilder
Copy item path
Source
pub type TextBlobBuilder =
Handle
<SkTextBlobBuilder>;
Aliased Type
§
struct TextBlobBuilder(
/* private fields */
);
Implementations
§
Source
§
impl
TextBlobBuilder
Source
pub fn
new
() -> Self
Source
pub fn
make
(&mut self) ->
Option
<
TextBlob
>
Source
pub fn
alloc_run
( &mut self, font: &
Font
, count:
usize
, offset: impl
Into
<
Point
>, bounds:
Option
<&
Rect
>, ) -> &mut [
GlyphId
]
Source
pub fn
alloc_run_pos_h
( &mut self, font: &
Font
, count:
usize
, y:
scalar
, bounds:
Option
<&
Rect
>, ) -> (&mut [
GlyphId
], &mut [
scalar
])
Source
pub fn
alloc_run_pos
( &mut self, font: &
Font
, count:
usize
, bounds:
Option
<&
Rect
>, ) -> (&mut [
GlyphId
], &mut [
Point
])
Source
pub fn
alloc_run_rsxform
( &mut self, font: &
Font
, count:
usize
, ) -> (&mut [
GlyphId
], &mut [
RSXform
])
Source
pub fn
alloc_run_text
( &mut self, font: &
Font
, count:
usize
, offset: impl
Into
<
Point
>, text_byte_count:
usize
, bounds:
Option
<&
Rect
>, ) -> (&mut [
GlyphId
], &mut [
u8
], &mut [
u32
])
Source
pub fn
alloc_run_text_pos_h
( &mut self, font: &
Font
, count:
usize
, y:
scalar
, text_byte_count:
usize
, bounds:
Option
<&
Rect
>, ) -> (&mut [
GlyphId
], &mut [
scalar
], &mut [
u8
], &mut [
u32
])
Source
pub fn
alloc_run_text_pos
( &mut self, font: &
Font
, count:
usize
, text_byte_count:
usize
, bounds:
Option
<&
Rect
>, ) -> (&mut [
GlyphId
], &mut [
Point
], &mut [
u8
], &mut [
u32
])
Source
pub fn
alloc_run_text_rsxform
( &mut self, font: &
Font
, count:
usize
, text_byte_count:
usize
, bounds:
Option
<&
Rect
>, ) -> (&mut [
GlyphId
], &mut [
RSXform
], &mut [
u8
], &mut [
u32
])
Trait Implementations
§
Source
§
impl
Debug
for
TextBlobBuilder
Source
§
fn
fmt
(&self, f: &mut
Formatter
<'_>) ->
Result
Formats the value using the given formatter.
Read more
Source
§
impl
Send
for
TextBlobBuilder
Source
§
impl
Sync
for
TextBlobBuilder