# BitmapCacheProps

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-view/generated/builders/trait-bitmapcacheprops/

**trait** · [`ferroui-view`](/docs/0.5.0/api/ferroui-view/) · v0.5.0

```rust
trait BitmapCacheProps: ElementBuilder
```

The properties and routed events of `BitmapCache`.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.View/generated/builders.rs#L2427)

## Members

- [`render_at_scale`](#function-render_at_scale)
- [`snaps_to_device_pixels`](#function-snaps_to_device_pixels)
- [`enable_clear_type`](#function-enable_clear_type)

<a id="function-render_at_scale"></a>

### render_at_scale

```rust
fn render_at_scale<M>(self: Self, value: impl IntoProp<f64, M>) -> Self
```

Sets `BitmapCache::render_at_scale_property`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.View/generated/builders.rs#L2429)

<a id="function-snaps_to_device_pixels"></a>

### snaps_to_device_pixels

```rust
fn snaps_to_device_pixels<M>(self: Self, value: impl IntoProp<bool, M>) -> Self
```

Sets `BitmapCache::snaps_to_device_pixels_property`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.View/generated/builders.rs#L2434)

<a id="function-enable_clear_type"></a>

### enable_clear_type

```rust
fn enable_clear_type<M>(self: Self, value: impl IntoProp<bool, M>) -> Self
```

Sets `BitmapCache::enable_clear_type_property`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.View/generated/builders.rs#L2439)

## Trait implementations

- [`BitmapCacheProps`](/docs/0.5.0/api/ferroui-view/generated/builders/trait-bitmapcacheprops/)

## Availability

Extracted for `aarch64-apple-darwin`. Cargo features are listed in the [crate index](/docs/0.5.0/api/).
